/* Modern Professional Homepage Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.homepage {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ====================== NAVIGATION ====================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    height: 90px;
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    height: auto;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top:-1.3rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.brand-logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.3));
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.4));
}

/* NAVIGATION MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 2;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-link {
    background: none;
    border: none;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 85%;
}

.nav-cta {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.mobile-menu-toggle:hover {
    background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1e40af;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================== HERO SECTION WITH CAROUSEL ====================== */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
    min-height: 600px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    transform: translateX(100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-highlight {
    color: #fbbf24;
    display: block;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* BUTTON STYLES */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.3);
}

/* HERO VISUAL */
.hero-image {
    display: block;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    font-size: 2.5rem;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 15%;
    animation-delay: 2.5s;
}

.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CAROUSEL INDICATORS */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    border-color: white;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* ====================== SECTIONS ====================== */
.investment-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e40af;
    padding: 3rem 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.3rem;
    font-weight: 600;
}

.services-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 30px 0;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ENGLISH LAB SECTION - INTERACTIVE TABS */
.english-lab-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

.english-lab-section .section-title {
    color: #1e40af;
    text-align: center;
}

.english-lab-section .section-subtitle {
    color: #64748b;
    text-align: center;
    font-size: 1.3rem;
}

.english-lab-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.lab-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.lab-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
}

.lab-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lab-tab.active::before {
    transform: scaleX(1);
}

.lab-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.lab-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #1e40af;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.tab-icon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.lab-tab span {
    font-weight: 600;
    font-size: 1.1rem;
}

.lab-content {
    position: relative;
    min-height: 400px;
}

.lab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.lab-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.panel-content {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.panel-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(10px);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-item span:last-child {
    color: #475569;
    font-weight: 500;
}

.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    font-size: 6rem;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.lab-cta {
    text-align: center;
    margin-top: 3rem;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* WHY CHOOSE US SECTION */
.why-choose-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.why-choose-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.reason-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.reason-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.2);
    border-color: #1e40af;
}

.reason-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.reason-card p {
    color: #64748b;
    font-size: 1rem;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
    color: white;
    padding: 60px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 40px 0;
}

.footer-section h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(96, 165, 250, 0.3));
}

.footer-brand-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand-text p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-links button {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    family: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-bottom-links a:hover {
    color: #60a5fa;
}

/* UTILITIES */
.me-2 {
    margin-right: 0.5rem;
}

.hide-sm-mobile {
    display: block;
}
.footer-tag-line {
    border:1px solid #fff;
    border-top: none;
    border-right: none;
    border-left: none;
    margin-bottom: 1rem;
    width: fit-content;
    margin-top:-1.2rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-container {
        width: 100%;
    }

    .nav-menu {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        justify-content: flex-start;
    }

    .nav-menu.nav-menu-open {
        max-height: 400px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
        padding: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hide-sm-mobile {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel-content {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }

    .lab-tabs {
        gap: 1rem;
    }

    .lab-tab {
        min-width: 100px;
        padding: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar {
        height: 70px;
    }

    .navbar.navbar-scrolled {
        height: auto;
    }

    .nav-brand {
        gap: 1rem;
    }

    .brand-logo {
        height: 60px;
    }

    .hero-section {
        margin-top: 70px;
        min-height: 400px;
    }

    .hero-slider {
        height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .lab-tabs {
        flex-wrap: wrap;
    }

    .lab-tab {
        min-width: auto;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        gap: 1rem;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

