/* ==========================================================================
   Estima International School - Style Sheets (Professional & Fun style)
   ========================================================================== */

/* 1. Theme Variables & Base Styles */
:root {
    --color-bg-primary: #fbf4e9;     /* Cream background */
    --color-bg-secondary: #f3e6d6;   /* Richer sand cream */
    --color-text-dark: #442d15;      /* Warm dark brown */
    --color-text-light: #fefcf9;     /* Off-white */
    --color-gold: #f9b44e;           /* Warm sunny gold */
    --color-gold-hover: #e59d33;
    --color-navy: #093556;           /* Deep corporate navy */
    --color-navy-light: #164e7a;
    --color-green: #2d5a27;          /* Amazonian jungle green */
    --color-green-light: #3e7a37;
    --color-orange: #d95d39;         /* Accent terracotta orange */
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(68, 45, 21, 0.05);
    --shadow-md: 0 8px 20px rgba(68, 45, 21, 0.08);
    --shadow-lg: 0 16px 36px rgba(68, 45, 21, 0.12);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    min-height: 100%;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

p {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(68, 45, 21, 0.85);
}

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

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

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Interactive Canvas for Floating Particles */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-green-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(45, 90, 39, 0.25);
}

.btn-secondary {
    background-color: var(--color-gold);
    color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(249, 180, 78, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-text-dark);
    color: var(--color-text-dark);
}

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-bg-primary);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline-white:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Highlights */
.badge-fun {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(249, 180, 78, 0.15);
    color: #b07010;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 180, 78, 0.3);
}

.badge-fun.alt {
    background-color: rgba(45, 90, 39, 0.25);
    color: var(--color-gold);
    border: 1px solid rgba(249, 180, 78, 0.2);
}

.highlight-text {
    color: var(--color-gold);
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(249, 180, 78, 0.25);
    z-index: -1;
    border-radius: var(--radius-sm);
}

/* Wavy Section Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--color-bg-primary);
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider-top .shape-fill {
    fill: var(--color-bg-primary);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.85;
}

.text-center { text-align: center; }
.text-white { color: var(--color-text-light) !important; }
.text-light { color: rgba(254, 252, 249, 0.85) !important; }
.text-gold { color: var(--color-gold) !important; }


/* ==========================================================================
   2. Header & Navigation (Glassmorphism + Drawer)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(251, 244, 233, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(68, 45, 21, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.main-header.scrolled .header-logo {
    height: 48px;
}

.drawer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.logo-sub {
    color: var(--color-gold);
    text-transform: lowercase;
    font-weight: 400;
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-green);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-navy);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    color: var(--color-green);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg-primary);
    box-shadow: -8px 0 32px rgba(68, 45, 21, 0.15);
    z-index: 102;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: right var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-navy);
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 8px 0;
}

.drawer-link:hover {
    color: var(--color-green);
    padding-left: 8px;
}

.drawer-cta-btn {
    margin-top: 20px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(68, 45, 21, 0.4);
    backdrop-filter: blur(4px);
    z-index: 101;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.drawer-overlay.show {
    display: block;
    opacity: 1;
}


/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: visible;
    padding: 10px;
}

.hero-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 3;
    transition: transform var(--transition-slow);
}

.image-frame-wrapper:hover .hero-main-img {
    transform: scale(1.02) rotate(1deg);
}

.blob-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: var(--color-gold);
    border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
    z-index: 1;
    opacity: 0.35;
    animation: blob-bounce 8s infinite linear;
}

@keyframes blob-bounce {
    0%, 100% { border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%; }
    33% { border-radius: 50% 40% 70% 30% / 60% 40% 60% 40%; }
    66% { border-radius: 60% 50% 40% 60% / 40% 60% 50% 70%; }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background-color: var(--color-bg-primary);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 4;
    transition: all var(--transition-normal);
}

.floating-badge:hover {
    transform: translateY(-5px);
}

.badge-top-right {
    top: 30px;
    right: -40px;
    border-left: 4px solid var(--color-green);
}

.badge-bottom-left {
    bottom: 30px;
    left: -40px;
    border-left: 4px solid var(--color-orange);
}

.badge-icon {
    font-size: 1.3rem;
    color: var(--color-navy);
}

.badge-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}


/* ==========================================================================
   4. Video Gallery Showcase
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-primary);
    padding-bottom: 120px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 40px;
}

.video-card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
}

.main-video .video-wrapper {
    aspect-ratio: 16 / 9;
}

.vertical-video .video-wrapper {
    aspect-ratio: 9 / 16;
    max-height: 480px;
    margin: 0 auto;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    color: var(--color-navy);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.video-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}


/* ==========================================================================
   5. Pedagogy Section (Global Outdoor Models)
   ========================================================================== */
.pedagogy-section {
    background-color: var(--color-green);
    color: var(--color-text-light);
    padding-top: 140px;
    padding-bottom: 140px;
}

.pedagogy-section .shape-fill {
    fill: var(--color-green);
}

.science-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(254, 252, 249, 0.9);
}

.global-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.model-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.model-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
}

.model-card:hover::before {
    transform: scaleX(1);
}

.model-flag {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.model-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.model-name {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.model-description {
    font-size: 0.95rem;
    color: rgba(254, 252, 249, 0.8);
    line-height: 1.6;
}


/* ==========================================================================
   6. Pillars Section (Theorists tabs)
   ========================================================================== */
.pillars-section {
    background-color: var(--color-bg-primary);
}

.tab-component {
    margin-top: 50px;
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 2px solid rgba(68, 45, 21, 0.1);
    padding-bottom: 20px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding: 12px 20px;
    cursor: pointer;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    opacity: 0.7;
}

.tab-btn:hover {
    opacity: 1;
    background-color: rgba(68, 45, 21, 0.04);
}

.tab-btn.active {
    opacity: 1;
    background-color: var(--color-navy);
    color: var(--color-text-light);
}

.tab-icon {
    font-size: 1.15rem;
}

.tab-panels {
    margin-top: 40px;
}

.tab-panel {
    display: none;
    animation: fadeIn var(--transition-slow) forwards;
}

.tab-panel.active {
    display: block;
}

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

.panel-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.theorist-quote {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-orange);
    line-height: 1.35;
    margin-bottom: 24px;
    border-left: 4px solid var(--color-gold);
    padding-left: 18px;
}

.panel-text h3 {
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.panel-text p {
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.panel-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ph-item {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dark);
}

.ph-item i {
    color: var(--color-green);
}

.panel-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-circle {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-slow);
}

.illustration-circle:hover {
    transform: scale(1.08) rotate(5deg);
}

.color-yellow { background-color: #fbf0dc; color: var(--color-gold); }
.color-green { background-color: #eaf1e9; color: var(--color-green); }
.color-navy { background-color: #e5edf2; color: var(--color-navy); }
.color-orange { background-color: #fbf0ec; color: var(--color-orange); }
.color-gold { background-color: #fcf4e4; color: var(--color-gold); }


/* ==========================================================================
   7. International PYP Section
   ========================================================================== */
.intl-section {
    background-color: var(--color-navy);
    color: var(--color-text-light);
    padding-top: 140px;
    padding-bottom: 140px;
}

.intl-section .shape-fill {
    fill: var(--color-navy);
}

.intl-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.py-p-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.pyp-badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 140px;
    text-align: center;
    transition: background var(--transition-fast);
}

.pyp-badge:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.pyp-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-gold);
}

.pyp-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(254, 252, 249, 0.7);
}

.intl-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    border-left: 6px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.info-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 16px;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.95rem;
    color: rgba(254, 252, 249, 0.85);
}


/* ==========================================================================
   8. Testimonials Section
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 6rem;
    color: rgba(249, 180, 78, 0.2);
    font-family: var(--font-heading);
    line-height: 1;
}

.stars-row {
    color: var(--color-gold);
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--color-navy);
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.author-name {
    font-size: 1.05rem;
    color: var(--color-navy);
}

.author-relation {
    font-size: 0.85rem;
    opacity: 0.8;
}

.instagram-reel-promo {
    margin-top: 60px;
    text-align: center;
    background-color: var(--color-bg-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.instagram-reel-promo p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}


/* ==========================================================================
   9. Interactive Scheduler Section
   ========================================================================== */
.schedule-section {
    background-color: var(--color-bg-secondary);
    padding-bottom: 120px;
}

.schedule-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.schedule-info h2 {
    font-size: 2.6rem;
    color: var(--color-navy);
    margin-top: 10px;
    margin-bottom: 20px;
}

.schedule-info p {
    margin-bottom: 36px;
    font-size: 1.1rem;
}

.schedule-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-green);
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.contact-item strong {
    font-size: 1.15rem;
    color: var(--color-navy);
}

.schedule-form-wrapper {
    background-color: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.schedule-form-wrapper h3 {
    color: var(--color-navy);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.form-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 28px;
}

.visit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.form-group input, .form-group select {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(68, 45, 21, 0.15);
    background-color: var(--color-bg-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-green);
}

.message-preview-box {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    padding: 16px;
    border-left: 4px solid var(--color-gold);
}

.mp-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(68, 45, 21, 0.6);
    display: block;
    margin-bottom: 6px;
}

.mp-body {
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(68, 45, 21, 0.9);
    white-space: pre-wrap;
    line-height: 1.4;
}

.btn-shake:hover {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}


/* ==========================================================================
   10. Footer & Map
   ========================================================================== */
.main-footer {
    background-color: var(--color-navy);
    color: var(--color-text-light);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 4px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    background-color: var(--color-bg-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    color: rgba(254, 252, 249, 0.75);
    margin-top: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.footer-links h3, .footer-address h3 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(254, 252, 249, 0.75);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-address p {
    color: rgba(254, 252, 249, 0.75);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(254, 252, 249, 0.55);
}

/* Instagram Feed Section Styling */
.instagram-feed-section {
    background-color: var(--color-bg-primary);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.instagram-post-wrapper {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   11. Responsive Media Queries
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    h1 { font-size: 2.7rem; }
    h2 { font-size: 2rem; }
    
    .hero-container {
        gap: 30px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .vertical-video .video-wrapper {
        max-height: 400px;
    }
    
    .global-models-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tab-component {
        padding: 24px;
    }
    
    .panel-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .panel-illustration {
        order: -1;
    }
    
    .intl-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Phones & Small Tablets */
@media (max-width: 768px) {
    :root {
        --radius-lg: 24px;
        --radius-md: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-badge {
        display: none; /* Hide floating badges on mobile to prevent layout overflow */
    }
    
    .tab-buttons {
        justify-content: flex-start;
    }
    
    .panel-highlights {
        grid-template-columns: 1fr;
    }
    
    .schedule-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}
