/* --- NEW LANDING PAGE STYLES (Light Theme) --- */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #000676; /* Deep Navy Blue */
    --text-secondary: #4a5568;
    --accent: #FF9900;
    --accent-hover: #e68a00;
    --navy-bg: #000676;
    --navy-light: #001242;
    --shadow-soft: 0 4px 20px rgba(0, 10, 42, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 10, 42, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body.light-theme {
    font-family: var(--font-main);
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    overflow-x: hidden;
    padding-left: 0 !important;
}

/* Remove aurora/gradient overlay from dark theme on landing page */
body.light-theme::before,
body.light-theme::after {
    display: none !important;
}

section, footer, .hero-section {
    position: relative;
    z-index: 10;
}

.container {
    position: relative;
    z-index: 2;
}

.accordion-collapse {
    visibility: visible !important;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
    color: var(--text-primary) !important;
    letter-spacing: 0.5px;
}

p, span, li {
    color: var(--text-secondary);
}

.text-navy {
    color: var(--text-primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-navy {
    background-color: var(--navy-bg) !important;
    color: #ffffff !important;
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6 {
    color: #ffffff !important;
}
.bg-navy p, .bg-navy span, .bg-navy li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--accent);
    color: #fff !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 157, 0, 0.3);
}
.btn-primary-custom:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 157, 0, 0.4);
}

.btn-secondary-ghost {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary-ghost:hover {
    background: #fff;
    color: var(--text-primary) !important;
}

.btn-outline-navy {
    color: var(--text-primary) !important;
    border: 1px solid var(--text-primary);
    transition: all 0.3s ease;
}
.btn-outline-navy:hover {
    background: var(--text-primary);
    color: #ffffff !important;
}

/* --- HEADER --- */
.header-nav {
    background: var(--navy-bg);
    border-bottom: none;
    transition: all 0.3s ease;
    z-index: 1040;
    box-shadow: var(--shadow-soft);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
}
.header-nav .brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff !important;
    transition: color 0.3s;
}
.header-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.header-nav .nav-link:hover, .header-nav .nav-link.active {
    color: var(--accent) !important;
}
.logo-img {
    transition: filter 0.3s;
}

.header-nav.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: var(--shadow-hover);
}

.header-nav .btn-outline-lang {
    color: #fff !important;
    border-color: #fff !important;
}
.header-nav.scrolled .btn-outline-lang {
    color: #fff !important;
    border-color: #fff !important;
}

.header-nav .btn-login {
    color: #fff !important;
    border: 2px solid #fff;
    background: transparent;
}
.header-nav.scrolled .btn-login {
    color: #fff !important;
    border: 2px solid #fff;
}

/* --- DROPDOWN MENU --- */
.header-nav .dropdown-menu {
    background-color: var(--navy-bg);
    border: 1px solid rgba(255,255,255,0.1);
}
.header-nav .dropdown-item {
    color: #ffffff;
    transition: all 0.3s ease;
}
.header-nav .dropdown-item:hover, .header-nav .dropdown-item:focus {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent);
}

/* --- HERO SECTION --- */
.hero-pin-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0;
    margin-top: 80px;
    margin-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../../fon.jpg') no-repeat center center;
    background-size: cover;
    z-index: 0;
    border-radius: 0;
    filter: brightness(0.6);
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    z-index: 2;
    padding: 0 2rem;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text-container {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
}

.hero-image-container-dynamic {
    flex: 0 0 auto;
    width: 40%;
    max-width: 520px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-image-container-dynamic .position-relative {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image-container-dynamic .img-fluid {
    height: 100%;
    width: auto;
    max-height: none !important;
    object-fit: contain;
    object-position: center bottom;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}
.hero-title span {
    color: #ffffff !important;
}
.hero-title span.text-accent {
    color: var(--accent) !important;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* --- CARDS --- */
.light-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 10, 42, 0.05);
    transition: all 0.3s ease;
    padding: 2rem;
    height: 100%;
}
.light-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 157, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--navy-bg);
}

/* --- SERVICES & PRICING --- */
.bg-secondary-section {
    background-color: var(--bg-secondary);
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 40px rgba(255, 157, 0, 0.15);
}
.pricing-card:hover {
    box-shadow: var(--shadow-hover);
}

/* --- FAQ ACCORDION --- */
.light-accordion .accordion-item {
    background: var(--bg-primary);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.light-accordion .accordion-button {
    background: var(--bg-primary);
    color: var(--text-primary) !important;
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}
.light-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(255, 157, 0, 0.05);
    color: var(--accent) !important;
}
.light-accordion .accordion-button::after {
    filter: none;
}
.light-accordion .accordion-body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --- STUDENT RESULTS CAROUSEL --- */
.results-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}
.results-carousel {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    padding: 10px 0;
}
.results-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}
.result-item {
    flex: 0 0 calc(25% - 15px);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    height: 450px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 991px) {
    .result-item { flex: 0 0 calc(33.333% - 13.33px); height: 400px; }
}
@media (max-width: 768px) {
    .result-item { flex: 0 0 calc(50% - 10px); height: 350px; }
    .results-carousel-wrapper { padding: 0 40px; }
    .pricing-card.featured {
        transform: scale(1);
    }
}
@media (max-width: 576px) {
    .result-item { flex: 0 0 100%; height: 350px; }
}
.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}
.result-item:hover .result-img {
    transform: scale(1.03);
}
.result-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 6, 118, 0.3);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.result-item:hover .result-overlay {
    opacity: 1;
}
.result-overlay i {
    color: #fff;
    font-size: 3rem;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.result-item:hover .result-overlay i {
    transform: scale(1);
}
.res-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}
.res-nav-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.res-nav-btn#resPrev { left: 0; }
.res-nav-btn#resNext { right: 0; }

/* --- LIGHTBOX --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 6, 118, 0.85); /* Navy transparent */
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
}
.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-pin-wrapper {
        height: auto;
        padding: 0;
        margin-top: 0;
    }
    .hero-section {
        min-height: auto;
        margin-top: 70px;
        margin-bottom: 40px;
        border-radius: 0;
    }
    .hero-bg {
        border-radius: 0;
    }
    .hero-content-wrapper {
        flex-direction: column-reverse;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        align-items: center;
    }
    .hero-text-container {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 0 2rem 0;
    }
    .hero-image-container-dynamic {
        width: 70%;
        max-width: 300px;
        align-self: center;
    }
    .hero-image-container-dynamic .img-fluid {
        height: auto;
        width: 100%;
        max-height: 350px !important;
    }
    .hero-text-container .hero-subtitle {
        margin: 0 auto;
    }
    .hero-text-container .hero-buttons {
        justify-content: center !important;
    }
    .navbar-collapse {
        background: var(--navy-bg);
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-hover);
        margin-top: 15px;
    }
    .navbar-collapse .nav-link, .navbar-collapse .brand-text {
        color: #fff !important;
    }
    .navbar-collapse .btn-outline-lang {
        color: #fff !important;
        border-color: #fff !important;
    }
    .navbar-collapse .btn-login {
        color: #fff !important;
        border-color: #fff !important;
    }
    .glass-badge {
        right: 10px !important;
        bottom: 2rem !important;
        transform: scale(0.85);
        transform-origin: bottom right;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section {
        border-radius: 0;
    }
    .hero-bg {
        border-radius: 0;
    }
    .glass-badge {
        right: 0 !important;
        bottom: 1rem !important;
        transform: scale(0.7);
        transform-origin: bottom right;
    }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background: linear-gradient(160deg, #000a2e 0%, #000676 50%, #0d1540 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,153,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 0 60px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 320px;
    max-width: 380px;
    margin: 0 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,153,0,0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 153, 0, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.testimonial-card:hover::before { opacity: 1; }

.tc-quote-icon {
    color: var(--accent);
    font-size: 1.4rem;
    opacity: 0.4;
    margin-bottom: 0.6rem;
}

.tc-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 70px;
    font-style: italic;
}

.tc-stars {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.tc-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 1.2rem;
    border-radius: 2px;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9900, #cc7a00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tc-name {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.tc-role {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.8rem;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tc-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}
.tc-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tc-dots {
    display: flex;
    gap: 6px;
}
.tc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}
.tc-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 991.98px) {
    .testimonial-card { 
        min-width: 300px; 
    }
}
@media (max-width: 768px) {
    .testimonial-card { 
        min-width: 280px;
        max-width: 85vw;
        margin: 0 8px; 
        padding: 1.5rem 1.2rem;
    }
    .tc-text { min-height: auto; }
}

/* --- FAQ + IZOHLAR SIDE BY SIDE --- */
.faq-izohlar-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.izohlar-column {
    flex: 0 0 35%;
    max-width: 35%;
}
.faq-column {
    flex: 0 0 calc(65% - 2rem);
    max-width: calc(65% - 2rem);
}
.izoh-card {
    background: var(--bg-primary);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.izoh-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.izoh-card .izoh-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.7rem;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.izoh-card .izoh-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.izoh-card .izoh-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF9900, #cc7a00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.izoh-card .izoh-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.izoh-card .izoh-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.izoh-card .izoh-stars {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.izohlar-scroll {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}
.izohlar-scroll::-webkit-scrollbar {
    width: 4px;
}
.izohlar-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.izohlar-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 4px;
}
@media (max-width: 991.98px) {
    .faq-izohlar-row {
        flex-direction: column;
    }
    .izohlar-column,
    .faq-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .faq-column {
        order: 1;
    }
    .izohlar-column {
        order: 2;
        margin-top: 2rem;
    }
    .izohlar-scroll {
        max-height: 400px;
    }
}

/* --- ADDRESSES SECTION --- */
.addresses-section {
    background: linear-gradient(160deg, #000a2e 0%, #000676 50%, #0d1540 100%);
    position: relative;
    overflow: hidden;
}
.addresses-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,153,0,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.address-branch-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}
.address-branch-card:hover {
    border-color: rgba(255,153,0,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.address-branch-card h5 {
    color: #fff !important;
    font-weight: 700;
}
.address-branch-card .address-detail {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.address-branch-card .address-landmark {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}
.address-map-frame {
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    margin-top: 1rem;
}
.address-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- COMPACT FOOTER --- */
.footer-compact {
    padding: 2rem 0 !important;
}
.footer-compact .container {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
}
.footer-compact .row.gy-4 {
    --bs-gutter-y: 1rem;
}
