/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #1e293b;
    --accent-color: #f59e0b;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #020f31 0%, #020c2e 50%, #011027 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: var(--white);
}

.site-header.scrolled .logo,
.site-header.scrolled .logo span,
.site-header.scrolled .nav-links a,
.site-header.scrolled .hamburger {
    color: var(--text-dark);
}

.site-header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: var(--text-dark) !important;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
}

/* Nested Dropdown */
.nested-dropdown {
    position: relative;
}

.nested-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.25rem 0;
    z-index: 1002;
    max-height: 250px;
    overflow-y: auto;
    margin-left: 5px;
}

.nested-dropdown:hover .nested-menu,
.nested-dropdown.active .nested-menu {
    opacity: 1;
    visibility: hidden;
    transform: translateX(0);
}

@media (min-width: 769px) {
    .nested-dropdown:hover .nested-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

.nested-menu li {
    padding: 0;
}

.nested-menu a {
    color: var(--text-dark) !important;
    padding: 0.4rem 1.2rem;
    display: block;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.nested-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger.active i::before {
    content: "\f00d";
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(5, 22, 68, 0.815);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(30, 58, 138, 0.9);
}

/*about section*/
/* FEATURES GRID */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Feature Card */

.feature-item {
    background: #f2f2f2; /* light gray */
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Icon */

.feature-item i {
    color: #1e88e5;
    font-size: 20px;
}

/* Text */

.feature-item span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Hover Effect */

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    background: #ffffff;
}


/* Programs Section */
.programs {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.programs h2, .testimonials h2, .cta h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: #2563eb;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-text h2 .text-blue {
    color: #2563eb;
}

.about-text > p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.highlight-icon i {
    color: #2563eb;
    font-size: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.testimonial-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item p {
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #020f31 0%, #020c2e 50%, #011027 100%);
        max-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 80vh;
    }
    
    .nav-links {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        /* background: rgba(255,255,255,0.1); */
        background: linear-gradient(135deg, #020f31 0%, #020c2e 50%, #011027 100%);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0 !important;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 600px;
    }
    
    .dropdown-menu a {
        color: var(--white) !important;
        padding: 0.75rem 3rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    /* Mobile Nested Dropdown */
    .nested-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
        margin-left: 0 !important;
        padding: 0;
    }
    
    .nested-dropdown.active .nested-menu {
        max-height: 400px;
        transition: max-height 0.2s ease;
    }
    
    .nested-menu a {
        color: var(--white) !important;
        padding: 0.6rem 4rem;
        font-size: 0.85rem;
    }
    
    .nested-menu a:hover {
        background: rgba(255,255,255,0.05);
    }
    
    .cta-button {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .programs h2, .testimonials h2, .cta h2, .about-text h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}


/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.contact-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Contact Section Two Column Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.contact-form button {
    width: auto;
    min-width: 200px;
    border: none;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Technology Cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Internship Page Styles */
.course-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/mobile.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.course-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.course-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.internship-courses {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.internship-courses h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.course-icon i {
    font-size: 2rem;
    color: var(--white);
}

.course-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.course-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-features {
    list-style: none;
    padding: 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features i {
    color: #10b981;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.tech-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tech-card i {
    font-size: 2.5rem;
}

.tech-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

/* Select Dropdown Styling */
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select option {
    padding: 0.5rem;
}

/* Mobile Enroll Button */
.mobile-enroll {
    display: none;
}

@media (max-width: 768px) {
    .mobile-enroll {
        display: block;
    }
    
    .mobile-enroll a {
        background-color: var(--accent-color);
        margin: 0.5rem 1rem;
        border-radius: 8px;
        text-align: center;
    }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .programs, .testimonials, .contact-section, .cta {
        padding: 3rem 0;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-card {
        padding: 1rem;
    }
    
    .tech-card i {
        font-size: 2rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .programs h2, .testimonials h2, .cta h2, .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo span {
        display: none;
    }
}

/* Mobile UI Fixes */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem 0;
        position: relative;
    }
    
    .logo {
        font-size: 1.2rem;
        z-index: 1001;
    }
    
    .logo span {
        display: inline-block !important;
        font-size: 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hamburger {
        z-index: 1001;
        position: relative;
    }
    
    .mobile-enroll a {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        margin: 0.5rem 1rem;
    }
    
    /* Instant nested menu display on mobile */
    .nested-dropdown > a {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .nested-menu {
        will-change: max-height;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .logo span {
        font-size: 0.9rem !important;
    }
    
    .logo img {
        height: 30px;
    }
}

/* Fix navigation link colors on all pages */
@media (max-width: 768px) {
    .nav-links a {
        color: var(--white) !important;
    }
    
    .site-header.scrolled .nav-links a {
        color: var(--white) !important;
    }
    
    .site-header.scrolled .nav-links a:hover {
        color: var(--accent-color) !important;
    }
}
