/* ===================================
   Siuslaw School Bond Website
   Design System & Shared Styles
   =================================== */

:root {
    /* School Colors - Navy Blue and Metallic Gold */
    --color-primary: #1e3a5f;
    --color-primary-dark: #0f2744;
    --color-primary-light: #2c5282;
    --color-accent: #c9a227;
    --color-accent-dark: #a68520;
    --color-accent-light: #dbb84d;

    /* Neutral colors */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-border: #e2e8f0;

    /* Text colors */
    --color-text: #1e293b;
    --color-text-muted: #475569;
    --color-text-light: #64748b;
    --color-text-inverse: #ffffff;

    /* Semantic colors */
    --color-success: #059669;
    --color-success-bg: #ecfdf5;
    --color-error: #dc2626;
    --color-error-bg: #fef2f2;
    --color-warning: #d97706;
    --color-warning-bg: #fffbeb;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.875rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.75rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* 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), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(214, 158, 46, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ===================================
   Base Reset
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-inverse);
}

.section-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-text-inverse);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.navbar-logo-image {
    height: 64px;
    width: auto;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .navbar-logo-image {
        height: 48px;
    }
}

.navbar-logo-placeholder {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.navbar-logo-text {
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
}

.navbar-logo-text span {
    color: var(--color-accent);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.navbar-link {
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-sm) 0;
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

.navbar-link:hover {
    color: var(--color-primary);
}

.navbar-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-text-inverse) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: transform var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}


.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    color: var(--color-text-inverse);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(214, 158, 46, 0.2);
    border: 1px solid var(--color-accent);
    color: var(--color-accent-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-inverse);
}

.hero-title span {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.hero-stat {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.hero-stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: var(--radius-2xl);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-lg);
}

.hero-image-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    min-height: 52px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--color-text-inverse);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--color-text-inverse);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    min-height: 60px;
}

/* ===================================
   Cards
   =================================== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-inverse);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--color-text-muted);
}

/* Feature Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* ===================================
   Stats Section
   =================================== */
.stats-bar {
    background: var(--color-surface);
    box-shadow: var(--shadow-lg);
    margin-top: calc(-1 * var(--space-3xl));
    position: relative;
    z-index: 10;
    border-radius: var(--radius-2xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
    border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}

.stat-value span {
    color: var(--color-accent);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===================================
   Image Placeholders
   =================================== */
.image-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
    color: var(--color-text-light);
    border: 2px dashed var(--color-border);
    min-height: 300px;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.image-placeholder span {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ===================================
   Map Viewer Section
   =================================== */
.map-section {
    background: var(--color-primary-dark);
}

.map-container {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-header {
    padding: var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-controls {
    display: flex;
    gap: var(--space-sm);
}

.map-control-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.map-control-btn:hover {
    background: var(--color-surface-hover);
}

.map-viewer {
    height: 600px;
    overflow: hidden;
    cursor: grab;
    position: relative;
    background: #f0f0f0;
}

.map-viewer:active {
    cursor: grabbing;
}

.map-viewer img {
    max-width: none;
    transform-origin: center center;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-lg);
    color: var(--color-text-light);
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

/* ===================================
   Newsletter Section
   =================================== */
.newsletter {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-text-inverse);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-text-inverse);
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-text-inverse);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-md);
}

.footer-heading {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-inverse);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    transition: background var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-disclaimer {
    max-width: 600px;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   FAQ Accordion
   =================================== */
.faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-surface-hover);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-muted);
}

/* ===================================
   Timeline
   =================================== */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-xl) + 4px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg);
}

.timeline-item.highlight::before {
    background: var(--color-accent);
    width: 16px;
    height: 16px;
    left: calc(-1 * var(--space-xl) + 2px);
}

.timeline-date {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.timeline-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.timeline-desc {
    color: var(--color-text-muted);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--color-border);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .hero-stat {
        width: 100%;
        max-width: 250px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: var(--space-md);
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .stat-value {
        font-size: var(--font-size-2xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .map-viewer {
        height: 400px;
    }

    /* Fix: Add space between hero and stats bar */
    .hero {
        padding-bottom: var(--space-3xl);
    }

    /* Fix: Cost breakdown grid - stack vertically on mobile */
    [style*="grid-template-columns: auto 1fr auto"] {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-md) !important;
        text-align: center;
    }

    /* Fix: Key improvement grid - stack on mobile */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix: Two-column grids in sections */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* ===================================
   Utility Classes
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: var(--space-md) !important;
}

.mb-2 {
    margin-bottom: var(--space-lg) !important;
}

.mb-3 {
    margin-bottom: var(--space-xl) !important;
}

.mb-4 {
    margin-bottom: var(--space-2xl) !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: var(--space-md) !important;
}

.mt-2 {
    margin-top: var(--space-lg) !important;
}

.mt-3 {
    margin-top: var(--space-xl) !important;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ===================================
   Tax Calculator Styles
   =================================== */
.intro-card,
.calculator-card,
.results-card,
.error-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-xl);
}

.intro-card h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.intro-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.rate-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-info-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.rate-label {
    font-weight: 600;
    color: var(--color-primary);
}

.rate-value {
    color: var(--color-text);
    font-weight: 500;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.input-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.address-input {
    width: 100%;
    padding: var(--space-lg);
    font-size: var(--font-size-lg);
    font-family: var(--font-family);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.address-input::placeholder {
    color: var(--color-text-light);
}

.address-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.15);
}

.calculate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--color-text-inverse);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-md);
    min-height: 60px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculate-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.calculate-btn:disabled .btn-loading {
    display: flex;
}

.calculate-btn:disabled .btn-text {
    display: none;
}

.btn-loading {
    display: none;
    align-items: center;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.input-hint {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.results-card {
    background: linear-gradient(135deg, var(--color-success-bg) 0%, #d1fae5 100%);
    border: 2px solid var(--color-success);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.results-icon {
    width: 32px;
    height: 32px;
    color: var(--color-success);
}

.results-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.results-address {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
}

.result-item.highlight {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.monthly-note {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.monthly-amount {
    font-weight: 700;
    color: var(--color-primary);
}

.error-card {
    background: var(--color-error-bg);
    border: 2px solid var(--color-error);
}

.error-card.info-card {
    background: var(--color-info-bg);
    border-color: var(--color-primary);
}

.error-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.error-icon {
    width: 28px;
    height: 28px;
    color: var(--color-error);
}

.info-card .error-icon {
    color: var(--color-primary);
}

.error-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-error);
    margin: 0;
}

.info-card .error-title {
    color: var(--color-primary);
}

.error-message {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.error-hint {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ===================================
   Navbar Logo Group (with subtext)
   =================================== */
.navbar-logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-logo-subtext {
    font-size: var(--font-size-xs);
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ===================================
   Hero Slider
   =================================== */
.hero-slider {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 39, 68, 0.85) 0%, rgba(15, 39, 68, 0.4) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    color: var(--color-text-inverse);
}

.slide-badge {
    display: inline-block;
    background: rgba(214, 158, 46, 0.3);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.slide-content h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-inverse);
    max-width: 700px;
}

.slide-content h1 span {
    color: var(--color-accent);
}

.slide-content p {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    max-width: 550px;
}

.slide-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    z-index: 10;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--color-text-inverse);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    display: flex;
    gap: var(--space-sm);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ===================================
   Key Points Section
   =================================== */
.key-points-section {
    background: var(--color-surface);
}

.key-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.key-point {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.key-point:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.key-point-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-point-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-inverse);
}

.key-point-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.key-point-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-point-content li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.key-point-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* ===================================
   Site Maps Section
   =================================== */
.site-maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.site-map-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.site-map-header {
    padding: var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-map-header h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
}

.site-map-viewer {
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    cursor: grab;
    position: relative;
    background: #f0f0f0;
}

.site-map-viewer:active {
    cursor: grabbing;
}

.site-map-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.site-map-legend {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg);
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    font-size: var(--font-size-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

/* Map Markers */
.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -32px;
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
}

.map-marker-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.map-marker:hover .map-marker-icon {
    transform: scale(1.2);
}

.map-marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary-dark);
    color: var(--color-text-inverse);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    margin-bottom: var(--space-sm);
}

.map-marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-primary-dark);
}

.map-marker:hover .map-marker-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   Benefits Grid (Simpler Style)
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-item svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
}

.benefit-item strong {
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.benefit-item span {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

/* ===================================
   Calculator Section (Moved Down)
   =================================== */
.calculator-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.calculator-intro h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.calculator-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.calc-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.calc-stat-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-primary);
}

.calc-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.calculator-widget {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
}

.calculator-widget .form-group {
    margin-bottom: var(--space-lg);
}

.calculator-widget label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.calc-results {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-success-bg);
    border-radius: var(--radius-lg);
    text-align: center;
}

.calc-error {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-error-bg);
    border-radius: var(--radius-md);
    color: var(--color-error);
    font-size: var(--font-size-sm);
}

.calc-note {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.calc-note a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===================================
   Page Hero (Secondary Pages)
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: calc(70px + var(--space-3xl)) 0 var(--space-3xl) 0;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: var(--font-size-4xl);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.page-hero p {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Testimonials Page Styles
   =================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.video-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-embed-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
}

.video-embed-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.video-note {
    font-size: var(--font-size-xs);
    opacity: 0.6;
}

.video-caption {
    padding: var(--space-lg);
}

.video-caption strong {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.video-caption p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    font-style: italic;
    margin: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.testimonial-quote svg {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.testimonial-author strong {
    display: block;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.social-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.social-image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
}

.social-image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* CTA Card */
.cta-card {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-form-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-form label {
    font-weight: 600;
    color: var(--color-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: var(--space-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.contact-form select {
    cursor: pointer;
}

.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--color-success);
    margin-bottom: var(--space-lg);
}

.form-success h3 {
    color: var(--color-success);
    margin-bottom: var(--space-sm);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.contact-details {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-detail strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.contact-detail a,
.contact-detail span {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.materials-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
}

.materials-card h3 {
    color: var(--color-text-inverse);
}

.materials-card p {
    color: rgba(255, 255, 255, 0.85);
}

.materials-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.materials-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-inverse);
}

.materials-list {
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}

.materials-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
}

.materials-list svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.volunteer-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
}

.volunteer-content h2 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.volunteer-content p {
    color: rgba(255, 255, 255, 0.8);
}

.volunteer-options {
    list-style: none;
    margin: var(--space-lg) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.volunteer-options li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
}

.volunteer-options svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

/* ===================================
   Additional Responsive Rules
   =================================== */
@media (max-width: 1024px) {
    .key-points-grid {
        grid-template-columns: 1fr;
    }

    .site-maps-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator-section {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .volunteer-options {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 65vh;
    }

    .slider-container {
        height: 65vh;
        min-height: 480px;
    }

    .slide-content {
        padding: 0 var(--space-md);
        padding-bottom: var(--space-3xl);
    }

    .slide-content h1 {
        font-size: var(--font-size-2xl);
        max-width: 90%;
    }

    .slide-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-md);
    }

    .slide-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-md);
        margin-bottom: var(--space-md);
        white-space: normal;
        line-height: 1.4;
    }

    .slide-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .slide-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }

    .slider-controls {
        bottom: var(--space-md);
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .slider-btn svg {
        width: 16px;
        height: 16px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .site-map-viewer {
        height: auto;
        min-height: 300px;
        aspect-ratio: 16 / 9;
        width: 100%;
        padding: 0 !important;
    }

    .navbar-logo-text-group {
        display: flex;
    }

    .navbar-logo-text-group .navbar-logo-text {
        font-size: 0.9rem;
    }

    .navbar-logo-text-group .navbar-logo-subtext {
        font-size: 0.6rem;
    }
}

/* Info Background Color */
:root {
    --color-info-bg: #eff6ff;
}