
:root {
            --primary: #2c5aa0;
            --secondary: #f5a623;
            --dark: #333;
            --light: #f9f9f9;
            --gray: #777;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark);
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        header {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        /* Hero Section */
        .training-hero {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
            height: 50vh;
            display: flex;
            align-items: center;
            color: white;
            text-align: center;
            margin-top: 80px;
        }
        
        .training-hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .training-hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        /* Training Programs Section */
        .training-section {
            padding: 8% 2%;
            background: #f8f9fa;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        .train h2{
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            /* color: var(--primary); */
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: var(--gray);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .training-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .training-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .training-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .training-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .training-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .training-card:hover .training-img img {
            transform: scale(1.1);
        }
        
        .training-category {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--secondary);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .training-content {
                padding: 25px 25px 5px;
            position: relative;
        }
        
        .training-content h3 {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .training-content p {
            color: var(--gray);
            /* margin-bottom: 20px; */
        }
        
        .training-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
        
        .training-link {
            display: inline-block;
            padding: 10px 20px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .training-link:hover {
            background: var(--secondary);
        }
        
        /* Hover overlay effect (same as PIE Technologies) */
        /* .training-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(44, 90, 160, 0.9);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 25px;
            opacity: 0;
            transition: all 0.3s ease;
        } */
        
        /* .training-card:hover .training-overlay {
            opacity: 1;
        } */
        
        /* .training-overlay h3 {
            color: white;
            margin-bottom: 15px;
        }
        
        .training-overlay ul {
            list-style: none;
            margin-bottom: 20px;
        }
        
        .training-overlay ul li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 20px;
        }
        
        .training-overlay ul li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-size: 1.2rem;
        } */
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .training-hero h1 {
                font-size: 2.5rem;
            }
            
            .training-grid {
                grid-template-columns: 1fr;
            }
        }




.train {
    padding: 9% 4% 0px;
    background: #f8f9fa;
    h2{
        font-size: 40px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-content {
    display: flex;
    height: 100%;
}

.card-image {
    /* flex: 1; */
    width: 40%;
    overflow: hidden;
    text-align: center;
    align-content: center;
    p{
        text-align: center;
        font-size: 1.2rem;
    }
}

.card-image img {
        height: 4rem;
    width: 4rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-text {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-text h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.card-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.card-text ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f5a623;
    font-size: 1.5rem;
    line-height: 1;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    /* align-self: flex-start; */
}

.btn:hover {
    background: #f5a623;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card-content {
        flex-direction: column;
        align-items: center;
        .card-text h3{
            text-align: center;
        }
    }
    
    .card-image {
        height: 200px;
    }
}
