/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --deep-blue: #1e293b;
    --light-bg: #f8fafc;
    --primary-blue: #2563eb;
    --accent-green: #22c55e;
    --accent-purple: #a21caf;
    --accent-orange: #f59e42;
    --accent-gold: #fbbf24;
    --light-blue: #e0f7fa;
    --light-green: #f0f7ff;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--deep-blue);
    overflow-x: hidden;
    background: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    min-height: 70px;
}



.nav-logo a {
    display: block;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
    max-width: 100%;
    background: transparent;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.5rem;
    filter: hue-rotate(30deg) saturate(1.5);
}

.logo-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.logo-academy {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1;
    margin-top: -0.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.register-link {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Reduced padding to minimize empty space */
}

.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    color: white;
    z-index: 3;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.slide-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.slide-title .highlight {
    color: #fbbf24;
}

.slide-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.slide-stats {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.slide-cta {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    flex-wrap: wrap;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.slide-cta .btn {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.slide-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.slide-features {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1rem;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.placeholder-text {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.placeholder-text i {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.placeholder-text span {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.placeholder-text small {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    opacity: 0.7;
}

/* Theme-specific styling */
.stem-education {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.robotics {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.game-dev {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

/* New Slide Visual Styles */
.slide-visual {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slide-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.slide-visual:hover .slide-background-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.slide-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}



.visual-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.visual-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 300px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}





/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 1rem;
}

.slider-arrow.next {
    right: 1rem;
}



/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: 2rem;
    padding: 0.7em 1.6em;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.3em;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    padding: 0.7em 1.6em;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.3em;
    display: inline-block;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: rgba(255, 255, 255, 1);
    color: #1e293b !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Updated Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.course-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card-blue {
    border-left: 4px solid #2563eb;
}

.course-card-green {
    border-left: 4px solid #22c55e;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.course-card-green .course-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.course-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.course-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.course-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 1rem 0;
}

.course-highlights,
.course-outcomes {
    list-style: none;
    padding: 0;
}

.course-highlights li,
.course-outcomes li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #475569;
}

.course-highlights li i,
.course-outcomes li i {
    color: #2563eb;
    font-size: 1rem;
    width: 20px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #475569;
}

.highlight-item i {
    color: #22c55e;
    font-size: 1.2rem;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.contact-item:hover::before {
    transform: scaleX(1.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.contact-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    word-break: break-word;
    hyphens: auto;
}

.contact-text {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    word-break: keep-all;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.contact-note {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1.1rem;
}

.contact-link:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #22c55e;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    background: transparent;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Prevent horizontal overflow */
    .hero-slider,
    .slider-container,
    .slide {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .nav-container {
        height: 80px;
        min-height: 80px;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .nav-logo img {
        height: 50px;
        object-fit: contain;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .register-link {
        margin: 0.5rem 1rem;
        display: inline-block;
        width: calc(100% - 2rem);
        max-width: 200px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-slider {
        padding-top: 20px;
    }
    
    .slide {
        padding: 0;
        min-height: calc(100vh - 80px); /* Account for navbar */
        overflow-y: auto;
    }

    .slide-content {
        padding: clamp(1rem, 4vw, 2rem);
        max-width: 100%;
        align-items: center;
    }

    .hero-cta {
        left: 2rem;
        bottom: 4rem;
    }

    .slide-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .slide-stats {
        flex-direction: column;
        gap: clamp(0.75rem, 2vw, 1rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
    }

    .slide-cta {
        flex-direction: column;
        align-items: center;
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        width: 100%;
        max-width: 300px;
        bottom: 1.5rem;
    }
    
    .contact-info {
        max-width: 100%;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        min-width: 0;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .contact-text {
        font-size: 1.1rem;
        word-break: keep-all;
        white-space: normal;
    }
    
    .contact-link {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    .slide-features {
        align-items: center;
    }



    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }

    .slide-image {
        padding: 0;
        width: 100%;
        height: 100%;
    }
    
    .image-placeholder {
        height: 100%;
    }
    
    .placeholder-text {
        padding: clamp(0.5rem, 2vw, 1rem);
    }
    
    .placeholder-text i {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        justify-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-text {
        font-size: 1.2rem;
    }
    
    .contact-link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

        .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo img {
        margin: 0 auto;
        height: 50px;
    }
    
    /* Potential cards tablet styles */
    .potential-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        justify-items: center;
    }
    
    .potential-card {
        border-radius: 1.25rem;
    }
    
    .potential-image {
        height: 200px;
    }
    
    .potential-icon i {
        font-size: 3.5rem;
    }
    
    .potential-content {
        padding: 1.75rem;
    }
    
    .potential-content h4 {
        font-size: 1.3rem;
    }
    
    .heading-accent {
        font-size: 1.75rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        justify-items: center;
    }
    
    .reason-item {
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        padding-top: 10px;
    }
    
    /* Additional mobile optimizations */
    .slide {
        padding: 0;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-image {
        height: 100%;
    }
    
    /* Potential cards mobile styles */
    .potential-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
        justify-items: center;
    }
    
    .potential-card {
        border-radius: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .potential-image {
        height: 180px;
    }
    
    .potential-icon {
        padding: 1.5rem;
    }
    
    .potential-icon i {
        font-size: 3rem;
    }
    
    .potential-img {
        padding: 1.5rem;
    }
    
    .potential-content {
        padding: 1.5rem;
    }
    
    .potential-content h4 {
        font-size: 1.2rem;
        padding-left: 0.75rem;
    }
    
    .potential-content h4::before {
        width: 3px;
        height: 1.2rem;
    }
    
    .potential-content p {
        font-size: 0.9rem;
    }
    
    .heading-accent {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .potential-overlay i {
        font-size: 2.5rem;
    }
    
    .slide {
        padding: clamp(0.5rem, 3vw, 1rem);
        min-height: calc(100vh - 70px);
    }
    
    .slide-title {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        line-height: 1.3;
    }

    .slide-subtitle {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }
    
    .slide-badge {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        padding: clamp(0.3rem, 2vw, 0.4rem) clamp(0.6rem, 2vw, 0.8rem);
    }
    
    .slide-stats {
        gap: clamp(0.5rem, 2vw, 1rem);
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }
    
    .slide-cta {
        gap: clamp(0.25rem, 1.5vw, 0.5rem);
        width: 100%;
        max-width: 200px;
        bottom: 1rem;
    }

    .slide-cta .btn {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .slide-image {
        padding: clamp(0.3rem, 1.5vw, 0.5rem);
        min-height: 50vh;
    }
    
    .slide-visual {
        min-height: 250px;
        width: 100%;
    }

    .slide-overlay {
        padding: 1rem;
    }
    

    
    .visual-content h3 {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
    
    .visual-content p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        max-width: 250px;
    }
    
    .image-placeholder {
        height: 100%;
    }
    
    .placeholder-text {
        padding: clamp(0.3rem, 1.5vw, 0.5rem);
    }
    
    .placeholder-text i {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
}

    .course-card {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .reasons-grid {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .reason-item {
        padding: 1.25rem;
    }
    
    .course-cta {
        margin-top: 1.5rem;
        padding: 0.75rem;
    }
    
    .footer-logo img {
        height: 45px;
    }

    .contact-details {
        padding: 1.5rem;
    }
    
    .contact-info {
    flex-direction: column;
    align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Utility Classes */
.bg-light {
    background: #f8fafc;
}

.bg-accent {
    background: linear-gradient(135deg, #e0f7fa 0%, #f0f7ff 100%);
}

.section {
    padding: 80px 0;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.heading-blue {
    color: #2563eb;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: #64748b;
}

.potential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.potential-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transform: translateY(0);
}

.potential-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.potential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.potential-card:hover::before {
    transform: scaleX(1.1);
}

.potential-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(34, 197, 94, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
}

.potential-card:hover .potential-image {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(34, 197, 94, 0.18) 100%);
}

.potential-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    transition: all 0.4s ease;
}

.potential-icon i {
    font-size: 4rem;
    color: #2563eb;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
}

.potential-card:hover .potential-icon i {
    transform: scale(1.1);
    color: #1d4ed8;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
}

/* Keep the old img styles for backward compatibility */
.potential-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transform: scale(1);
}

.potential-card:hover .potential-img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.potential-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(34, 197, 94, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    transform: scale(0.95);
}

.potential-overlay i {
    font-size: 3.5rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.potential-card:hover .potential-overlay {
    opacity: 1;
    transform: scale(1);
}

.potential-card:hover .potential-overlay i {
    transform: scale(1.1);
}

.potential-content {
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    transition: all 0.4s ease;
}

.potential-card:hover .potential-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.potential-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.potential-card:hover .potential-content h4 {
    color: #0f172a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.potential-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.potential-card:hover .potential-content h4::before {
    width: 6px;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

.potential-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.potential-card:hover .potential-content p {
    color: #475569;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 1);
}

/* Enhanced heading for the potential section */
.heading-accent {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 3rem 0 2rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.heading-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    border-radius: 2px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-3px);
}

.reason-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.reason-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.reason-content p {
    color: #64748b;
    line-height: 1.6;
}

.course-ribbon {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f7fa 100%);
    border-left: 4px solid #22c55e;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}
    
.ribbon-icon {
    font-size: 1.5rem;
}

/* Mission Card Styles */
.mission-card {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08);
    padding: 2.5rem 2rem;
    background: #f0f7ff;
    border-radius: 1.5rem;
}

.mission-header {
    margin-bottom: 2rem;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.mission-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.mission-quote {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
    margin: 1.5rem 0 0.5rem 0;
}

.highlight-blue {
    color: #2563eb;
    font-size: 1.3rem;
    font-weight: 700;
}

.highlight-green {
    color: #22c55e;
    font-weight: 600;
}

.highlight-purple {
    color: #a21caf;
    font-weight: 600;
}

.highlight-orange {
    color: #f59e42;
    font-weight: 600;
}

.mission-statement {
    display: block;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.2rem;
}

.mission-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.mission-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mission-features .feature-item i {
    color: #22c55e;
    font-size: 1rem;
}

/* Stat Item Styles */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
    display: block;
    }
    
.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Staff Profiles Styles */
.page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding: 6rem 0 3rem 0;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.staff-profiles {
    padding: 4rem 0;
    background: #f8fafc;
}

.staff-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.staff-intro h2 {
        font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.staff-intro p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.staff-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f7fa 100%);
}

.staff-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
}

.staff-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.staff-content {
    padding: 2rem;
}

.staff-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.staff-title {
    font-size: 1.1rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.staff-bio {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}





.staff-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.staff-link:hover {
    color: #1d4ed8;
}

.staff-highlights {
    text-align: center;
    margin: 3rem 0;
}

.staff-highlights h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.highlight-item span {
    font-weight: 600;
    color: #1e293b;
}



/* Responsive adjustments for staff profiles */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .staff-intro h2 {
        font-size: 2rem;
    }
    
    .staff-card {
        margin: 0 1rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.location-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.location-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.location-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.location-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #475569;
}

.detail-item i {
    color: #2563eb;
    font-size: 1rem;
    width: 20px;
}

/* Responsive adjustments for locations */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .location-header h3 {
        font-size: 1.3rem;
    }
} 