 /* Base Styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
}

section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #1a365d;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3182ce;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #1a365d;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #1a365d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3182ce;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3182ce;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Button Styles with Animation */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.4);
}

.btn-secondary::before {
    background: linear-gradient(135deg, #38b2ac 0%, #4fd1c5 100%);
}

/* Hero Section */
#home {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1, .hero-content p {
    color: white;
    margin-bottom: 30px;
}

.hero-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

/* Education Info Section */
#education-info {
    background: linear-gradient(135deg, #f9f9f9 0%, #e6e9f0 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 3rem;
    color: #3182ce;
    margin-bottom: 20px;
}

/* Courses Section */
#courses {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.course-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #3182ce;
    color: #3182ce;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #3182ce;
    color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.course-img {
    height: 200px;
    
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center; 
    
}

.course-img img {
    max-width: 100%;
    max-height: 100%;
}

.course-content {
    padding: 20px;
}

.course-tag {
    display: inline-block;
    background: #e6f7ff;
    color: #3182ce;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* AI Learning Section */
#ai-learning {
    background: linear-gradient(135deg, #d1fdff 0%, #9890e3 100%);
}

.ai-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.ai-step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.ai-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #3182ce;
    border-right: 2px solid #3182ce;
    transform: rotate(45deg);
}

.ai-step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ai-step-icon i {
    font-size: 2rem;
    color: #3182ce;
}

/* About Us Section */
#about-us {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.team-grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
    justify-content: space-around;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    height: 250px;
    background: #f0f4f8;
}
.team-member .member-img {
    /* width: 180px;  Adjust width as needed */
    height: 220px; /* Adjust height for a rectangular shape */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Fallback background */
}

.team-member .member-img img {
    width: 100%;
    height: 100%;
    justify-content: center;
    object-fit: contain; /* Ensures the image covers the space properly */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.team-member .member-img img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}



.member-info {
    padding: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #3182ce;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3182ce;
    color: white;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #8ec5fc 0%, #e0c3fc 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #3182ce;
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #3182ce;
}

.contact-map {
    margin-top: 30px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background: #1a365d;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3182ce;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-animation {
        width: 40%;
    }
    
    .info-grid, .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-animation {
        display: none;
    }
    
    .ai-process {
        flex-direction: column;
    }
    
    .ai-step {
        margin-bottom: 30px;
    }
    
    .ai-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 15px;
    }
    
    .courses-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}