/* ============================================
   RAJ ADMISSION - PREMIUM EDUCATION AGENCY
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Brand Colors */
    --deep-teal: #0F4C5C;      /* Main text, headings, primary buttons */
    --slate-blue: #1F6E8C;     /* Secondary text, hover states */
    
    /* Accent Gradient Palette */
    --vibrant-cyan: #2BBBE6;   /* CTA buttons, links, backgrounds */
    --electric-purple: #9B5DE5; /* Creative accents, gradients */
    --hot-magenta: #F15BB5;     /* Attention-grabbing highlights */
    --bright-coral: #FE6D73;    /* Alerts, warm highlights */
    --soft-orange: #FFB563;      /* Softer backgrounds, decorative elements */
    
    /* Brand Gradient */
    --brand-gradient: linear-gradient(
        135deg,
        var(--vibrant-cyan) 0%,
        var(--electric-purple) 45%,
        var(--hot-magenta) 70%,
        var(--bright-coral) 100%
    );
    
    /* Legacy variables for compatibility */
    --primary-green: var(--deep-teal);
    --primary-green-dark: #0a3a47;
    --primary-green-light: var(--slate-blue);
    --brand-teal: var(--deep-teal);
    --whatsapp-green: #25D366;
    
    /* Text colors */
    --text-dark: #2c3e50;
    --text-light: #6c757d;

    --white: #ffffff;
    --dark-navy: #1a1f3a;
    --dark-navy-light: #2a3155;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--deep-teal);
    opacity: 0.6;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   NAVBAR - STICKY GLASS EFFECT
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo img {
    height: 58px;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.navbar-menu li:last-child {
    margin-left: 0.5rem;
}

.navbar-menu li a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

/* underline only for active/current page (not on hover, not for Apply button) */
.navbar-menu li a:not(.btn-apply)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: var(--transition);
}

.navbar-menu li a:not(.btn-apply).active::after {
    width: 100%;
}

.navbar-menu li a:not(.btn-apply):hover {
    color: var(--slate-blue);
}

/* Apply Now button */
.btn-apply {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-gradient);
    color: #ffffff;
    padding: 1.6rem 4.2rem; /* extra left/right background space */
    font-size: 0.95rem;
    letter-spacing: 0.25px;
    min-width: 190px;
    line-height: 1; /* more padding around text */
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow:
        0 10px 22px rgba(15, 107, 118, 0.22),
        0 10px 28px rgba(122, 60, 255, 0.16),
        0 12px 34px rgba(255, 47, 109, 0.10);
    overflow: hidden;
}

/* Ensure Apply button text stays white (including hover/visited) */
.btn-apply,
.btn-apply:hover,
.btn-apply:visited {
    color: #ffffff !important;
    text-decoration: none;
}

.btn-apply::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 45%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.btn-apply::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -60%;
    width: 45%;
    height: 160%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(20deg);
    filter: blur(1px);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.btn-apply:hover {
    transform: translateY(-2px);
    filter: saturate(1.1) brightness(1.03);
    box-shadow:
        0 14px 28px rgba(15, 107, 118, 0.28),
        0 14px 34px rgba(122, 60, 255, 0.20),
        0 16px 44px rgba(255, 47, 109, 0.14);
}

.btn-apply:hover::after {
    opacity: 1;
    animation: btnShine 0.9s ease forwards;
}

.btn-apply:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(34, 193, 255, 0.22),
        0 0 0 7px rgba(255, 255, 255, 0.65),
        0 14px 28px rgba(15, 107, 118, 0.28);
}

.btn-apply:active {
    transform: translateY(0);
    filter: saturate(1.0) brightness(0.98);
}

@keyframes btnShine {
    0% { transform: translateX(0) rotate(20deg); }
    100% { transform: translateX(380%) rotate(11deg); }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    line-height: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    padding: 140px 0 100px;
    margin-top: 80px;
    background: #e8f4f5;
    overflow-x: hidden;
    overflow-y: visible;
    max-width: 100%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
    line-height: 1.1;
}

.hero-title .title-line {
    display: block;
}

/* Page Hero Styles (for About, Services pages) */
.page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .hero-content {
    width: 100%;
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero .subheadline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .subheadline {
        font-size: 1.1rem;
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: #555;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--deep-teal);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.3);
}

.btn-primary:hover {
    background: var(--slate-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--deep-teal);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--deep-teal);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: var(--white);
}

.btn-secondary i {
    color: var(--deep-teal);
    font-size: 0.9rem;
}


/* Hero Images - Overlapping Pattern Design */
.hero-images {
    position: relative;
    height: 650px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    overflow: visible;
}

/* Your single composite image – hidden above 964px, shown only at 964px and below */
.hero-collage-single {
    display: none;
}

.hero-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    background: var(--white);
    padding: 8px;
}

.hero-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    z-index: 10 !important;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* Top-Right Image (Dominant) */
.hero-image-1 {
    width: 320px;
    height: 400px;
    top: 0;
    right: 0;
    z-index: 3;
    transform: rotate(-8deg);
}

/* Middle-Left Image (Overlapping) */
.hero-image-2 {
    width: 300px;
    height: 380px;
    top: 120px;
    left: 0;
    z-index: 2;
    transform: rotate(5deg);
}

/* Bottom Image (Partially Visible) */
.hero-image-3 {
    width: 280px;
    height: 350px;
    top: 280px;
    right: 60px;
    z-index: 1;
    transform: rotate(-4deg);
}

.hero-image-1:hover {
    transform: rotate(-2deg) translateY(-10px) scale(1.02);
}

.hero-image-2:hover {
    transform: rotate(2deg) translateY(-10px) scale(1.02);
}

.hero-image-3:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.02);
}

/* Hero images: polished look above 964px */
@media (min-width: 965px) {
    .hero-image {
        padding: 12px;
        border-radius: 24px;
        box-shadow:
            0 4px 6px rgba(0, 0, 0, 0.04),
            0 12px 28px rgba(0, 0, 0, 0.08),
            0 24px 48px rgba(0, 0, 0, 0.06);
        border: 3px solid rgba(255, 255, 255, 0.95);
        background: var(--white);
    }

    .hero-image:hover {
        box-shadow:
            0 8px 16px rgba(0, 0, 0, 0.06),
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 32px 64px rgba(0, 0, 0, 0.12);
    }

    .hero-image img {
        border-radius: 16px;
    }
}

.btn-primary {
    background: var(--brand-teal);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-teal);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--deep-teal);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: transparent;
    color: var(--deep-teal);
    border-width: 2px; /* keep layout stable */
    box-shadow: 0 0 0 2px rgba(15, 76, 92, 0.15); /* subtle bold effect */
}

.hero-info-text {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin-top: 2rem;
    max-width: 600px;
}

/* Hero: condensed from 1300px down */
@media (max-width: 1300px) {
    .hero {
        min-height: 75vh;
        padding: 100px 0 70px;
        margin-top: 80px;
    }
    
    .hero-wrapper {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-bottom: 2rem;
    }
    
    .hero-info-text {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }
    
    .hero-images {
        height: 560px;
        max-width: 520px;
        overflow: visible;
    }
    
    .hero-image-1 {
        width: 260px;
        height: 325px;
        top: 0;
        right: 0;
    }
    
    .hero-image-2 {
        width: 245px;
        height: 310px;
        top: 95px;
        left: 0;
    }
    
    .hero-image-3 {
        width: 230px;
        height: 285px;
        top: 220px;
        right: 45px;
    }
    
    /* Page hero (About/Services) */
    .page-hero h1 {
        font-size: 3rem;
    }
    
    .page-hero .subheadline {
        font-size: 1.15rem;
    }
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.3);
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Why Choose Us Section - Two Column Design */
.why-choose-us-section {
    background: #f7f8fa;
    padding: 80px 0;
}

.why-choose-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.why-choose-us-content {
    display: flex;
    flex-direction: column;
}

.why-choose-us-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.why-choose-us-title .title-part-1 {
    color: var(--deep-teal);
    display: block;
}

.why-choose-us-title .title-part-2 {
    color: var(--deep-teal);
    display: block;
}

.why-choose-us-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.why-choose-us-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-choose-us-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.why-choose-us-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.why-choose-us-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--deep-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.why-choose-us-item-content {
    flex: 1;
}

.why-choose-us-item-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.why-choose-us-item-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Why Choose Us section */
@media (max-width: 968px) {
    .why-choose-us-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .why-choose-us-title {
        font-size: 2.2rem;
    }
    
    .why-choose-us-content {
        order: -1;
    }
}

@media (max-width: 768px) {
    .why-choose-us-title {
        font-size: 1.9rem;
    }
    
    .why-choose-us-description {
        font-size: 1rem;
    }
    
    .why-choose-us-item {
        padding: 1.25rem;
    }
    
    .why-choose-us-item-content h3 {
        font-size: 1rem;
    }
}

/* General card styles (for other sections) */
.card-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Course cards with subject photos */
.course-grid {
    gap: 1.5rem;
}

.course-card {
    padding: 0;
    overflow: hidden;
}

.course-photo {
    height: 120px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.35s ease;
}

.course-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.38) 100%);
}

.course-content {
    padding: 1.25rem 1.6rem 1.5rem;
}

.course-card h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* subtle zoom on hover */
.course-card:hover .course-photo {
    transform: scale(1.06);
}

/* After 768px: course cards like reference – 3 columns, compact rectangle, image ~70%, text ~30% */
@media (max-width: 768px) {
    .grid-4.course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .course-grid {
        gap: 1rem;
    }
    
    .course-card {
        max-width: 220px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        aspect-ratio: 1.18 / 1;
        display: flex;
        flex-direction: column;
    }
    
    .course-photo {
        flex: 0 0 70%;
        width: 100%;
        background-size: cover;
        background-position: center;
    }
    
    .course-content {
        flex: 0 0 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.6rem;
        min-height: 0;
    }
    
    .course-card h4 {
        font-size: 0.95rem;
        font-weight: 700;
        text-align: center;
        margin: 0;
    }
}

@media (max-width: 540px) {
    .grid-4.course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section headings smaller on narrow screens */
@media (max-width: 544px) {
    .section-title h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-title h2::after {
        width: 40px;
        margin: 12px auto 0;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Location card with photo (London) */
.location-card {
    padding: 0;
    overflow: hidden;
}

.location-photo {
    height: 190px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.35s ease;
}

.location-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.location-content {
    padding: 1.25rem 2rem 1.6rem;
}

/* icon removed from location cards */

/* subtle zoom on hover for location photos */
.location-card:hover .location-photo {
    transform: scale(1.06);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UNIVERSITY GRID (PARTNERS)
   ============================================ */
.university-section {
    background: #f8f9fa;
    padding: 70px 0 50px;
}

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

/* Home page horizontal slider */
.university-scroll-wrapper {
    position: relative;
    margin-top: 3rem;
}

.university-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 6px;
    /* hide the bottom scrollbar bar */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge (legacy) */
}

.university-scroll::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
}

.university-scroll::before,
.university-scroll::after {
    content: '';
    position: sticky;
    top: 0;
    width: 56px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.university-scroll::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.university-scroll::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.university-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    padding-right: 10px;
}

.university-scroll .university-logo {
    flex: 0 0 240px;
    scroll-snap-align: start;
}

/* (scrollbar styles removed intentionally – we hide it) */

.university-logo {
    /* remove card look – show only logo image */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    height: auto;
    filter: none;
    opacity: 1;
    box-shadow: none;
    transition: none;
    cursor: default;
}

.university-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.university-arrow:hover {
    opacity: 1;
    filter: brightness(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.university-arrow i {
    font-size: 1rem;
    color: #666;
    transition: color 0.3s ease;
}

.university-arrow:hover i {
    color: #333;
}

.university-arrow-left {
    left: 10px;
}

.university-arrow-right {
    right: 10px;
}

.university-logo:hover {
    filter: none;
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.university-logo img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.university-logo span {
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   WHO CAN APPLY SECTION
   ============================================ */
.who-can-apply {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(37, 211, 102, 0.1) 100%);
}

/* Z-Style Layout for Who Can Apply Section */
.z-style-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.z-style-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.z-style-row-reverse {
    direction: rtl;
}

.z-style-row-reverse > * {
    direction: ltr;
}

.z-style-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.z-style-content {
    max-width: 500px;
    position: relative;
}

.z-style-content-right {
    margin-left: auto;
    text-align: right;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    color: #cccccc;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.step-number-right {
    text-align: right;
}

.z-style-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.z-style-content-right h3 {
    text-align: right;
}

.z-style-content p {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.z-style-content-right p {
    text-align: right;
}

.z-style-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.z-style-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.z-style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Who Can Apply: smaller from 1200px down – at 965px looks same as 1024px */
@media (max-width: 1200px) {
    .who-can-apply.section {
        padding: 55px 0;
    }
    
    .who-can-apply .section-title h2 {
        font-size: 2rem;
    }
    
    .who-can-apply .section-title p {
        font-size: 1rem;
    }
    
    .who-can-apply .section-title {
        margin-bottom: 2rem;
    }
    
    .z-style-container {
        gap: 2.25rem;
        margin-top: 2.25rem;
    }
    
    .z-style-row {
        gap: 2rem;
    }
    
    .z-style-content {
        max-width: 420px;
    }
    
    .who-can-apply .step-number {
        font-size: 5rem;
    }
    
    .who-can-apply .z-style-content h3 {
        font-size: 1.5rem;
    }
    
    .who-can-apply .z-style-content p {
        font-size: 0.95rem;
    }
    
    .who-can-apply .z-style-image {
        max-width: 420px;
    }
}

/* Z-Style layout not changed after 964 – two-column design kept at all sizes */

@media (max-width: 768px) {
    .z-style-container {
        gap: 2rem;
    }
    
    .step-number {
        font-size: 4.5rem;
    }
    
    .z-style-content h3 {
        font-size: 1.5rem;
    }
    
    .z-style-content p {
        font-size: 0.95rem;
    }
    
    .z-style-image {
        max-width: 100%;
    }
}

/* After 540px: "How it works" style – image on top, then number + heading + paragraph (centered image, left-aligned text) */
@media (max-width: 540px) {
    .who-can-apply.section {
        padding: 40px 0;
    }
    
    .who-can-apply .section-title h2 {
        font-size: 1.6rem;
    }
    
    .who-can-apply .section-title p {
        font-size: 0.9rem;
    }
    
    .who-can-apply .section-title {
        margin-bottom: 1.5rem;
    }
    
    .who-can-apply .z-style-container {
        gap: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .who-can-apply .z-style-row,
    .who-can-apply .z-style-row-reverse {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
        text-align: left;
        direction: ltr;
    }
    
    /* Image on top, centered */
    .who-can-apply .z-style-image {
        order: 1;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
        border-radius: 16px;
    }
    
    /* Content below: number, heading, paragraph */
    .who-can-apply .z-style-info {
        order: 2;
    }
    
    .who-can-apply .z-style-content,
    .who-can-apply .z-style-content-right {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
    
    .who-can-apply .z-style-content-right h3,
    .who-can-apply .z-style-content-right p {
        text-align: left;
    }
    
    .who-can-apply .step-number,
    .who-can-apply .step-number-right {
        font-size: 4rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .who-can-apply .z-style-content h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .who-can-apply .z-style-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* ============================================
   ENTRY ROUTES SECTION
   ============================================ */
.entry-routes {
    background: #f8f9fa;
}

.entry-routes .section-title h2 {
    color: #1E5C6B;
}

.entry-routes .section-title h2::after {
    background: #1E5C6B;
}

.route-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.route-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.route-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.route-card-icon i {
    font-size: 2rem;
    color: var(--deep-teal);
}

.route-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.route-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FLEXIBLE STUDY SECTION (2-SIDE DESIGN)
   ============================================ */
.flexible-study-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.flexible-study-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.flexible-study-title .title-part-1 {
    color: #1E5C6B;
}

.flexible-study-title .title-part-2 {
    color: #1E5C6B;
}

.flexible-study-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.flexible-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.flexible-study-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flexible-study-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.flexible-study-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.flexible-study-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
}

.flexible-study-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flexible-study-list li {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.flexible-study-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--deep-teal);
    font-weight: bold;
    font-size: 1.1rem;
}

.flexible-study-image {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.flexible-study-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: var(--white);
}

.flexible-study-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive for flexible study section */
@media (max-width: 968px) {
    .flexible-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flexible-study-image-placeholder {
        min-height: 400px;
        order: -1;
    }
    
    .flexible-study-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .flexible-study-title {
        font-size: 1.75rem;
    }
    
    .flexible-study-intro {
        font-size: 1rem;
    }
    
    .flexible-study-card {
        padding: 1.5rem;
    }
    
    .flexible-study-card h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: #f8f9fa;
}

.section.testimonials {
    padding-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '\"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--deep-teal);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(15, 76, 92, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-author-info h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.testimonial-author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-slider {
    position: relative;
    margin-top: 2.5rem;
}

.testimonials-slide {
    display: none;
}

.testimonials-slide.active {
    display: block;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #9ca3af;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.active {
    background: #fbbf24;
    transform: scale(1.15);
}

/* ============================================
   INTAKES (SEASON CARDS)
   ============================================ */
.intake-grid {
    gap: 1.4rem;
}

.intake-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.2rem;
    min-height: 120px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.intake-card h3 {
    margin: 0.3rem 0 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.intake-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-teal);
    background: rgba(15, 76, 92, 0.08);
    border: 1px solid rgba(15, 76, 92, 0.14);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

/* ============================================
   FUNDING SECTION - NEW DESIGN
   ============================================ */
.funding-section {
    background: var(--white);
    padding: 80px 0;
}

.funding-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.funding-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.funding-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(15, 76, 92, 0.08);
    border: 2px solid rgba(15, 76, 92, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.funding-feature-icon:hover {
    transform: scale(1.1);
    background: rgba(15, 76, 92, 0.12);
}

.funding-feature-icon i {
    font-size: 2rem;
    color: var(--deep-teal);
}

.funding-feature h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.funding-feature p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive for Funding Features */
@media (max-width: 1024px) {
    .funding-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .funding-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .funding-feature {
        align-items: center;
        text-align: center;
    }
    
    .funding-feature-icon {
        margin-bottom: 1.25rem;
    }
}

/* Soft seasonal overlays (no layout shift) */
.intake-card::before {
    content: '';
    position: absolute;
    inset: -40px;
    opacity: 0.9;
    pointer-events: none;
    transform: rotate(-6deg);
}

.intake-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
}

.season-winter::before {
    background:
        radial-gradient(circle at 25% 30%, rgba(255,255,255,0.95) 0 2px, transparent 3px),
        radial-gradient(circle at 55% 20%, rgba(255,255,255,0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 55%, rgba(255,255,255,0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 35% 70%, rgba(255,255,255,0.8) 0 2px, transparent 3px),
        linear-gradient(135deg, rgba(34,193,255,0.22), rgba(122,60,255,0.10));
    background-size: 120px 120px, 140px 140px, 160px 160px, 180px 180px, cover;
}

.season-winter::after {
    background: linear-gradient(180deg, rgba(34,193,255,0.12), rgba(255,255,255,0));
}

.season-spring::before {
    background:
        radial-gradient(circle at 18% 40%, rgba(255,47,109,0.12), transparent 55%),
        radial-gradient(circle at 70% 30%, rgba(255,154,99,0.14), transparent 55%),
        radial-gradient(circle at 45% 75%, rgba(34,193,255,0.10), transparent 55%),
        linear-gradient(135deg, rgba(37,211,102,0.10), rgba(255,255,255,0));
}

.season-spring::after {
    background:
        radial-gradient(circle at 22% 55%, rgba(37,211,102,0.18) 0 4px, transparent 5px),
        radial-gradient(circle at 55% 25%, rgba(255,154,99,0.16) 0 4px, transparent 5px),
        radial-gradient(circle at 75% 65%, rgba(255,47,109,0.14) 0 4px, transparent 5px);
    background-size: 160px 160px;
}

.season-autumn::before {
    background:
        radial-gradient(circle at 25% 45%, rgba(255,154,99,0.20), transparent 60%),
        radial-gradient(circle at 70% 35%, rgba(122,60,255,0.12), transparent 60%),
        radial-gradient(circle at 55% 80%, rgba(15,107,118,0.10), transparent 60%),
        linear-gradient(135deg, rgba(255,154,99,0.16), rgba(255,47,109,0.10));
}

.season-autumn::after {
    background:
        radial-gradient(circle at 28% 55%, rgba(255,154,99,0.20) 0 6px, transparent 7px),
        radial-gradient(circle at 62% 28%, rgba(255,47,109,0.16) 0 6px, transparent 7px),
        radial-gradient(circle at 78% 70%, rgba(122,60,255,0.14) 0 6px, transparent 7px);
    background-size: 220px 220px;
}

/* keep text above overlays */
.intake-card > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--slate-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* CTA Section Button Styles */
.cta-section .btn-primary {
    background: #0a3a47;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(10, 58, 71, 0.4);
}

.cta-section .btn-primary:hover {
    background: #08323d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 58, 71, 0.5);
}

.cta-section .btn-secondary {
    background: transparent;
    color: #A8C4C8;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #A8C4C8;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section .btn-secondary:hover {
    background: rgba(168, 196, 200, 0.1);
    border-color: #B8D4D8;
    color: #B8D4D8;
}

.cta-section .btn-secondary i {
    color: #A8C4C8;
    font-size: 0.9rem;
}

.cta-section .btn-secondary:hover i {
    color: #B8D4D8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.3fr; /* About | Quick Links | Contact */
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--vibrant-cyan);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-info li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-info li i {
    color: var(--vibrant-cyan);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--vibrant-cyan);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

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

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

.social-links a:hover {
    background: var(--brand-gradient);
    transform: translateY(-3px);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite, blink 2s infinite;
}

.whatsapp-float::before {
    content: 'Need Help? Chat Now';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--deep-teal);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--deep-teal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: pulse 2s infinite;
    opacity: 1;
    filter: brightness(1.2);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


/* ============================================
   FORM STYLES
   ============================================ */
.form-container {
    max-width: 700px;
    margin: 100px auto 50px;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-teal);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.12);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-green);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--deep-teal);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.25);
}

.form-submit:hover {
    background: var(--slate-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.35);
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-page {
    max-width: 900px;
    margin: 100px auto 50px;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.privacy-page h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-page h2 {
    color: var(--deep-teal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-page p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-page li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-page-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    padding: 120px 0 80px;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1rem;
}

.contact-page-intro {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1rem;
}

.contact-number {
    font-size: 1.1rem;
    color: #343a40;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-link {
    color: var(--whatsapp-green);
}

.whatsapp-link i {
    font-size: 1.2rem;
}

.whatsapp-link:hover {
    color: #1da851;
    text-decoration: underline;
}

.tiktok-link {
    color: #343a40;
}

.tiktok-link i {
    font-size: 1.2rem;
}

.tiktok-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.contact-form-column {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
}

.form-guidance {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.form-guidance a {
    color: var(--deep-teal);
    text-decoration: underline;
}

.form-guidance a:hover {
    color: var(--slate-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #343a40;
    transition: var(--transition);
    background: var(--white);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(15, 107, 118, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--deep-teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: var(--slate-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 92, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
/* From 964px: 3-bar menu + hero text up, image below (centered) */
@media (max-width: 964px) {
    .navbar-container {
        padding: 0.65rem 1.25rem;
    }

    .navbar-logo img {
        height: 46px;
    }

    .hero {
        margin-top: 55px;
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.2rem;
    }

    .navbar-menu {
        position: fixed;
        top: 58px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        z-index: 999;
    }

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

    /* Hero: text on top, image below, centered – smaller text/buttons, less gap to image */
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        text-align: center;
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-info-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    /* After 964px: hide the three photos, show only your single composite image below text */
    .hero-image-1,
    .hero-image-2,
    .hero-image-3 {
        display: none !important;
    }

    .hero-collage-single {
        display: block;
        order: 2;
        width: 100%;
        max-width: 380px;
        margin: 0.75rem auto 0;
    }

    .hero-collage-single img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-images {
        order: 2;
        height: auto;
        min-height: 0;
        max-width: 100%;
        margin: 0 auto;
        position: relative;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-images {
        height: 480px;
    }

    .hero-image-1 {
        width: 240px;
        height: 300px;
        top: 0;
        left: 50%;
        transform: translateX(-58%) rotate(-6deg);
    }

    .hero-image-2 {
        width: 220px;
        height: 280px;
        top: 90px;
        left: 50%;
        transform: translateX(-42%) rotate(7deg);
    }

    .hero-image-3 {
        width: 200px;
        height: 250px;
        top: 175px;
        left: 50%;
        transform: translateX(-52%) rotate(-5deg);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .section { padding: 60px 0; }

    .form-container {
        padding: 2rem;
        margin: 80px auto 30px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i { font-size: 1.5rem; }

    /* stack footer columns on small screens */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Contact page responsive */
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-page-title {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-images {
        height: 400px;
    }
    
    .hero-image-1 {
        width: 180px;
        height: 220px;
        top: 0;
        left: 50%;
        transform: translateX(-58%) rotate(-6deg);
    }
    
    .hero-image-2 {
        width: 160px;
        height: 200px;
        top: 70px;
        left: 50%;
        transform: translateX(-42%) rotate(7deg);
    }
    
    .hero-image-3 {
        width: 140px;
        height: 170px;
        top: 135px;
        left: 50%;
        transform: translateX(-52%) rotate(-5deg);
    }
}
