/* ==========================================================================
   MESH TRAINING - MAIN STYLESHEET
   ========================================================================== */

/* CSS RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* COLOR PALETTE - MESH TRAINING BRAND */
    --primary-color: #F89521;        /* Orange */
    --secondary-color: #e26f00;      /* Darker orange */
    --accent-color: #ffad4d;         /* Light orange accent */
    --text-primary: #1f2937;         /* Dark gray for main text */
    --text-secondary: #4b5563;       /* Medium gray for secondary text */
    --text-light: #6b7280;           /* Light gray for subtle text */
    --bg-primary: #ffffff;           /* Pure white background */
    --bg-secondary: #f8fafc;         /* Very light gray background */
    --bg-dark: #0f172a;              /* Dark navy background */
    --border-color: #e2e8f0;         /* Light gray borders */
    --success: #059669;              /* Green for success states */
    --success-color: #059669;        /* Green for success states (alias) */
    --warning: #d97706;              /* Orange warning */
    --error: #dc2626;                /* Red for errors */
    --error-color: #dc2626;          /* Red for errors (alias) */
    --primary-dark: #ea580c;         /* Darker primary color for hover states */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* TYPOGRAPHY */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* SPACING */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
    --grid-gap: 2rem;
    --header-height: 82px; /* approximate header height (logo 50px + 2rem padding) */
    
    /* TRANSITIONS */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    
    /* SHADOWS */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* BASE STYLES */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--secondary-color);
}

/* BUTTONS */
.btn-primary,
.btn-secondary,
.btn-book,
.btn-large,
.btn-info {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Alternate dark button */
.btn-info {
    background-color: #0F172A; /* slate-900 */
    color: #ffffff;
}

.btn-info:hover {
    background-color: #1e293b; /* slate-800 */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* LinkedIn branded button */
.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #0A66C2;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: filter var(--transition-fast);
}
.btn-linkedin:hover { filter: brightness(0.95); }

/* Hero specific CTA hover: turn orange with white text */
.btn-hero-book {
    background:#fff;
    color:#F89521;
    border-color:#F89521;
}
.btn-hero-book:hover {
    background:#F89521;
    color:#fff;
    border-color:#F89521;
}

.btn-book {
    background-color: var(--primary-color);
    color: white;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--primary-color);
}

.btn-book:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--primary-color);
}

.btn-large:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#main-header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo h1, .nav-logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    transition: all var(--transition-smooth);
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.nav-link.active:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* DROPDOWN NAVIGATION */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-primary);
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    margin-bottom: 1rem;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.dropdown-content a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* HEADER BOOKING BUTTON */
.header-booking {
    margin-left: 1rem;
}

/* NAV ACTIONS (Contact + Hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions .header-booking {
    margin-left: 0; /* use gap for spacing so button sits close to hamburger */
}

/* MOBILE MENU TOGGLE */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* MOBILE MENU STYLES */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 999;
}

.nav-menu.mobile-active .nav-item {
    margin-bottom: 1rem;
}

.nav-menu.mobile-active .nav-link {
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* SCROLLED NAVBAR STATE */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */

main {
    min-height: 80vh;
}

section {
    padding: var(--section-padding);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--neutral-800) 100%);
    color: white;
    text-align: center;
    padding: clamp(2rem, 6vh, 4rem) 0;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: center;
    /* Default hero height for inner pages (shorter) */
    min-height: 40vh;
    max-height: none;
}

/* Home page hero remains full viewport height */
body#index .hero-section {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-splash {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* GSAP Split Text Animation Styles */
.hero-title-animated,
.hero-subtitle-animated {
    overflow: hidden;
    position: relative;
}

.char-animation,
.word-animation {
    display: inline-block;
    transform-origin: center bottom;
}

.char-animation {
    min-width: 0.1em; /* Prevent layout shifts for spaces */
}

.word-animation {
    margin-right: 0;
}

.word-animation:last-child {
    margin-right: 0;
}

/* Hero subtitle specific styles */
.hero-subtitle-animated .word-animation {
    margin-right: 0; /* Remove extra spacing; spacing provided by inserted &nbsp; spans */
}

/* Performance optimization for animations */
.char-animation,
.word-animation {
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ENHANCED SERVICES SECTION */
.services-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    letter-spacing: 0; /* normalize heading spacing */
    word-spacing: normal;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.06);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.12);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
    font-size: 1.4rem;
}

.service-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-duration {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left; /* left-align body copy */
}

.service-card .service-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card .service-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(57%) sepia(94%) saturate(1352%) hue-rotate(16deg) brightness(101%) contrast(97%);
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-emoji {
    font-size: 3rem;
    display: block;
    transition: all var(--transition-smooth);
}

.service-card:hover .service-emoji {
    transform: scale(1.15);
}

.service-features {
    margin: 2rem 0;
    text-align: left;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-features p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Services section: center text and use black body copy above CTA */
.services-section .service-card p,
.services-section .service-features p {
    text-align: center;
    color: #000;
}

.services-section .service-features {
    text-align: center;
}

/* Align CTA buttons across service cards */
.service-card > .btn-primary,
.service-card > .btn-secondary,
.service-card > .btn-book,
.service-card > .btn-large,
.service-card > .btn-service-white {
    margin-top: auto;
    align-self: center;
}

/* White button for blue service cards */
.btn-service-white {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-smooth);
    background-color: white;
    color: #F89521;
    border: 2px solid white;
}

.btn-service-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Home page specific: add orange outline to white service buttons */
#index .btn-service-white {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Accessible focus for white service buttons */
.btn-service-white:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* CERTIFICATION SECTION */
.certification-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

/* CERTIFICATION INFO */
.certification-info {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    text-align: center;
}

.certification-info .info-content h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.certification-info .info-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cert-badges img {
    height: 80px;
    width: auto;
}

.certification-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.certification-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.2);
}

.certification-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.cert-level {
    display: inline-block;
    background: var(--neutral-100);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.cert-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.cert-content {
    margin: 2rem 0;
}

.cert-content h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cert-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.cert-content li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.cert-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* PACKAGES SECTION */
.packages-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.packages-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.packages-section p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.package-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(248, 149, 33, 0.2);
}

.package-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.package-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--neutral-100);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* WORKFLOWS SECTION */
.workflows-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.workflow-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.workflow-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

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

/* TOOLS SECTION */
.tools-section {
    background-color: var(--bg-secondary);
}

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

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
}

.tool-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

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

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

/* ENHANCED CONTACT SECTION */
.contact-section {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Make the FAQ span full width beneath the two cards */
.contact-section .contact-faq {
    grid-column: 1 / -1;
}

/* (Removed) FAQ full-width span rule for contact layout – not needed now */

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Override for main contact form */
#main-contact-form.contact-form {
    border: 2px solid var(--bg-dark) !important;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 149, 33, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 0.875rem 1.5rem;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.contact-method {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method h3::before {
    content: '●';
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-smooth);
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Contact FAQ Section */
.contact-faq {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: 4rem;
}

.contact-faq h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.faq-item {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform var(--transition-smooth);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-link {
    text-align: center;
}

/* ==========================================================================
   MESH TRAINING SPECIFIC SECTIONS
   ========================================================================== */

/* HERO HIGHLIGHTS */
.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 1.2rem;
}

/* HERO CONTACT FORM */
.hero-contact-form {
    max-width: 500px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: left; /* override hero center alignment */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.is-visible {
    display: flex;
}

.modal-content {
    width: min(720px, 95vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-2xl, 0 25px 50px rgba(0,0,0,0.25));
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: 1rem 1.25rem 1.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-title-animated {
    text-align: center;
    line-height: 1.2; /* prevent descenders like g/y from clipping */
    overflow: visible; /* allow animated spans to render fully */
    padding-bottom: 0.1em; /* extra breathing room for descenders */
}

.hero-subtitle-animated {
    text-align: center;
}

.hero-contact-form input,
.hero-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.hero-contact-form .form-row-inline {
    display: grid;
    grid-template-columns: auto 1fr; /* checkbox width + text */
    column-gap: 0.25rem; /* tighter gap between box and label */
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-contact-form .form-row-inline label {
    margin: 0;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero-contact-form .form-row-inline label a {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.hero-contact-form .form-row-inline label a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.hero-contact-form .form-row-inline input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.hero-contact-form input:focus,
.hero-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hero-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem; /* unify vertical spacing below two-column rows */
}

/* Avoid double spacing inside two-column rows */
.hero-contact-form .form-row input {
    margin-bottom: 0;
}

/* Ensure inline checkbox rows don't inherit the two-column + large gap layout */
.hero-contact-form .form-row.form-row-inline {
    grid-template-columns: auto 1fr;
    gap: 0.25rem; /* override the 1rem gap */
    align-items: center;
    margin-bottom: 0.5rem;
}

/* PARTNERS SECTION */
.partners-section {
    background-color: var(--neutral-50);
    padding: 1rem 0 1.5rem;
    text-align: center;
}

.partners-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.partners-carousel {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: carousel-scroll 25s linear infinite;
    width: max-content;
    padding: 0;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background-color: var(--bg-primary);
    border-radius: 1rem;
    border: 3px solid var(--border-color);
    transition: all var(--transition-smooth);
    flex-shrink: 0;
    min-width: 160px;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    width: 75%;
    height: 75%;
    max-width: none;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    filter: grayscale(100%) opacity(0.7);
    transition: filter var(--transition-smooth);
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

.carousel-controls {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0 1rem;
}

.carousel-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 9999px;
    width: 64px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: all var(--transition-smooth);
    pointer-events: all;
    box-shadow: var(--shadow-lg);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
}

@keyframes carousel-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Full-bleed, continuous partners carousel overrides */
.partners-section .partners-carousel {
    width: 100vw;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.partners-section .carousel-track {
    animation: carousel-scroll 55s linear infinite !important;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.partners-section .carousel-track:hover {
    animation-play-state: running !important; /* never pause on hover */
}

/* Removed orange boundary lines at carousel edges */

/* TESTIMONIALS */
.testimonials-section {
    background-color: var(--bg-dark);
    padding: 4rem 0;
}

.testimonial-quote {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-content blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: white;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-content cite {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-semibold);
}

.testimonial-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: none;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    display: block;
}

.testimonial blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial cite {
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
}

/* SPECIALIZATION SCROLL */
.specialization-section {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
    overflow: hidden;
}

.specialization-scroll {
    width: 100%;
    overflow: hidden;
}

.specialization-items {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.specialization-items span {
    white-space: nowrap;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem;
    background-color: var(--neutral-100);
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CALLOUT SECTIONS */
.callout-section,
.education-pledge-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.callout-content h2,
.education-pledge-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.callout-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* VR CONFIGURATOR CTA SECTION */
.configurator-cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Grid background removed for configurator-cta-section */
/* .configurator-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
} */

.configurator-cta-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.configurator-cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.configurator-cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.configurator-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-smooth);
    min-width: 0; /* allow wrapping inside grid cell */
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.95);
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.configurator-cta-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.configurator-cta-actions a {
    display: block;
    width: 100%;
    text-align: center;
}

.configurator-cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
}

/* When actions are moved below on mobile, add spacing */
.configurator-cta-content.actions-below .configurator-cta-actions {
    margin-top: 1.25rem;
}

/* White card and list styles for configurator CTA visual */
.configurator-cta-visual .profile-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slideshow-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slideshow-card .package-header-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.slideshow-card .package-subtitle { color: var(--text-secondary); margin-bottom: 0.5rem; }
.btn-block { width:100%; text-align:center; }

/* Themed outlines */
.theme-bronze .slideshow-card { border: 3px solid #cd7f32; box-shadow: 0 0 0 2px rgba(205,127,50,0.2); }
.theme-silver .slideshow-card { border: 3px solid #c0c0c0; box-shadow: 0 0 0 2px rgba(192,192,192,0.25); }
.theme-gold .slideshow-card { border: 3px solid #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,0.25); }

/* Ensure equal height within the slideshow container - handled by absolute positioning below */

/* Enhanced slide animations */
@keyframes slideInFromRight {
    from { 
        opacity: 0; 
        transform: translateX(40px) scale(0.95); 
        filter: blur(2px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
        filter: blur(0);
    }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0; 
        transform: translateX(-40px) scale(0.95); 
        filter: blur(2px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
        filter: blur(0);
    }
}

.slideshow-enter-next { 
    animation: slideInFromRight 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.slideshow-enter-prev { 
    animation: slideInFromLeft 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.configurator-cta-visual .feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem 0;
    text-align: left;
}

.configurator-cta-visual .feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.configurator-cta-visual .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Package Slideshow Styles */
.package-slideshow-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.slideshow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.package-slideshow {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 0.75rem;
}

.package-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: none;
    z-index: 0;
}

.package-slide.active {
    opacity: 1;
    visibility: visible;
    display: block !important;
    z-index: 1;
}

.package-card {
    background: white;
    height: 100%;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.package-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.package-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Themed borders */
.configurator-cta-visual .theme-bronze .package-card {
    border: 3px solid #cd7f32;
    box-shadow: 0 0 0 2px rgba(205,127,50,0.2), var(--shadow-md);
}

.configurator-cta-visual .theme-silver .package-card {
    border: 3px solid #c0c0c0;
    box-shadow: 0 0 0 2px rgba(192,192,192,0.25), var(--shadow-md);
}

.configurator-cta-visual .theme-gold .package-card {
    border: 3px solid #f59e0b;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.25), var(--shadow-md);
}

/* Navigation buttons */
.slideshow-nav {
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    flex-shrink: 0;
}

.slideshow-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Indicators */
.slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slideshow-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--neutral-300);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.slideshow-indicators .indicator.active {
    background: var(--primary-color);
}

.slideshow-indicators .indicator:hover {
    background: var(--primary-color);
}

/* Simple packages slider */
.packages-slider { display:flex; gap: 1rem; overflow-x:auto; padding: 0.5rem; scroll-snap-type: x mandatory; }
.packages-slider .slide { min-width: 280px; scroll-snap-align: start; }
.packages-slider .package-card-horizontal { width: 100%; }

.vr-devices-showcase { display: none; }

.device-item { display: none; }

.device-item:hover {}

.device-icon {
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(248, 149, 33, 0.3);
}

.device-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.device-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.device-item span {}

/* JOURNEY SECTION */
.journey-section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.journey-profile {
    align-self: start;
    display: flex;
}

.journey-profile .profile-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.journey-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.profile-card {
    background-color: var(--bg-primary);
    padding: 1rem;
    padding-bottom: 0.75rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 4px solid var(--primary-color);
}

.profile-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.profile-card p {
    color: var(--text-secondary);
    font-style: italic;
}

/* PAGE HEADERS */
.page-header {
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-700));
    color: white;
    text-align: center;
    padding: 4rem 0;
    min-height: 40vh;
    display: grid;
    align-content: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* FORM ENHANCEMENTS */
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.privacy-notice a {
    color: var(--primary-color);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#main-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */

.blog-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-main {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
    border: 1px solid #e2e8f0;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-post.featured {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.blog-post h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-post h2:hover {
    color: var(--secondary-color);
    cursor: pointer;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.post-meta .date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-meta .date::before {
    content: '📅';
    font-size: 0.8rem;
}

.post-meta .category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-meta .tags {
    background: #e2e8f0;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-post p {
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.read-more::after {
    content: '→';
    transition: transform var(--transition-smooth);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-smooth);
}

.category-list a:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    transform: translateX(4px);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 149, 33, 0.1);
}

.newsletter-form button {
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* TABLET STYLES */
@media (max-width: 768px) {
    /* CALLOUT SECTION: Cover on mobile and scale 1.25x */
    .callout-section[style*="Around-Festival-Workshop-Background-Image.webp"] {
        background-size: 125% !important;
        background-position: center !important;
    }
    
    /* ABOUT (About us) section: reduce top padding on mobile */
    .about-gravity-section {
        padding-top: 1.5rem;
    }
    /* TYPOGRAPHY */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    /* HERO SECTION */
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* HERO HIGHLIGHTS */
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-contact-form {
        margin: 2rem auto 0;
        padding: 1.5rem;
    }
    
    .hero-contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    /* JOURNEY SECTION */
    .journey-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .journey-section h2 {
        text-align: center;
    }
    
    /* PARTNERS CAROUSEL */
    .partners-carousel {
        /* full-bleed so items enter from off-screen */
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    
    .carousel-track {
        gap: 1.5rem;
        animation-duration: 20s;
    }
    
    .partner-logo {
        padding: 1rem;
        min-width: 160px;
        aspect-ratio: 1 / 1;
        border-width: 3px;
    }
    
    .partner-logo img {
        width: 78%;
        height: 78%;
        max-width: none;
        aspect-ratio: 1 / 1;
    }
    
    .carousel-controls {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* TESTIMONIALS */
    .testimonial-quote {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .testimonial-content blockquote {
        font-size: 1.1rem;
    }
    
    /* SPECIALIZATION SCROLL */
    .specialization-items {
        animation-duration: 20s;
    }
    
    /* NAVIGATION */
        .nav-menu,
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    /* GRIDS */
    .services-grid,
    .workflows-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    /* CONTACT */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* CONFIGURATOR CTA */
    .configurator-cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .configurator-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .configurator-cta-text h2 {
        font-size: 2rem;
    }

    .vr-devices-showcase { display:none; }
    .device-item { display:none; }

    .device-icon {
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
    }
}

/* MOBILE STYLES */
@media (max-width: 480px) {
    /* ABOUT (About us) section: slightly tighter on smallest phones */
    .about-gravity-section {
        padding-top: 1rem;
    }
    /* Gravity Sketch section: even tighter on smallest devices */
    #gravity-sketch.about-gravity-section {
        padding-top: 0.5rem;
    }
    /* CONTAINER */
    .container {
        padding: 0 0.75rem;
    }
    
    /* NAVIGATION */
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .nav-logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-logo .logo {
        height: 40px;
    }
    
    .header-booking {
        margin-left: 0.5rem;
    }
    
    .btn-book {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* HERO */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* HERO HIGHLIGHTS */
    .highlight-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-contact-form {
        padding: 1rem;
        margin: 1.5rem auto 0;
    }
    
    /* PAGE HEADERS */
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    /* PROFILE CARDS */
    .profile-image img {
        width: 120px;
        height: 120px;
    }
    
    /* TESTIMONIALS */
    .testimonial {
        padding: 1rem;
    }
    
    .testimonial blockquote {
        font-size: 1rem;
    }
    
    /* SECTIONS */
    section {
        padding: 3rem 0;
    }
    
    /* CARDS */
    .service-card,
    .workflow-card,
    .tool-card {
        padding: 1.5rem;
    }
    
    /* CONTACT FORM */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* CONFIGURATOR CTA */
    .configurator-cta-section {
        padding: 3rem 0;
    }
    
    .configurator-cta-text h2 {
        font-size: 1.75rem;
    }
    
    .configurator-cta-text p {
        font-size: 1rem;
    }
    
    .vr-devices-showcase { display:none; }
    .device-item { display:none; }
    
    .device-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    
    .device-item span {}
    
    .configurator-cta-actions {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    
    /* PARTNERS CAROUSEL - SMALLEST MOBILE */
    .partner-logo {
        padding: 1rem;
        min-width: 140px;
    }
    
    .partner-logo img {
        height: 100px;
        max-width: 250px;
    }
    
    .carousel-track {
        gap: 1.5rem;
        animation-duration: 18s;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* HOVER STATES FOR NON-TOUCH DEVICES */
@media (hover: hover) {
    .service-card:hover,
    .workflow-card:hover,
    .tool-card:hover {
        cursor: pointer;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* MISSING SECTION STYLES */
.about-gravity-section {
    padding: 1.25rem 0 2rem; /* tighter top spacing on desktop */
    background-color: var(--bg-secondary);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* TRAINING GALLERY SECTION */
.training-gallery-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    position: relative;
    overflow: hidden;
}

.training-gallery-section::before {}

.training-gallery-section > .container { position: relative; z-index: 1; }

.training-gallery-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.training-gallery-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
    text-wrap: balance;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.gallery-cta {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Areas chips merged into CTA */
.gallery-cta .cta-areas {
    margin: 1rem 0 1.5rem;
}

.gallery-cta .within-cta .specialization-items {
    animation-duration: 22s;
}

.gallery-cta .specialization-items span {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile responsiveness for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
}

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

@media (min-width: 1025px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.education-pledge-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.education-pledge-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.client-testimonials {
    background-color: var(--neutral-100);
    padding: 3rem 0;
}

.company-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* FORM ENHANCEMENTS */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* FORM ERROR STATES */
input.error, textarea.error, select.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.form-success {
    background-color: #f0f9ff;
    border: 1px solid var(--success-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--success-color);
    margin: 0;
}

/* LOADING STATE */
button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

button.loading::after {
    content: "...";
    animation: loading-dots 1s infinite;
}

@keyframes loading-dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

/* NOTIFICATION SYSTEM */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-error {
    border-left-color: var(--error-color);
}

.notification-info {
    border-left-color: var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background-color: var(--success-color);
}

.notification-error .notification-icon {
    background-color: var(--error-color);
}

.notification-info .notification-icon {
    background-color: var(--primary-color);
}

.notification-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* FOOTER ENHANCEMENTS */
.footer-legal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--border-color);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* FOOTER COMPONENT STYLING */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer .footer-section h3,
.footer .footer-section h4 {
    color: white;
}

.footer .footer-section p,
.footer .footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer .footer-section ul li a:hover {
    color: white;
}

/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ENHANCED BLOG LAYOUT */
@media (min-width: 768px) {
    .blog-layout {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

.blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-main {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform var(--transition-smooth);
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-post:hover::before {
    transform: scaleY(1);
}

.blog-post.featured {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.blog-post h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.blog-post h2:hover {
    color: var(--secondary-color);
    cursor: pointer;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
    align-items: center;
}

.post-meta .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta .date::before {
    content: '📅';
    font-size: 0.8rem;
}

.post-meta .category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-meta .tags {
    background: #e2e8f0;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-post p {
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-smooth);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
}

.read-more::after {
    content: '→';
    transition: transform var(--transition-smooth);
}

.read-more:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* Enhanced Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all var(--transition-smooth);
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.category-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-smooth);
}

.category-list a:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: var(--primary-color);
    transform: translateX(8px);
}

.category-list a:hover::before {
    transform: scaleY(1);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left var(--transition-smooth);
    z-index: -1;
}

.tag:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.tag:hover::before {
    left: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.875rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 149, 33, 0.1);
}

.newsletter-form button {
    padding: 0.875rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* ENHANCED FAQ SECTION */
.faq-section {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 3rem;
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.faq-search input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 149, 33, 0.1);
}

.faq-search button {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.faq-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.faq-category {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-smooth);
    font-size: 0.9rem;
}

.faq-category:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-category.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.faq-item h3 {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1.5rem 2rem;
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.faq-item h3:hover {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.faq-item.active h3 {
    background: linear-gradient(135deg, #fff7ed, #fef3e2);
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform var(--transition-smooth);
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    padding: 1rem 2rem 2rem 2rem;
    max-height: 800px;
}

/* Accessible toggle open state (button + panel) */
.faq-toggle[aria-expanded="true"] + .faq-answer {
    padding: 1rem 2rem 2rem 2rem;
    max-height: 800px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.faq-contact {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-top: 4rem;
    border: 1px solid var(--border-color);
}

.faq-contact h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.faq-contact p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-options .btn-primary,
.contact-options .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ENHANCED EDUCATION PLEDGE PAGE */
.pledge-overview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.pledge-overview .lead-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Ensure three-in-a-row layout on larger screens */
@media (min-width: 992px) {
    .pledge-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pledge-card { /* ensure consistent height */
    display: flex;
    flex-direction: column;
}

.pledge-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.pledge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.pledge-icon h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pledge-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Ensure body text starts at the same vertical position across cards */
.pledge-card > h3 {
    line-height: 1.3;
    min-height: 2.6em; /* reserve space for up to two lines of title */
}

.pledge-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.eligibility-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.eligibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.eligibility-section h2 { color: #ffffff; }

.eligibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .eligibility-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.eligibility-list,
.eligibility-requirements {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.eligibility-list h3,
.eligibility-requirements h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.eligibility-list ul,
.eligibility-requirements ul {
    list-style: none;
    padding: 0;
}

.eligibility-list li,
.eligibility-requirements li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--neutral-100);
}

.eligibility-list li:last-child,
.eligibility-requirements li:last-child {
    border-bottom: none;
}

.eligibility-list li::before,
.eligibility-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.included-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

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

.included-category {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.included-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.included-category h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    text-align: center;
}

.included-category ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.included-category li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--neutral-100);
}

.included-category li:last-child {
    border-bottom: none;
}

.included-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-note {
    background: var(--neutral-50);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    border: 1px solid var(--neutral-200);
}

/* Align package notes to the bottom across included cards */
.included-category .package-note {
    margin-top: 0; /* overridden by footer layout */
}

/* Footer inside each included card to align button + note at the base */
.included-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-stories {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.success-stories h2 { color: #ffffff; text-align: center; }

/* Education success stories: new robust carousel */
.edu-carousel {
    margin-top: 3rem;
    position: relative;
}

.success-stories .edu-controls {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    row-gap: 0.75rem;
    align-items: center;
}

.success-stories .edu-controls .edu-dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.success-stories .edu-controls .edu-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
}

.success-stories .edu-controls .edu-dots button.is-active {
    background: var(--primary-color);
}

.success-stories .edu-controls .edu-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.success-stories .edu-controls .edu-nav.prev { grid-column: 1; justify-self: end; }
.success-stories .edu-controls .edu-nav.next { grid-column: 3; justify-self: start; }

.edu-carousel .edu-slide {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.edu-carousel .edu-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.edu-carousel .edu-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    height: 100%;
}

.edu-carousel .edu-quote blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 1.25rem 0;
}

.edu-carousel .edu-quote cite {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    font-size: 0.95rem;
}

/* Enhanced semantics: figure/figcaption styling for quotes */
.edu-carousel .edu-quote-figure {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.edu-carousel .edu-quote-figure blockquote {
    margin: 0 0 1rem 0;
}

.edu-carousel .edu-quote-figure blockquote p {
    margin: 0;
}

.edu-carousel .edu-quote-figure::before {
    content: '“';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.25;
    font-family: serif;
}

.edu-carousel .edu-quote-figure figcaption {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
}

.edu-carousel .edu-image {
    position: relative;
    aspect-ratio: 1 / 1;
    align-self: center;
}

.edu-carousel .edu-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edu-carousel .edu-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.edu-carousel .edu-nav.prev { left: 0.75rem; }
.edu-carousel .edu-nav.next { right: 0.75rem; }

.edu-carousel .edu-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.edu-carousel .edu-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
}

.edu-carousel .edu-dots button.is-active { background: var(--primary-color); }

/* Controls moved below carousel: buttons either side of pagination */
.edu-carousel .edu-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    row-gap: 0.75rem;
    margin-top: 1rem;
}

.edu-carousel .edu-controls .edu-nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    grid-row: 2;
}

.edu-carousel .edu-controls .edu-dots {
    position: static;
    grid-column: 1 / span 3;
    grid-row: 1;
    justify-self: center;
}

.edu-carousel .edu-controls .edu-nav.prev { grid-column: 1; justify-self: end; }
.edu-carousel .edu-controls .edu-nav.next { grid-column: 3; justify-self: start; }

@media (max-width: 768px) {
    .edu-carousel .edu-slide-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .edu-carousel .edu-image { height: auto; }
}

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

.story-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

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

.story-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.story-card cite {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    font-size: 0.9rem;
}

.application-process {
    background: linear-gradient(135deg, #0a2540 0%, #091a2c 100%);
    padding: 5rem 0;
}

.application-process h2 {
    color: #ffffff;
}

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

.step {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-enquiry {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.education-enquiry h2 {
    text-align: center;
    color: var(--text-primary);
}

.education-enquiry > .container > p {
    text-align: center;
    color: var(--text-secondary);
}

.education-form {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.education-form input,
.education-form select,
.education-form textarea {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.education-form input:focus,
.education-form select:focus,
.education-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

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

/* Education form layout improvements */
.education-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Avoid double spacing inside two-column rows */
.education-form .form-row input,
.education-form .form-row select,
.education-form .form-row textarea {
    margin-bottom: 0;
}

/* Mobile: stack two-column rows and tighten padding */
@media (max-width: 768px) {
    .education-form {
        padding: 1.5rem;
    }
    .education-form .form-row {
        grid-template-columns: 1fr;
    }
}

.form-checkbox {
    margin: 2rem 0;
}

.form-checkbox label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    white-space: normal;
    flex-wrap: wrap;
    text-align: left;
    max-width: 100%;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.education-form button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.education-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 149, 33, 0.3);
}

.contact-alternatives {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

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

.contact-methods .contact-method {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-methods .contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-methods .contact-method a {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.contact-methods .contact-method a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   MAIN CONTACT FORM - BLUE COLOR SCHEME
   ========================================================================== */

/* Blue color scheme for main contact form */
#main-contact-form {
    background: #0f172a;
    border: 2px solid #0f172a;
    position: relative;
    overflow: visible; /* allow native dropdown to render downward without clipping */
}

#main-contact-form::before {
    background: #111827;
    height: 6px;
    /* Ensure the top bar respects rounded corners even when overflow is visible */
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    /* Inset inside the 2px border to avoid square-looking corners */
    left: 2px;
    right: 2px;
    top: 2px;
}

/* Blue-themed form inputs with proper spacing */
#main-contact-form input,
#main-contact-form textarea,
#main-contact-form select {
    border: 2px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

/* Inline error state styles */
#main-contact-form .inline-error::placeholder {
    color: #ef4444; /* red-500 */
    opacity: 1;
}

#main-contact-form .inline-error {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Select inline error visual (uses first option text) */
#main-contact-form select.inline-error {
    color: #ef4444;
}

#main-contact-form input:focus,
#main-contact-form textarea:focus,
#main-contact-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
}

#main-contact-form input:hover,
#main-contact-form textarea:hover,
#main-contact-form select:hover {
    border-color: var(--primary-color);
}

/* Form row spacing */
#main-contact-form .form-row {
    margin-bottom: 1.5rem;
}

#main-contact-form .form-row input {
    margin-bottom: 0;
}

/* Contact submit button aligned to dark theme */
.btn-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 24, 39, 0.25);
    width: 100%;
    margin-top: 1rem;
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.35);
}

.btn-contact:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.25);
}

/* Blue-themed form notes and privacy notice */
#main-contact-form .form-note {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

#main-contact-form .privacy-notice {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1.5rem;
}

/* Secondary note under brochure date */
.brochure-design-note {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Prominent confirmation panel (similar to old site) */
.contact-confirmation {
    display: none;
    background: #111827;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.35);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 300ms ease, transform 300ms ease;
}

.contact-confirmation.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-confirmation h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contact-confirmation a.btn-primary {
    display: inline-block;
    margin-top: 0.75rem;
}

#main-contact-form .privacy-notice a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: underline;
}

#main-contact-form .privacy-notice a:hover {
    color: #ffffff;
}

/* Blue-themed select dropdown arrow */
#main-contact-form select {
    background-image: none;
    appearance: none;
    padding-right: 2.5rem;
}

/* Ensure dropdown options are readable (dark text on light background) */
#main-contact-form select option {
    color: #111827;
    background-color: #ffffff;
}

/* Placeholder/disabled option contrast */
#main-contact-form select option[disabled],
#main-contact-form select option[disabled][value=""] {
    color: #64748b;
}

/* ==========================================================================
   ENHANCED BLOG STYLES
   ========================================================================== */

/* Blog Controls */
.blog-controls {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.blog-search {
    display: flex;
    max-width: 400px;
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.blog-search input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.blog-search button {
    padding: 0.75rem 1rem;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-search button:hover {
    background: var(--primary-dark);
}

.blog-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-medium);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: none;
}

.post-image {
    position: relative;
    overflow: hidden;
}

.blog-post.featured .post-image {
    aspect-ratio: 16/9;
}

.blog-post:not(.featured) .post-image {
    aspect-ratio: 16/9;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
}

.featured-badge {
    background: var(--primary-color);
    color: white;
}

.post-content {
    padding: 2rem;
}

.blog-post.featured .post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-category {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.blog-post h2,
.blog-post h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post.featured h2 {
    font-size: 2rem;
}

.blog-post:not(.featured) h3 {
    font-size: 1.25rem;
}

/* Flexbox layout for non-featured posts to align buttons at bottom */
.blog-post:not(.featured) {
    display: flex;
    flex-direction: column;
}

.blog-post:not(.featured) .post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post:not(.featured) .post-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.blog-post p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Override: Blog listing images should be square and contain, not cover */
.blog-post .post-image { aspect-ratio: 1 / 1; background: #ffffff; }
.blog-post .post-image img { object-fit: contain; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    background: var(--bg-secondary);
    color: var(--text-light);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn:disabled:hover {
    background: var(--bg-secondary);
    color: var(--text-light);
    border-color: var(--border-color);
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ====================================
   GLOBAL FALLBACKS: Social icon visibility (Squarespace SVG symbols missing)
   ==================================== */
.sqs-svg-icon--outer nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.sqs-svg-icon--outer a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff !important;
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
}

/* If SVG references are broken, hide them and show text fallback */
.sqs-svg-icon--outer svg { display: none !important; }
.sqs-svg-icon--outer .instagram-unauth::before { content: 'IG'; }
.sqs-svg-icon--outer .linkedin-unauth::before  { content: 'in'; }
.sqs-svg-icon--outer .twitter-unauth::before   { content: 'X'; }
.sqs-svg-icon--outer .email::before            { content: '✉'; }

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--bg-secondary);
}

.privacy-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .blog-controls {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    }
    
    .newsletter-form {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .blog-post.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-post.featured .post-image {
        aspect-ratio: 16/9;
    }
    
    .blog-post.featured h2 {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .blog-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   AI IMPLEMENTATION FIXES
   ========================================================================== */

/* SUBMISSION FEEDBACK FIXES */
.submission-feedback {
    display: none;
}

.submission-feedback.is-visible {
    display: block;
}

/* GALLERY FIXES - Remove white overlay */
.gallery .card::after {
    content: none !important;
}

.gallery .img-wrap {
    position: relative;
    overflow: hidden;
    background: #000;
}

.gallery .img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* PACKAGES CTA SPACING FIXES */
.price-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.35;
}

.price-card li {
    margin: 0.2rem 0;
}

/* FAQ ACCESSIBLE BUTTON STYLING */
.faq-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-toggle:hover {
    color: var(--primary-color);
}

.faq-toggle::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.faq-toggle[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

/* PACKAGE CAROUSEL STYLING */
.package-carousel {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

/* Tab indicators */
.package-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.package-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border-bottom: 3px solid transparent;
    text-align: center;
}

.package-tab:hover {
    background: white;
}

.package-tab.active {
    background: white;
    border-bottom-color: var(--primary-color);
}

.tab-title {
    display: block;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 1rem;
}

.tab-price {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-top: 0.25rem;
}

/* Package content container */
.package-content-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.package-content-container .package-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    max-height: 500px;
    box-sizing: border-box;
}

.package-content-container .package-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.package-content-container .package-card.prev {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.package-card[data-package="silver"] {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fff8f0 0%, #fef0e6 100%);
}

.package-card[data-package="gold"] {
    border-color: #6366f1;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

/* Package header */
.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.package-badge {
    position: absolute;
    top: -28px;
    right: -12px;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 3;
}

.package-badge.starter {
    background: var(--neutral-600);
}

.package-badge.popular {
    background: var(--primary-color);
}

.package-badge.enterprise {
    background: #6366f1;
}

.package-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.package-price-large {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.package-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Package details */
.package-details {
    flex: 1;
    margin: 1rem 0;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Package footer */
.package-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.btn-package {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-package:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Progress indicator */
.carousel-progress {
    height: 4px;
    background: var(--neutral-200);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width linear;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .package-carousel {
        margin: 1rem 0;
    }
    
    .package-content-container {
        height: 520px;
    }
    
    .package-card {
        padding: 1.5rem;
        min-height: 480px;
        max-height: 520px;
    }
    
    .package-price-large {
        font-size: 1.8rem;
    }
    
    .package-features li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .package-badge {
        top: -24px;
        right: -8px;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ==========================================================================
   PACKAGE CAROUSEL STYLES
   ========================================================================== */

/* Carousel Container */
.packages-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2rem 0;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Carousel Track */
.packages-carousel {
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 1rem;
    flex: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.packages-carousel .carousel-track {
    display: flex;
    transition: transform 0.15s ease-in-out;
    will-change: transform;
    width: 300%; /* 3 cards = 300% */
}

.packages-carousel .carousel-track .package-card-horizontal {
    flex: 0 0 33.333%; /* Each card takes 1/3 of track width */
    margin: 0;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.15s ease, transform 0.15s ease;
    /* Make carousel cards square */
    aspect-ratio: 1 / 1;
}

/* Desktop: reduce carousel items to 50% size */
@media (min-width: 1024px) {
    .packages-carousel .carousel-track .package-card-horizontal {
        transform: scale(0.5);
    }
}

/* Navigation Buttons */
.carousel-nav {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(248, 149, 33, 0.3);
}

.carousel-nav:active {
    transform: scale(0.95);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

.carousel-nav.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Package Badge Styles for Carousel */
.package-card-horizontal .package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.package-badge.starter {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.package-badge.popular {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    animation: pulse-badge 2s infinite;
}

.package-badge.enterprise {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Content Layout Adjustments */
.package-card-horizontal .package-content-horizontal {
    flex: 1;
    margin: 1rem 0;
}

.package-card-horizontal .package-subtitle {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.package-card-horizontal .package-highlights {
    text-align: left;
    margin: 1rem 0;
}

.package-card-horizontal .package-highlights li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-primary);
}

/* Price Styling */
.package-card-horizontal .package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Button Styling */
.package-card-horizontal .btn-primary {
    margin-top: auto;
    align-self: stretch;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .packages-carousel-container {
        max-width: 100%;
        padding: 1rem 0;
    }
    
    .carousel-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .package-card-horizontal {
        min-height: 320px;
        padding: 1.25rem;
    }
    
    .package-card-horizontal .package-price {
        font-size: 1.5rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Touch and Swipe Support */
.packages-carousel {
    touch-action: pan-y;
    user-select: none;
}

.carousel-track {
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

/* Simple Slideshow Styles */
#simple-slideshow {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px; /* Space for nav buttons */
    box-sizing: border-box;
}

.slide-container {
    position: relative;
    height: clamp(420px, 45vw, 560px); /* adaptive height */
    overflow: hidden;
    border-radius: 0.75rem;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.slide.active {
    display: flex;
}

.bronze-slide {
    border: 3px solid #cd7f32;
    box-shadow: 0 0 0 2px rgba(205,127,50,0.2), var(--shadow-md);
}

.silver-slide {
    border: 3px solid #c0c0c0;
    box-shadow: 0 0 0 2px rgba(192,192,192,0.25), var(--shadow-md);
}

.gold-slide {
    border: 3px solid #f59e0b;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.25), var(--shadow-md);
}

.slide h3 {
    font-size: 1.875rem;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 0.5rem 0;
}

/* Maximize image area inside slides */
.slide img {
    width: 100%;
    height: calc(100% - 80px); /* fill remaining space below title */
    max-height: 420px;
    object-fit: contain;
    display: block;
}

.slide .price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.slide .subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.slide ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.slide ul li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

.slide ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Navigation buttons */
.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slide-prev {
    left: 0;
}

.slide-next {
    right: 0;
}

.slide-prev:hover, .slide-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

/* Dots */
.slide-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: var(--neutral-300);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

.dot:hover {
    background-color: var(--neutral-400);
}

/* Slideshow button */
.slide .btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    #simple-slideshow {
        width: 100%;
        margin: 0 auto;
        padding: 0 50px;
        box-sizing: border-box;
    }
    
    .slide-prev, .slide-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide {
        padding: 1.5rem;
    }
    
    .slide h3 {
        font-size: 1.5rem;
    }
    
    .slide .price {
        font-size: 2rem;
    }
    
    #simple-slideshow {
        width: 100%;
        max-width: 640px;
        padding: 0 50px;
    }
    
    .slide-container {
        height: clamp(360px, 80vw, 520px);
    }
    .slide img { height: calc(100% - 70px); max-height: 380px; }
}
/* Hide NordPass autofill icons that stick out over form fields */
nordpass-icon {
    display: none !important;
}

/* Remove built-in browser icons that can protrude in input corners */
.contact-form input::-ms-clear,
.contact-form input::-ms-reveal,
.contact-form input::-webkit-clear-button,
.contact-form input[type="search"]::-webkit-search-cancel-button,
.contact-form input[type="search"]::-webkit-search-decoration,
.contact-form input[type="search"]::-webkit-search-results-button,
.contact-form input[type="search"]::-webkit-search-results-decoration,
.contact-form input::-webkit-contacts-auto-fill-button,
.contact-form input::-webkit-credential-auto-fill-button,
.contact-form input::-webkit-credentials-auto-fill-button { 
    display: none !important;
    visibility: hidden;
}

/* Normalize appearance so browsers don’t inject native UI affordances */
#main-contact-form input[type="text"],
#main-contact-form input[type="email"],
#main-contact-form input[type="url"],
#main-contact-form input[type="search"],
#main-contact-form input[type="tel"] {
    -webkit-appearance: none;
    appearance: none;
}

/* Desktop: do not scale background image on the Around Festival callout */
@media (min-width: 1025px) {
    .callout-section[style*="Around-Festival-Workshop-Background-Image.webp"] {
        background-size: auto !important;
    }
}
