/* 
  Theme: British Council Landing Page 
  Goal: Conversion Optimized, Clean, Trustworthy
  Author: Antigravity
*/

html {
    scroll-behavior: smooth;
}

:root {
    /* Color Palette - British Flag (Union Jack) */
    --primary-blue: #00247d;
    /* Union Jack Blue */
    --primary-red: #cf142b;
    /* Union Jack Red */
    --accent-blue: #1e3a8a;
    --cta-main: var(--primary-red);
    /* Primary conversion color is now red */
    --cta-hover: #a51022;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --error: #EF4444;

    /* Histudy Theme Accents */
    --purple-histudy: #6366f1;
    /* From uploaded image reference */
    --histudy-bg: #f5f5f5;

    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
}

.header-spacer {
    height: 135px;
}

@media (max-width: 991px) {
    :root {
        --section-padding: 3rem 0;
    }

    .header-spacer {
        height: 80px !important;
    }
}

/* Reset & Base */
/* Global Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Children Reveal */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

/* Modern Rotating Text */
.text-rotate {
    display: inline-block;
    color: var(--primary-red);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding-bottom: 5px;
}

.text-rotate::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.hero-main-title .text-rotate::after {
    width: 100%;
}

/* Why Us Section - Modern Image-Based Design */
.why-us-modern {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(207, 20, 43, 0.1) 0%, rgba(0, 36, 125, 0.05) 100%);
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

.values-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-image-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.value-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.value-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.value-image-card:hover .value-image-wrapper img {
    transform: scale(1.1);
}

.value-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 36, 125, 0.95) 0%, rgba(0, 36, 125, 0.7) 60%, transparent 100%);
    padding: 2.5rem 2rem;
    color: white;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-image-card:hover .value-overlay {
    background: linear-gradient(to top, rgba(207, 20, 43, 0.95) 0%, rgba(207, 20, 43, 0.8) 60%, transparent 100%);
}

.value-icon-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.value-image-card:hover .value-icon-badge {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg) scale(1.1);
}

.value-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.value-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .values-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .values-image-grid {
        grid-template-columns: 1fr;
    }

    .value-overlay {
        padding: 2rem 1.5rem;
    }
}

/* Hero Section - Modern Animated */
.hero-histudy {
    position: relative;
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    overflow: hidden;
}

.hero-shape-overlay {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 36, 125, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-flex-layout {
    display: flex;
    align-items: center !important;
    justify-content: center;
    gap: 3rem;
    min-height: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-rotate {
    color: var(--primary-red);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.badge-best {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(207, 20, 43, 0.1);
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 50px;
    text-transform: uppercase;
}

.hero-brand-logo-featured {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: block;
}

.brand-logo-xl {
    height: 90px !important;
    max-height: 90px !important;
    min-height: 90px !important;
    width: auto;
    object-fit: contain;
    transition: filter 0.5s ease;
}

.logo-pulse-effect {}



.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    /* Stack vertically as requested */
    align-items: flex-start;
    gap: 0.5rem;
}

.trust-item img {
    height: 40px;
    width: auto;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 36, 125, 0.15);
    border: 1px solid rgba(0, 36, 125, 0.05);
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-footer-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-flex-layout {
        flex-direction: column;
    }
}

/* Education Section Carousel - MODERN REDESIGN */
.education-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.section-title-white {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 900;
}

.edu-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.edu-carousel-frame {
    overflow: visible;
    padding: 2rem 0;
}

.edu-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-card {
    min-width: calc(33.333% - 1.5rem);
    flex-shrink: 0;
}

.edu-card-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    transform-origin: center center;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.edu-card-inner:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 36, 125, 0.15);
}

.edu-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
}

.edu-card-inner:hover img {
    transform: scale(1.08);
}

.edu-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a51022 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(207, 20, 43, 0.3);
}

.edu-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 36, 125, 0.95) 0%, rgba(0, 36, 125, 0.85) 70%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 60%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-card-inner:hover .edu-overlay {
    background: linear-gradient(to top, rgba(207, 20, 43, 0.95) 0%, rgba(207, 20, 43, 0.85) 70%, transparent 100%);
}

.edu-author {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.edu-overlay h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.edu-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.edu-link {
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    align-self: flex-start;
    font-size: 0.85rem;
}

.edu-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.edu-link:hover {
    background: white;
    color: var(--primary-red);
    border-color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.edu-link:hover::after {
    transform: translateX(5px);
}

.edu-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 36, 125, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 36, 125, 0.25);
}

.edu-nav-btn.prev {
    left: 10px;
}

.edu-nav-btn.next {
    right: 10px;
}

@media (max-width: 992px) {
    .edu-card {
        min-width: calc(50% - 1rem);
    }

    .edu-carousel-wrapper {
        padding: 0 60px;
    }

    .edu-card-inner {
        height: 420px;
    }
}

@media (max-width: 576px) {
    .edu-card {
        min-width: 100%;
    }

    .edu-carousel-wrapper {
        padding: 0 50px;
    }

    .edu-card-inner {
        height: 400px;
    }

    .edu-card-inner img {
        height: 200px;
    }
}

/* Background Pattern - Prevent Click Blocking */
.section-pattern,
.mobile-bg-pattern {
    pointer-events: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Reviews Section */
.reviews-section {
    padding: 0;
    background: #f0f4f8;
}

.reviews-top-bg {
    background: linear-gradient(135deg, #dfe7f2 0%, #d0dce9 100%);
    padding: var(--section-padding);
    text-align: center;
    color: white;
}

.review-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
}

.review-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

.reviews-carousel-container {
    margin-top: -4rem;
    padding-bottom: 4rem;
}

.reviews-carousel-frame {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info h5 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 992px) {
    .review-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .review-card {
        min-width: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff !important;
    background: #ffffff !important;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Standardized Form Styles - Fixing Missing Frames */
.form-control,
.premium-input,
.sh-form-input,
.form-field-stock {
    width: 100%;
    padding: 1.1rem 1.4rem;
    background-color: #ffffff;
    border: 1.5px solid #d1d5db;
    /* Clearly visible border */
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control:focus,
.premium-input:focus,
.sh-form-input:focus,
.form-field-stock:focus {
    border-color: var(--primary-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 36, 125, 0.1);
}

.premium-input::placeholder,
.sh-form-input::placeholder,
.form-field-stock::placeholder {
    color: #9ca3af;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-lg-7,
.col-lg-5 {
    padding: 0 0.75rem;
}

.col-lg-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
}

.col-lg-5 {
    flex: 0 0 41.667%;
    max-width: 41.667%;
}

@media (max-width: 991px) {

    .col-lg-7,
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}

.g-5 {
    gap: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.w-100 {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

.me-1 {
    margin-right: 0.25rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-success {
    background-color: var(--cta-main);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 177, 64, 0.4);
}

.btn-success:hover {
    background-color: var(--cta-hover);
}

/* Section Common */
section {
    padding: var(--section-padding);
}

/* Form Styles (Preliminary) */
.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 34, 69, 0.1);
}


/* Sticky CTA Mobile */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.sticky-cta-mobile.visible {
    transform: translateY(0);
}

.cta-item {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.cta-item:last-child {
    border-right: none;
    background-color: var(--primary-blue);
    color: white;
}

.cta-item:first-child {
    background-color: var(--cta-main);
    color: white;
}

/* Desktop Floating Button */
.desktop-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.floating-btn:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .sticky-cta-mobile {
        display: none;
    }
}

/* Feature Card (Why Us) */
.feature-card {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #F3F4F6;
}

.feature-icon {
    height: 64px;
    margin: 0 auto 1rem;
    display: block;
}

/* Course Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    /* Reset padding for image full width */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Gradient Adjustments for Hero */
.hero-section {
    background-image: linear-gradient(135deg, rgba(0, 34, 69, 0.9) 0%, rgba(0, 34, 69, 0.7) 100%), url('assets/hero-bg.jpg');
}

@media (max-width: 767px) {
    .hero-section {
        background-position: center top;
        min-height: 70vh;
    }

    h1 {
        font-size: 2rem;
    }

    .desktop-sticky {
        display: none;
    }
}

/* Legal Modal */
/* Modern Minimal Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 36, 125, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 4rem;
    flex: 1;
    /* Take remaining space after top bar */
}

/* Header Top Bar */
.header-top-bar {
    background: #00247d;
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem !important;
    max-width: 100% !important;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-social {
    display: flex;
    gap: 10px;
}

.top-social a {
    color: #4b5563;
    /* Dark gray for icons like in image */
    background: #f3f4f6;
    /* Light gray round background */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.top-social a:hover {
    background: var(--primary-red);
    color: white;
}

.top-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.top-cta i {
    font-size: 1rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-phone,
.top-email {
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.top-phone i,
.top-email i {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .header-top-bar {
        display: none;
        /* Hide top bar on mobile for cleaner look */
    }

    .main-header {
        height: 80px;
    }

    .header-logo img {
        height: 60px !important;
    }
}

.header-logo img {
    height: 78px;
    width: auto;
    display: block;
}

/* Navigation & Dropdowns */
.mobile-nav-logo {
    display: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    padding: 0.6rem 0.9rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 36, 125, 0.05);
}

/* Header Phone Button */
.header-actions {
    display: flex;
    align-items: center;
}

.header-ielts-badge {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 2px;
}

.header-ielts-badge img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.header-ielts-badge:hover {
    transform: scale(1.05);
}

@media (min-width: 992px) and (max-width: 1440px) {

    .header-container,
    .header-top-container {
        padding: 0 1.5rem !important;
    }

    .header-nav {
        gap: 0.1rem;
    }

    .nav-link {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .header-phone {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.btn-enroll {
    background: var(--primary-red);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px rgba(207, 20, 43, 0.15);
}

.btn-enroll:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(207, 20, 43, 0.25);
    background: var(--primary-red);
    color: #fff;
}

.nav-item {
    position: relative;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f3f4f6;
    z-index: 1100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 1.75rem;
}

/* Scroll Down Arrow */
.scroll-down-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-down-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down-arrow i {
    animation: bounce 2s infinite;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-down-arrow span {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 1;
}

.scroll-down-arrow:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mega Menu Styles */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 9999;
    border-top: 2px solid var(--primary-blue);
    padding: 2.5rem 0;
}

.mega-menu-item:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mega-link-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mega-link-item:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 36, 125, 0.08);
    border-color: rgba(0, 36, 125, 0.1);
}

.mega-link-item .icon-box {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mega-link-item:hover .icon-box {
    background: var(--primary-blue);
    color: white;
    transform: rotate(5deg);
}

.mega-link-item .text-box {
    display: flex;
    flex-direction: column;
}

.mega-link-item .title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.mega-link-item .desc {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mega-link-item .desc i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.mega-link-item:hover .desc i {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .mega-menu-wrapper {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 1rem 1.5rem;
        border-top: none;
        display: none;
        background: #f8fafc;
    }

    .mega-menu-item.active .mega-menu-wrapper {
        display: block;
    }

    .mega-menu-full-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mega-link-item {
        padding: 0.75rem;
        background: transparent;
    }

    .mega-link-item .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mega-link-item .title {
        font-size: 1rem;
    }
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 10px 5px;
    cursor: pointer;
    z-index: 10001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
    .header-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        gap: 0;
        z-index: 9999;
    }

    .header-nav.active {
        display: flex !important;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-container {
        padding: 0 1rem !important;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

.hero-section {
    position: relative;
    /* Spacer in header.php handles the offset */
    min-height: calc(85vh - 75px);
}

/* Reviews Carousel */
.carousel-container {
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.review-card {
    flex: 0 0 100%;
    /* Show 1 card at a time */
    box-sizing: border-box;
    /* Existing review card styles overrides */
    margin-bottom: 0;
    margin-right: 0;
    max-width: 100%;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* Dark Footer Styles */
.footer-dark-section {
    background-color: #002245;
    /* Brand Dark Blue */
    color: #e5e7eb;
    padding: var(--section-padding);
    padding-bottom: 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    /* Subtle hover effect */
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
}

.contact-item a:hover {
    color: white;
}

/* Social Icons Placeholder */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: bold;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary-blue);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* References Marquee */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}

/* Partner Section - 2 Column Layout */
.partners-modern {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.partners-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.partners-info {
    flex: 1;
}

.partners-subtitle {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.partners-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.partners-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.partners-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.partners-grid-wrapper {
    flex: 1.5;
}

.partners-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.ref-card {
    background: white;
    aspect-ratio: 1 / 1;
    /* Square-ish cards like image */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .partners-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}


.ref-card:nth-child(even) {
    background-color: #f8fafc;
    /* Alternating style like image */
}

.ref-item-img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ref-card:hover .ref-item-img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .partners-layout {
        flex-direction: column;
        text-align: center;
    }

    .partners-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .partners-title {
        font-size: 2.2rem;
    }
}

/* Service Marquee Strip (Blue Footer Banner) */
.service-marquee {
    background-color: var(--accent-blue);
    /* Match the bright blue from request */
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-marquee .marquee-content {
    display: inline-block;
    animation: serviceScroll 40s linear infinite;
    padding-left: 100%;
    /* Start from right */
}

.service-marquee span {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    align-items: center;
}

/* Add bullet/icon separator */
.service-marquee span::after {
    content: "•";
    position: absolute;
    right: 0;
    opacity: 0.5;
}

@keyframes serviceScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
        /* Move all the way to left */
    }
}

/* Pause on hover */
.service-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Ensure footer map border is removed or adjusted since we added the strip */
/* Ensure footer map border is removed or adjusted since we added the strip */
.footer-map {
    border-bottom: none !important;
}

/* Redesigned Why Us Section */
.why-us-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.decorative-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.6;
}

.shape-left {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    transform: rotate(45deg);
    border-radius: 10px;
    filter: blur(1px);
}

.shape-right {
    top: 5%;
    right: 5%;
    width: 50px;
    height: 50px;
    border: 8px solid var(--primary-blue);
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
}

.why-us-subtitle {
    font-family: 'Satisfy', cursive;
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.why-us-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

/* Modern Why Us Cards */
.why-us-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f3f4f6;
    height: 100%;
}

.why-us-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 36, 125, 0.08);
    border-color: rgba(0, 36, 125, 0.1);
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 2.5rem;
    color: white;
    transition: all 0.5s ease;
}

.why-us-card:hover .icon-circle {
    transform: rotateY(180deg);
}

.why-us-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
}

.why-us-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Color Variants */
.bg-brand-blue {
    background-color: #f0f7ff;
    color: var(--primary-blue);
}

.bg-brand-red {
    background-color: #fff1f2;
    color: var(--primary-red);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.card-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Education Carousel Section */
.education-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
    /* Blue Gradient */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Background Pattern Overlay */
.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 30px 30px;
}

.edu-carousel-wrapper {
    position: relative;
    padding: 0 40px;
    /* Space for buttons */
}

.edu-carousel-frame {
    overflow: hidden;
    padding: 20px 0;
    /* Space for shadows */
}

.edu-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    /* Space between cards */
}

.edu-card {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards visible logic */
    min-width: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.edu-card-inner {
    position: relative;
    height: 400px;
}

.edu-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.edu-card:hover img {
    transform: scale(1.1);
}

/* Badge (Date Circle in ref, Custom here) */
.edu-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1.2;
}

/* Overlay Content (Bottom) */
.edu-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 60px 20px 20px;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.edu-author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.edu-overlay h4 {
    color: white;
    /* Override global color */
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.edu-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    display: none;
}

/* Show description on larger screens */
@media (min-width: 992px) {
    .edu-desc {
        display: block;
    }
}

.edu-link {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: padding-left 0.3s;
}

.edu-link:hover {
    padding-left: 5px;
    color: var(--cta-hover);
}

/* Nav Buttons */
.edu-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-blue);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.edu-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.edu-nav-btn.prev {
    left: 0;
}

.edu-nav-btn.next {
    right: 0;
}

/* Responsive Logic for Cards */
@media (max-width: 991px) {
    .edu-card {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards */
    }
}

@media (max-width: 768px) {
    .edu-card {
        flex: 0 0 100%;
        /* 1 card */
    }

    .education-section {
        padding: 4rem 0;
    }
}

/* Modern Reviews Section - 2 Column Layout */
/* Histudy Style Reviews Section */
.reviews-section {
    padding: 0;
    background-color: #ffffff;
    /* Bottom half white */
    position: relative;
}

.reviews-top-bg {
    background-color: #f0f7ff;
    /* Very soft light blue */
    padding: 6rem 0 12rem;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.reviews-top-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #ffffff);
}

.reviews-top-bg .review-subtitle {
    color: var(--primary-red);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.reviews-top-bg .review-title {
    color: var(--primary-blue);
    font-size: 3.5rem;
    font-weight: 900;
}

.reviews-carousel-container {
    margin-top: -6rem;
    /* Overlap effect */
    position: relative;
    z-index: 10;
}

.reviews-carousel-frame {
    overflow: hidden;
    padding: 20px 0 40px;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px;
}

.review-card-v3 {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 36, 125, 0.08);
    /* Softer shadow */
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.google-review-header .review-stars {
    color: #fbbc05;
    /* Google Gold */
    font-size: 1.1rem;
}

.google-logo-small {
    width: 24px;
    height: 24px;
}

.review-card-v3:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 36, 125, 0.1);
    border-color: rgba(207, 20, 43, 0.1);
    /* Subtle red border on hover */
}

.review-card-v3 .card-accent-title {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: block;
}

.review-text-v3 {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    /* Show max 6 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 8.5rem;
    /* Ensure consistent card height */
}

.review-author-v3 {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.author-avatar-v3 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info-v3 h5 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
}

.author-info-v3 span {
    font-size: 0.85rem;
    color: #6b7280;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    padding-bottom: 4rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-red);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 1199px) {
    .review-card-v3 {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .review-card-v3 {
        flex: 0 0 100%;
    }

    .reviews-top-bg .review-title {
        font-size: 2.5rem;
    }
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    font-size: 1rem;
}

.author-role {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Floating Image */
.review-floating-img {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .reviews-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-intro {
        text-align: center;
    }

    .review-nav-buttons {
        justify-content: center;
    }

    .review-desc {
        margin: 0 auto 2rem;
    }

    .review-card-modern {
        flex: 0 0 100%;
        /* Single card on mobile */
    }
}

/* --- Histudy Style Updates --- */

/* Header Brand Logo (Image based) */
.header-logo a {
    display: block;
}

.header-logo img {
    height: 78px;
    width: auto;
    display: block;
}

/* Form Status Message */
.form-status-msg {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
}

/* Header Enrollment Button */
.btn-enroll {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: none;
    display: inline-block;
}

.btn-enroll:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 10px 15px rgba(0, 36, 125, 0.2);
}

/* Mobile Menu Button - Triple Line */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9990;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        height: 60px;
        /* Reduced height */
    }

    .cta-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        /* White background for clean look */
        color: var(--text-dark);
        text-decoration: none;
        font-size: 0.75rem;
        /* Smaller font */
        gap: 4px;
        border-top: 1px solid #eee;
        transition: all 0.2s;
    }

    .cta-item span:first-child {
        font-size: 1.2rem;
        /* Adjusted icon size */
    }

    /* Specific Colors for Minimal Look */
    .cta-item:nth-child(1) {
        color: var(--primary-red);
    }

    /* Ara - Red */
    .cta-item:nth-child(2) {
        color: #25D366;
        border-left: 1px solid #f0f0f0;
        border-right: 1px solid #f0f0f0;
        background: #fff !important;
    }

    /* WhatsApp - Green */
    .cta-item:nth-child(3) {
        color: var(--primary-blue);
    }

    /* Form - Blue */

    .hero-histudy {
        padding: 80px 0 80px !important;
    }

    .hero-flex-layout {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-form-card {
        max-width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Adjust AI Widget above minimal footer */
    #ai-widget-container {
        bottom: 75px;
        right: 15px;
    }

    .ai-toggle {
        width: 50px;
        /* Smaller toggle button on mobile */
        height: 50px;
    }

    .ai-toggle-icon {
        font-size: 22px;
    }

    .ai-box {
        bottom: 65px;
        width: 300px;
    }
}

@media (max-width: 991px) {
    .header-container {
        padding: 0 1rem !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav-logo {
        display: block;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .mobile-nav-logo img {
        height: 50px;
        width: auto;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 400px;
        height: 100vh;
        background: white;
        padding: 80px 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9999;
        overflow-y: auto;
    }

    .header-nav.active {
        display: flex;
        right: 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-link {
        padding: 1.2rem 0;
        font-size: 1.1rem;
        width: 100%;
        justify-content: space-between;
    }

    .header-actions {
        display: none;
    }
}

/* Redesigned Hero Section */
.hero-histudy {
    background-color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-shape-overlay {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: #f0f7ff;
    border-radius: 50%;
    z-index: 1;
}

.hero-flex-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content-left {
    flex: 1.2;
}

.hero-form-card {
    flex: 0.8;
    max-width: 450px;
}

/* Badges & Titles */
.badge-best {
    background: #fff1f2;
    /* Light red bg */
    color: var(--primary-red);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.rotating-text {
    color: var(--primary-red);
    display: inline-block;
    position: relative;
}

.hero-subtitle-p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 550px;
    margin-bottom: 3rem;
}

/* Trust Indicators */
.trust-stars {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.trust-students {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.student-avatars {
    display: flex;
}

.student-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    object-fit: cover;
}

.student-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.trust-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Floating Form Card */
.form-card-inner {
    background: #ffffff;
    padding: 2rem;
    /* Compacted */
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 36, 125, 0.12);
    border: 1px solid rgba(0, 36, 125, 0.05);
    position: relative;
    overflow: hidden;
}

.form-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at center, rgba(0, 36, 125, 0.03) 0%, transparent 70%),
        radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
    background-size: 100% 100%, 20px 20px;
    pointer-events: none;
}

.form-card-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.form-card-inner p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.hero-form-group {
    margin-bottom: 1rem;
}

.hero-form-group input,
.hero-form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.hero-form-group input:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 36, 125, 0.05);
}

.btn-hero-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a51022 100%);
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
}

.btn-hero-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(207, 20, 43, 0.3);
    filter: brightness(1.1);
}

/* Responsive Hero */
@media (max-width: 991px) {
    .hero-flex-layout {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }

    .hero-subtitle-p {
        margin: 0 auto 3rem;
    }

    .trust-students {
        justify-content: center;
    }

    .hero-shape-overlay {
        width: 500px;
        height: 500px;
        bottom: -100px;
    }

    .partner-logo {
        max-width: 120px;
        max-height: 60px;
        padding: 1.5rem;
    }

    .about-gallery {
        grid-template-columns: 1fr !important;
    }

    /* Footer Mobile Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-desc {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.2rem;
    }

    .form-card-inner {
        padding: 2.5rem 1.5rem;
    }
}

/* Global Section Transition */
.section-padding {
    padding: var(--section-padding);
}

/* Landing Page Components */
.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
    color: white;
    padding: 3.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    margin: 4rem auto;
    max-width: 1000px;
}

.cta-box h2 {
    color: white !important;
    font-weight: 800;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.premium-form-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content {
    background: white;
    padding: 4.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 36, 125, 0.05);
    line-height: 1.8;
    color: #334155;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
        border-radius: 16px;
    }

    .premium-form-box {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .btn-group {
        gap: 0.8rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
}

.feature-list-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-bottom: 4rem;
}

/* Responsive Sidebar Layout */
.responsive-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .responsive-grid .sidebar-card {
        order: 2;
        /* Content first, sidebar second on mobile */
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0 !important;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.feature-item i {
    color: #f59e0b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-box {
    background: #f8fafc;
    border-left: 5px solid var(--primary-red);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.highlight-box.blue {
    border-left-color: var(--primary-blue);
}

.highlight-box h3 {
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #eee;
    line-height: 1;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
        border-radius: 16px;
    }

    .premium-form-box {
        padding: 1.5rem;
    }

    .feature-list-box {
        padding: 2rem 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .step-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* Stock Background CTA Section */
.cta-stock-section {
    position: relative;
    padding: 140px 0;
    /* Generous balanced padding for vertical centering */
    background-image: url('assets/bottom_form_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.cta-stock-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 15, 60, 0.88);
    /* Slightly darker/deeper blue for better text contrast */
    z-index: 1;
}

.cta-stock-section .container {
    position: relative;
    z-index: 2;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.cta-left-content {
    flex: 1;
}

.cta-small-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: white;
    /* Explicitly white */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-big-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    /* Crisp white */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-big-title span {
    color: var(--primary-red);
}

.cta-desc-p {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 1;
    /* Full opacity for better reading */
    line-height: 1.6;
    max-width: 550px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-form-card-stock {
    flex: 0.7;
    /* Even more compact */
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    /* Compacted */
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    color: var(--text-dark);
    margin-bottom: -150px;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.cta-form-card-stock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 2px 2px, rgba(207, 20, 43, 0.03) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 1;
    z-index: -1;
}

.cta-form-card-stock::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-red);
    opacity: 0.06;
    filter: blur(45px);
    border-radius: 50%;
    z-index: -1;
}

.cta-form-card-stock h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.form-field-stock {
    /* Inherits global styles above */
    margin-bottom: 1.2rem;
}

/* Focus inherited from global */

.btn-stock-submit {
    background: var(--primary-red);
    color: white;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-stock-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(207, 20, 43, 0.3);
    filter: brightness(1.1);
}

@media (max-width: 991px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
    }

    .cta-form-card-stock {
        margin-bottom: 0;
        width: 100%;
        max-width: 500px;
        margin-top: 2rem;
    }

    .cta-big-title {
        font-size: 2.2rem;
    }

    .cta-desc-p {
        margin: 0 auto;
    }
}

/* Modern & Minimal Sub-Hero Design */
.sub-hero-section {
    position: relative;
    padding: 50px 0;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    /* Parallax effect for modern feel */
}

.sub-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 20, 80, 0.85) 0%, rgba(0, 36, 125, 0.6) 100%);
    z-index: 1;
}

/* Sophisticated Background Pattern */
.sub-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
    z-index: 1;
}

.sub-hero-section .container {
    position: relative;
    z-index: 5;
}

.sub-hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Content Area with Animations */
.sub-hero-content {
    flex: 1.3;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sub-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sub-hero-title {
    font-size: 4rem;
    /* Increased from 2.8rem */
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    letter-spacing: -2px;
    /* Tighter for striking look */
    color: #ffffff;
    /* Stark white for readability */
}

.sub-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
}

.sub-hero-title span {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--primary-red);
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
}

/* Modern Minimal Buttons */
.sub-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
}

.sh-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sh-btn-red {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 15px 35px rgba(207, 20, 43, 0.25);
}

.sh-btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(207, 20, 43, 0.5);
    filter: brightness(1.2);
}

.sh-btn-dark {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sh-btn-dark:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

.sh-btn-whatsapp {
    background: #25d366;
    color: white;
}

.sh-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

/* Premium Minimal Form Card */
.sub-hero-form-card {
    flex: 0.65;
    /* Even more compact */
    background: #ffffff;
    padding: 2rem;
    /* Compacted */
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    position: relative;
    overflow: hidden;
}

.sub-hero-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 100%),
        radial-gradient(circle at 3px 3px, rgba(0, 36, 125, 0.04) 1px, transparent 0);
    background-size: cover, 25px 25px;
    z-index: 0;
}

.sub-hero-form-card>* {
    position: relative;
    z-index: 1;
}

.sh-form-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.sh-form-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.sh-form-input {
    /* Inherits global styles above */
    margin-bottom: 1.2rem;
}

.sh-form-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
    box-shadow: 0 15px 30px rgba(207, 20, 43, 0.15);
}

.sh-form-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(207, 20, 43, 0.4);
    filter: brightness(1.1);
}

/* Keyframes for Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* Trust Bar Minimal */
.trust-bar-minimal {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.trust-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-bar-minimal:hover .trust-logos {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

.trust-logos img {
    height: 35px;
    width: auto;
}

@media (max-width: 768px) {
    .trust-flex {
        gap: 1.5rem;
        text-align: center;
    }

    .trust-logos {
        gap: 2rem;
        justify-content: center;
        width: 100%;
    }
}

/* Responsive Overrides */
@media (max-width: 1399px) {
    .sub-hero-title {
        font-size: 3.8rem;
    }

    .sub-hero-flex {
        gap: 3rem;
    }
}

@media (max-width: 1199px) {
    .sub-hero-title {
        font-size: 3.2rem;
    }

    .sub-hero-form-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 991px) {
    .sub-hero-section {
        padding: 40px 0;
        text-align: center;
    }

    .sub-hero-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .sub-hero-content {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .sub-hero-form-card {
        opacity: 1;
        transform: none;
        animation: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .sub-hero-btns {
        justify-content: center;
    }

    .sub-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 575px) {
    .sub-hero-title {
        font-size: 2.4rem;
    }

    .sh-btn {
        width: 100%;
        justify-content: center;
    }
}

/* KVKK Sticky Bar */
.kvkk-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 36, 125, 0.98) 0%, rgba(0, 20, 80, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: none !important;
    /* TEMPORARY - DEBUGGING */
}

.kvkk-sticky-bar.show {
    transform: translateY(0);
}

.kvkk-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.kvkk-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.kvkk-text {
    flex: 1;
    color: white;
}

.kvkk-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.kvkk-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.kvkk-link {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 600;
}

.kvkk-link:hover {
    color: #f59e0b;
}

.kvkk-accept-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.kvkk-accept-btn:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(207, 20, 43, 0.4);
}

/* KVKK Modal */
.kvkk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    padding: 2rem;
    overflow-y: auto;
}

.kvkk-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kvkk-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.kvkk-modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.kvkk-modal-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.kvkk-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.kvkk-modal-close:hover {
    background: #f3f4f6;
    color: var(--primary-blue);
}

.kvkk-modal-body {
    padding: 2rem;
}

.kvkk-modal-body h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
}

.kvkk-modal-body h4:first-child {
    margin-top: 0;
}

.kvkk-modal-body p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.kvkk-modal-body a {
    color: var(--primary-red);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .kvkk-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .kvkk-accept-btn {
        width: 100%;
    }

    .kvkk-modal-header {
        padding: 1.5rem;
    }

    .kvkk-modal-body {
        padding: 1.5rem;
    }
}

/* ============================================
   NEW SECTIONS STYLES
   ============================================ */

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stats-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.stats-section .section-title {
    color: white;
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    display: inline-block;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }
}

/* Video Introduction Section */
.video-intro-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.video-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 36, 125, 0.15);
    aspect-ratio: 16/9;
    /* Force container aspect ratio */
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-placeholder:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(207, 20, 43, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(207, 20, 43, 0.4);
}

.play-button i {
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-red);
}

.video-content {
    padding: 2rem 0;
}

.video-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.video-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.video-feature-item i {
    color: var(--primary-red);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.btn-video-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-red);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(207, 20, 43, 0.3);
}

.btn-video-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.4);
    color: white;
}

@media (max-width: 992px) {
    .video-intro-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #ffffff;
}

.faq-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 36, 125, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Utility Classes */
.ms-2 {
    margin-left: 0.5rem;
}

/* Trust Bar - Modern Single Logo */
.trust-bar-minimal {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 36, 125, 0.08);
}

.trust-flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.trust-label-modern {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.trust-logo-single {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-logo-single img {
    height: 85px;
    /* Increased from 60px */
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 36, 125, 0.15));
    /* Stronger shadow */
    transition: all 0.3s ease;
}

.trust-logo-single img:hover {
    transform: translateY(-5px) scale(1.05);
    /* Slight scale on hover */
    filter: drop-shadow(0 15px 30px rgba(0, 36, 125, 0.25));
}

@media (max-width: 768px) {
    .trust-bar-minimal {
        padding: 1.5rem 0;
    }

    .trust-logo-single img {
        height: 50px;
    }
}

/* Premium Partners Grid */
.premium-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card-modern {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    height: 160px;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.partner-card-modern img {
    max-height: 120px;
    /* Even BIGGER logos */
    max-width: 95%;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: all 0.4s ease;
}

/* Modern Hover Effect */
.partner-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.partner-card-modern:hover img {
    transform: scale(1.08);
}

/* Upscale specifically small looking logos */
.partner-card-modern img[src*="denizbank"],
.partner-card-modern img[src*="eczacibasi"] {
    transform: scale(1.45);
}

.partner-card-modern:hover img[src*="denizbank"],
.partner-card-modern:hover img[src*="eczacibasi"] {
    transform: scale(1.55);
}

@media (max-width: 991px) {
    .premium-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .premium-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-card-modern {
        height: 130px;
    }

    .partner-card-modern img {
        max-height: 85px;
    }
}

/* Detail Pages - Mobile Responsive */
.grid {
    display: grid;
}

@media (max-width: 991px) {
    .grid[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .grid>div[style*="position: sticky"] {
        position: relative !important;
        top: auto !important;
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .sub-hero-flex {
        flex-direction: column !important;
    }

    .sub-hero-form-card {
        width: 100% !important;
        margin-top: 2rem;
    }

    .sh-hero-btns {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .sh-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Consolidated with main header styles */

@media (max-width: 768px) {
    .header-container {
        padding: 0 0.8rem !important;
    }

    .header-ielts-badge {
        padding: 0;
    }

    .header-ielts-badge img {
        height: 50px;
    }
}

/* AI Support Widget Styles */
#ai-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00247d, #001855);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 36, 125, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: pulse-ai 2s infinite;
}

.ai-toggle:hover {
    transform: scale(1.1);
}

.ai-toggle-icon {
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-toggle-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    /* Keep it white like the previous icon */
}

.ai-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF0000;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: bounce 1s infinite alternate;
}

.ai-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
    transform: scale(1);
}

.ai-box.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
}

.ai-header {
    background: linear-gradient(135deg, #00247d, #1a4ec4);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.ai-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-avatar img {
    width: 100%;
    height: auto;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #25D366;
    border: 2px solid white;
    border-radius: 50%;
}

.ai-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ai-info strong {
    font-size: 0.95rem;
}

.ai-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

#ai-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
}

.ai-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.ai-message.received {
    align-self: flex-start;
    background: #ffffff;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-message.hidden {
    display: none;
}

.ai-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.ai-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.ai-form input:focus {
    border-color: #00247d;
    outline: none;
    background: #f0f7ff;
}

.ai-form button {
    background: #cf142b;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.ai-form button:hover {
    background: #a51022;
}

@keyframes pulse-ai {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 36, 125, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 36, 125, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 36, 125, 0);
    }
}

/* Smart FAB (Floating Action Button) Mobile */
.smart-fab-container {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 768px) {
    .smart-fab-container {
        display: block;
        position: fixed;
        bottom: 30px;
        left: 20px;
        z-index: 10000;
    }

    .main-fab {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #128C7E, #25D366);
        /* Green Gradient */
        border-radius: 50%;
        border: none;
        color: white;
        font-size: 24px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        position: relative;
        z-index: 2;
        animation: pulse-green 2s infinite;
    }

    .main-fab:active {
        transform: scale(0.95);
    }

    /* Active State - Only Darken Background */
    .smart-fab-container.active .main-fab {
        background: #075e54;
        /* Darker Green */
        transform: scale(1.05);
    }

    /* Remove old icon swap logic */

    /* Options */
    .fab-options {
        position: absolute;
        bottom: 70px;
        left: 5px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        pointer-events: none;
    }

    .fab-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        opacity: 0;
        transform: translateY(20px) scale(0.5);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        pointer-events: none;
        /* Prevent clicks when hidden */
    }

    .smart-fab-container.active .fab-options {
        pointer-events: auto;
    }

    .smart-fab-container.active .fab-btn {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .fab-btn i {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 22px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .fab-whatsapp i {
        background: linear-gradient(135deg, #25D366, #128C7E);
    }

    .fab-phone i {
        background: linear-gradient(135deg, #00247d, #001855);
    }

    .fab-label {
        background: white;
        padding: 5px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s 0.1s;
    }

    .smart-fab-container.active .fab-label {
        opacity: 1;
        transform: translateX(0);
    }

    /* Reset AI Widget Position */
    #ai-widget-container {
        bottom: 30px !important;
        right: 15px !important;
    }

    .ai-box {
        bottom: 80px !important;
        right: 0 !important;
        width: 300px !important;
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Form Validation Styles */
.input-error {
    border-color: var(--primary-red) !important;
    background-color: #fff5f5 !important;
}

.error-message {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero-form-status,
.form-status-msg {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#hero-form-status:not(:empty),
.form-status-msg:not(:empty) {
    padding: 10px;
    margin-top: 15px;
}

/* ----------------------------------------------------
   MEGA MENU STYLES
---------------------------------------------------- */
.mega-menu-item {
    position: static !important;
    /* Allow full width relative to header */
}

.mega-menu-wrapper {
    position: fixed;
    top: 135px;
    left: 0;
    right: 0;
    width: 100vw;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998;
    padding: 3rem 0;
}

.nav-item:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-menu-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Featured Column Removed - Styles Cleaned */

/* Links Grid */
.mega-column.links-grid {
    /* Deprecated */
    display: none;
}

.btn-mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-mega-cta:hover {
    background: var(--primary-red);
    transform: translateX(5px);
}

/* Links Grid */
.mega-column.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-link-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.mega-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 36, 125, 0.05) 0%, rgba(207, 20, 43, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mega-link-item:hover {
    background: white;
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 36, 125, 0.15);
}

.mega-link-item:hover::before {
    opacity: 1;
}

.mega-link-item .icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mega-link-item:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: white;
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 36, 125, 0.3);
}

.mega-link-item .text-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.mega-link-item .title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.mega-link-item:hover .title {
    color: var(--primary-blue);
}

.mega-link-item .desc {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mega-link-item:hover .desc {
    color: var(--primary-red);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .mega-menu-item {
        position: relative !important;
    }

    .mega-menu-wrapper {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 0;
        display: none;
        background: #f8fafc;
    }

    .nav-item.active .mega-menu-wrapper {
        display: block;
    }

    .mega-menu-full-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .mega-link-item {
        border: none;
        background: transparent;
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }

    .mega-link-item:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
        padding-left: 5px;
    }

    .mega-link-item .icon-box {
        background: transparent;
        color: var(--primary-blue);
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }
}

/* ----------------------------------------------------
   10. YIL PREMIUM BADGE
---------------------------------------------------- */
.header-logo {
    position: relative;
    display: inline-block;
}

.anniversary-badge {
    position: absolute;
    top: -2px;
    right: -30px;
    z-index: 100;
    transform: rotate(12deg);
    animation: badgeFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.badge-inner {
    position: relative;
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #002245;
    border: 1px solid #AA771C;
    box-shadow: inset 0 0 10px rgba(251, 245, 183, 0.5);
}

/* Laurel Leaf Effect using CSS */
.badge-inner::before,
.badge-inner::after {
    content: '🌿';
    /* Using emoji as fallback/base or I could use FontAwesome */
    position: absolute;
    font-size: 1.4rem;
    opacity: 0.8;
    top: 50%;
    color: #AA771C;
}

.badge-inner::before {
    left: -15px;
    transform: translateY(-50%) rotate(-45deg);
}

.badge-inner::after {
    right: -15px;
    transform: translateY(-50%) rotate(45deg) scaleX(-1);
}

.badge-inner .number {
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    margin-bottom: -2px;
}

.badge-inner .year-text {
    font-size: 0.45rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(12deg);
    }

    50% {
        transform: translateY(-8px) rotate(15deg);
    }
}

@media (max-width: 991px) {
    .anniversary-badge {
        right: -20px;
        top: 2px;
        transform: scale(0.8) rotate(12deg);
    }
}