/**
 * Main Stylesheet for WITS-LLC
 * Modern, responsive design
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header and Navigation */
header {
    background-color: rgb(107, 143, 163); /* Blue color matching WITS admin login (#6b8fa3) */
    color: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Hamburger Menu Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* Header Toggle Arrow */
.header-toggle-arrow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background-color: rgb(128, 128, 128);
    color: #ffffff;
    border: none;
    width: 60px;
    height: 30px;
    border-radius: 0 0 30px 30px; /* Half circle (semicircle at bottom) */
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.4;
}

.header-toggle-arrow.visible {
    display: flex;
}

.header-toggle-arrow:hover {
    background-color: rgb(96, 96, 96);
    opacity: 1;
    height: 35px;
}

.header-toggle-arrow svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.3s ease;
    opacity: 0.4;
}

.header-toggle-arrow:hover svg {
    opacity: 1;
}

.header-toggle-arrow.arrow-up svg {
    transform: rotate(180deg);
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping on desktop - use "More" dropdown instead */
    gap: 2rem; /* Ensure minimum gap between site title and nav menu */
}

.site-title {
    font-size: 3rem;
    font-weight: bold;
    white-space: nowrap; /* Prevent site name from wrapping */
    flex-shrink: 0; /* Prevent site title from shrinking */
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    height: 100px;
    width: auto;
    display: block;
}

.site-title-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-name {
    display: inline-block;
    font-family: 'Baskerville', 'Baskerville Old Face', 'Hoefler Text', 'Garamond', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap; /* Prevent site name from wrapping (e.g., "WITS-LLC") */
}

.site-location {
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap; /* Prevent wrapping - use "More" dropdown instead */
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* "More" Dropdown Styles */
.nav-more-container {
    position: relative;
    display: none; /* Hidden by default, shown via JavaScript */
    visibility: visible; /* Ensure visible when display is set to block */
}

.nav-more-button {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
    position: relative;
    padding-right: 2.5rem; /* Make room for arrow */
}

.nav-more-button::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffffff;
    transition: transform 0.3s ease;
    opacity: 0; /* Hidden by default */
}

.nav-more-button.has-items::after {
    opacity: 1; /* Show arrow when dropdown has items */
}

.nav-more-button[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg); /* Rotate arrow when open */
}

.nav-more-button:hover,
.nav-more-button[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-more-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgb(107, 143, 163); /* Site's default blue color */
    border: 4px solid rgb(107, 143, 163); /* Site's default blue color */
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 150px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-more-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Horizontal separator in dropdown (replaces vertical separator) */
.nav-more-item.nav-social-separator {
    display: block;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0.5rem 1rem;
    padding: 0;
    pointer-events: none;
    border: none;
    text-indent: -9999px; /* Hide the | character */
    overflow: hidden;
}

/* Center social icons in dropdown */
.nav-more-item .nav-social-link {
    justify-content: center;
    color: #ffffff !important;
}

.nav-more-item a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.nav-more-item a:hover,
.nav-more-item a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-social-separator {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem;
    pointer-events: none;
}

.nav-social-link {
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social-link.nav-instagram {
    padding: 0.5rem 0.75rem;
}

.instagram-icon-small {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 4px;
    position: relative;
}

.instagram-icon-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border: 2px solid white;
    border-radius: 50%;
}

.instagram-icon-small::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
}

/* Main Content */
main {
    width: 100%;
    padding: 0;
    margin-top: 120px; /* Fallback: approximate header height - JavaScript will adjust this precisely */
}

.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 400; /* Maintains 4.8:1 aspect ratio - matches recommended image dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05); /* Reduced from 0.2 to preserve image colors - text-shadow provides readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 400;
    margin: 0;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'MV Boli', 'MV Boli Regular', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

/* Hero Banner Section */
.hero-banner {
    background-color: rgb(107, 143, 163); /* Blue color matching header/footer (#6b8fa3) */
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-banner-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
    margin-bottom: 1rem;
    font-family: 'Baskerville', 'Baskerville Old Face', 'Hoefler Text', 'Garamond', 'Times New Roman', serif;
    line-height: 1.2;
    white-space: normal; /* Allow wrapping at all screen sizes */
    text-transform: uppercase;
    text-align: center;
}

.hero-banner-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-banner-veteran {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-banner-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-banner-button {
    display: inline-block;
    background-color: #fff;
    color: rgb(107, 143, 163);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-banner-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-banner-phone {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.hero-banner-phone:hover {
    opacity: 0.8;
}

/* Benefits Section (4-Card Layout) */
.benefits-section {
    padding: 4rem 1rem;
    background-color: #fff;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Desktop-only: Reduce card size by ~40% (60% of original) for improved layout density and side gutters */
/* This creates a more compact, professional appearance while maintaining 2x2 grid structure */
/* Cards and images scale naturally with container; text remains readable */
/* To adjust to 50% reduction: Change max-width to 600px (50% of 1200px) and gap to 1rem (50% of 2rem) */
@media (min-width: 1200px) {
    .benefits-container {
        max-width: 720px; /* 60% of 1200px - creates natural side gutters on standard desktop widths (≥1200px) */
        column-gap: 2.4rem; /* Double horizontal spacing between side-by-side cards (was 1.2rem) */
        row-gap: 2.4rem; /* Double vertical spacing between top/bottom rows (was 1.2rem) */
    }
    
    /* Slightly reduce padding to maintain proportions while keeping text readable */
    .benefit-card-content {
        padding: 1.1rem; /* Slightly reduced from 1.5rem for better proportion, but still readable */
    }
    
    /* Keep heading size readable but slightly smaller */
    .benefit-card-content h3 {
        font-size: 1.35rem; /* Slightly reduced from 1.5rem for better proportion */
    }
}

.benefit-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.benefit-card-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintains 4:3 aspect ratio - matches card image dimensions (400x300) */
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.benefit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-card-image img {
    transform: scale(1.05);
}

.benefit-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background-color: #f0f0f0;
}

.benefit-card-content {
    padding: 1.5rem;
}

.benefit-card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(107, 143, 163);
    margin-bottom: 1rem;
    font-family: 'Baskerville', 'Baskerville Old Face', 'Hoefler Text', 'Garamond', 'Times New Roman', serif;
}

.benefit-card-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive: Stack cards on mobile */
@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards use aspect-ratio, so no fixed height needed - they scale proportionally */
    
    .benefit-card-content {
        padding: 1.25rem;
    }
    
    .benefit-card-content h3 {
        font-size: 1.25rem;
    }
}

/* Cards Section */
.cards-section {
    padding: 4rem 1rem;
    background-color: #fff;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.card[data-card-modal] .card-button {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

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

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card {
    display: flex;
    flex-direction: column;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    color: rgb(107, 143, 163);
    margin-bottom: 1rem;
}

.card-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    flex-grow: 1;
}

.card-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: rgb(107, 143, 163);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
    align-self: center;
    margin-top: auto;
}

.card-button:hover {
    background-color: rgb(100, 166, 102);
}

/* Card Modal Styles */
.card-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card-modal.active {
    opacity: 1;
    visibility: visible;
}

.card-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.card-modal-content {
    position: relative;
    z-index: 10001;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.card-modal.active .card-modal-content {
    transform: scale(1);
}

.card-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-modal-close:hover {
    background-color: #fff;
    transform: scale(1.1);
}

.card-modal-close:active {
    transform: scale(0.95);
}

.card-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #333;
}

.card-modal-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.card-modal-body h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: rgb(107, 143, 163);
}

.card-modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 2rem 0;
}

.card-modal-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: rgb(107, 143, 163);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
}

.card-modal-button:hover {
    background-color: #1e3a21;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .card-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .card-modal-image-container {
        height: 300px;
    }

    .card-modal-body {
        padding: 1.5rem;
    }

    .card-modal-body h2 {
        font-size: 1.5rem;
    }

    .card-modal-body p {
        font-size: 1rem;
    }
}

/* Blog Page Styles */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.blog-post-header h2 {
    font-size: 2rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.blog-post-date {
    font-weight: 500;
}

.blog-post-category {
    color: rgb(107, 143, 163); /* Match header/footer blue */
    font-weight: 500;
}

.blog-post-content {
    line-height: 1.8;
    color: #555;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-post-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-container {
        padding: 0 1rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .blog-post-header h2 {
        font-size: 1.5rem;
    }

    .blog-post-content p {
        font-size: 1rem;
    }
}

/* Quote Section */
.quote-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 2rem;
    overflow: hidden;
}

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

.quote-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.28);
    z-index: 2;
}

.quote-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 600px;
    padding: 2rem;
}

.quote-content h2 {
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quote-author {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Social Section */
.social-section {
    padding: 4rem 0;
    text-align: left;
    background-color: #fff;
    max-width: 1728px;
    margin: 0 auto;
    padding-left: 96px; /* Match gallery container left padding */
    box-sizing: border-box;
}

.social-section h3 {
    font-size: 2rem;
    color: rgb(107, 143, 163);
    margin-bottom: 1.5rem;
    text-align: left;
}

.social-icons-inline {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    text-decoration: none;
    transition: opacity 0.3s;
    background-color: transparent !important;
    color: rgb(107, 143, 163);
    padding: 0;
    margin: 0;
}

.social-icon-link:hover {
    opacity: 0.7;
}

.social-icon-link.facebook {
    background-color: transparent !important;
}

.social-icon-link.instagram {
    background-color: transparent !important;
}

.social-icon-link .social-icon {
    color: rgb(107, 143, 163);
    font-weight: bold;
    font-size: 2.25rem;
}

.social-icon-link.instagram .instagram-icon {
    border-color: rgb(107, 143, 163) !important;
    background-color: transparent !important;
    width: 30px;
    height: 30px;
}

.social-icon-link.instagram .instagram-icon::before {
    border-color: rgb(107, 143, 163) !important;
    width: 12px;
    height: 12px;
    border-width: 3px;
}

.social-icon-link.instagram .instagram-icon::after {
    background-color: rgb(107, 143, 163) !important;
    border: none !important;
    width: 6px;
    height: 6px;
    top: 3px;
    right: 3px;
}

.content {
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Mailing List Section */
.mailing-list {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mailing-list h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: rgb(107, 143, 163);
}

.mailing-list-description {
    margin-bottom: 2rem;
    color: #666;
}

.mailing-list form {
    max-width: 500px;
    margin: 0 auto 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.mailing-list input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mailing-list button {
    padding: 0.75rem 2rem;
    background-color: rgb(107, 143, 163);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mailing-list button:hover {
    background-color: #1e3a21;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: rgb(107, 143, 163); /* Blue color matching WITS admin login (#6b8fa3) */
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.social-text {
    font-size: 0.9rem;
}

/* Footer social icons - keeping original styles for footer */
.footer-content .facebook .social-icon {
    background-color: #1877f2;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.footer-content .instagram .social-icon {
    background-color: #e4405f;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.instagram-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    background: transparent;
    display: inline-block;
}

.instagram-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 2px solid white;
    border-radius: 50%;
}

.instagram-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    border: 1.5px solid white;
    border-radius: 50%;
    background: transparent;
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed - they scale proportionally */
    
    .hero-banner-content h1 {
        font-size: 3.5rem;
        white-space: normal; /* Allow wrapping at tablet size */
    }
}

@media (max-width: 768px) {
    /* Mobile Hamburger Menu Button */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1002;
        background: rgb(107, 143, 163); /* Blue color matching WITS admin login (#6b8fa3) */
        color: #fff;
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 6px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        font-size: 24px;
        transition: background-color 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        appearance: none;
    }

    .mobile-menu-toggle:hover {
        background: #5a7a8a; /* Darker blue hover matching WITS admin login button hover */
    }

    .mobile-menu-toggle:active,
    .mobile-menu-toggle:focus {
        background: rgb(107, 143, 163); /* Blue color matching WITS admin login (#6b8fa3) */
        opacity: 1;
        outline: none;
    }

    /* No overlay - menu expands below header */
    .mobile-menu-overlay {
        display: none !important;
    }

    header {
        padding: 1rem 0;
        background-color: rgb(107, 143, 163) !important; /* Blue color matching WITS admin login (#6b8fa3) */
        opacity: 1 !important;
        z-index: 1001 !important;
    }

    /* Ensure header stays same color when menu is open - no darkening */
    header:has(nav.mobile-open) {
        z-index: 1001 !important;
        background-color: rgb(107, 143, 163) !important; /* Blue color matching WITS admin login (#6b8fa3) */
        opacity: 1 !important;
    }

    .header-container {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
        position: relative;
        background-color: transparent;
        opacity: 1;
        flex-wrap: wrap; /* Allow wrapping on mobile for hamburger menu */
    }

    .site-title {
        width: 100%;
        padding-right: 60px;
        font-size: 1.8rem;
    }

    .site-name {
        font-size: 1.8rem;
    }

    .site-location {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: rgb(107, 143, 163) !important; /* Blue color matching WITS admin login (#6b8fa3) */
        opacity: 1 !important;
        position: relative;
        z-index: 1002 !important;
    }

    nav.mobile-open {
        max-height: 600px;
        margin-top: 0;
        background-color: rgb(107, 143, 163) !important; /* Blue color matching WITS admin login (#6b8fa3) */
        opacity: 1 !important;
        position: relative;
        z-index: 1002 !important;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: stretch;
        background-color: transparent !important;
        position: relative;
        z-index: 1002 !important;
    }
    
    .nav-menu li {
        width: 100%;
        background-color: transparent !important;
        position: relative;
        z-index: 1002 !important;
    }
    
    .nav-menu a {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent !important;
        opacity: 1 !important;
        color: #ffffff !important;
    }

    .nav-social-separator {
        display: none;
    }
    
    /* Hero section uses aspect-ratio, so no fixed height needed - it scales proportionally */
    
    .hero-banner-content h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-banner-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
    
    .hero-banner-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-banner-button {
        width: 100%;
        max-width: 300px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .quote-content {
        max-width: 100%;
        text-align: center;
    }
    
    .quote-content h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .mailing-list form {
        flex-direction: column;
    }
    
    .mailing-list input[type="email"] {
        min-width: 100%;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Static Gallery Styles */
.gallery-section {
    margin: 1.5rem auto;
    padding: 0;
    width: 100%;
    max-width: none;
}

/* Index Page Gallery Reel - Centered, Constrained Width */
.gallery-section .gallery-reel {
    max-width: 960px; /* 3 cards × 300px + 2 gaps × 16px = 932px, plus padding */
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    overflow: visible; /* Allow wrapper to be centered */
    display: flex;
    justify-content: center;
}

.gallery-section .gallery-wrapper {
    width: 932px; /* Exactly 3 cards: 300px + 16px + 300px + 16px + 300px = 932px */
    overflow: hidden;
    position: relative;
}

.gallery-section .gallery-list {
    display: flex;
    width: fit-content;
    align-items: flex-start;
    will-change: transform;
    transition: transform 0.5s ease;
    gap: 16px;
}

.gallery-section .gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 3px solid #d0d0d0; /* Light gray border for separation from background */
    transition: border-color 0.3s ease;
}

.gallery-section .gallery-item:hover {
    transform: none !important; /* Explicitly override transform from less specific .gallery-item:hover rule */
    border-color: #b0b0b0; /* Slightly darker border on hover */
}

.gallery-section .gallery-item-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-section .gallery-item-src {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 1728px; /* Increased from 1536px for wider gallery */
    padding: 0 96px; /* 1 inch (96px) on each side at 1920px resolution */
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.gallery-item {
    cursor: pointer;
    position: relative;
}

/* Prevent right-click on gallery images */
.gallery-item img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: rgb(107, 143, 163);
    color: #fff;
}

.btn-primary:hover {
    background-color: #1e3a21;
}

.btn-secondary {
    background-color: #e4405f;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #c13554;
}

/* Responsive Header */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .site-logo {
        height: 50px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Responsive Gallery */
@media (max-width: 1400px) {
    .gallery-container {
        padding: 0 50px;
    }
    
    .social-section {
        padding-left: 50px;
    }
}

@media (max-width: 1024px) {
    .gallery-container {
        padding: 0 30px;
    }
    
    .social-section {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 0 1rem;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .social-section {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}


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

/* Lightbox Gallery Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 143, 163, 0.95); /* Pale green matching header */
    z-index: 1;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Scrollable Carousel Container */
.lightbox-scroll-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.lightbox-scroll-container::-webkit-scrollbar {
    display: none;
}

.lightbox-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Images Wrapper */
.lightbox-images-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 1.5rem;
    box-sizing: border-box;
    padding: 0 50vw; /* Padding to allow all images to center */
    min-width: 100%;
}

/* Individual Image Container */
.lightbox-image-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
    scroll-snap-align: center;
}

/* Default: all images are small and dimmed */
.lightbox-image-container .lightbox-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    opacity: 0.2;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Prev-prev-prev and next-next-next images - completely hidden but still in DOM for smooth scrolling */
.lightbox-image-container.prev-prev-prev-image,
.lightbox-image-container.next-next-next-image {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    /* Keep minimal width for smooth scrolling buffer */
    min-width: 200px;
    width: 200px;
}

.lightbox-image-container.prev-prev-prev-image .lightbox-image,
.lightbox-image-container.next-next-next-image .lightbox-image {
    width: 200px;
    height: 200px;
    opacity: 0;
    visibility: hidden;
    object-fit: cover;
}

/* Prev-prev and next-next images - slightly visible but dimmed */
.lightbox-image-container.prev-prev-image .lightbox-image,
.lightbox-image-container.next-next-image .lightbox-image {
    width: 200px;
    height: 200px;
    opacity: 0.2;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Previous and next images - slightly larger and more visible */
.lightbox-image-container.prev-image .lightbox-image,
.lightbox-image-container.next-image .lightbox-image {
    width: 200px;
    height: 200px;
    opacity: 0.4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Centered image - full size and full color */
.lightbox-image-container.centered {
    opacity: 1;
}

.lightbox-image-container.centered .lightbox-image {
    max-width: 80vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    opacity: 1;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.lightbox-image {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Prevent image downloads - additional protection */
.lightbox-image {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-scroll-container {
        height: 100vh;
    }
    
    .lightbox-images-wrapper {
        padding: 0 15%;
        gap: 1rem;
    }
    
    .lightbox-image-container {
        padding: 1rem 0;
    }
    
    .lightbox-image-container:not(.centered) .lightbox-image {
        width: 120px;
        height: 120px;
    }
    
    .lightbox-image-container.centered .lightbox-image {
        max-width: 90vw;
        max-height: 80vh;
    }
}

/* About Page Styles */
/* About Hero Section */
.about-hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 400; /* Maintains 4.8:1 aspect ratio - matches recommended image dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05); /* Reduced from 0.26 to preserve image colors - text-shadow provides readability */
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 2rem;
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    font-family: 'MV Boli', 'MV Boli Regular', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* Our Story Section */
.our-story-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.our-story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.our-story-left h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
    margin: 0;
}

.our-story-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.our-story-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.story-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: rgb(107, 143, 163);
    text-decoration: none;
    border: 2px solid rgb(107, 143, 163);
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    width: fit-content;
    font-weight: 500;
}

.story-button:hover {
    background-color: rgb(107, 143, 163);
    color: #fff;
}

/* About Gallery Reel Section */
.about-gallery-section {
    padding: 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.about-gallery-reel {
    width: 100%;
    height: 65vh;
    position: relative;
    overflow: hidden;
}

.about-gallery-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.about-gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.about-gallery-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.about-gallery-list {
    display: flex;
    height: 100%;
    width: fit-content;
    align-items: center;
    will-change: transform;
    transition: transform 0.5s ease;
}

.about-gallery-item {
    flex: 0 0 auto;
    width: 33.333vw;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-snap-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.about-gallery-item-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-gallery-item-src {
    width: 100%;
    height: 100%;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease-in-out, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.about-gallery-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    pointer-events: none;
    z-index: 20;
    width: 100%;
    height: 100%;
}

.about-gallery-control {
    pointer-events: auto;
}

.about-gallery-control-btn {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    margin: 0 1rem;
    padding: 0;
}

.about-gallery-control-btn-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-gallery-control-btn-icon svg {
    width: 30px;
    height: 15px;
}

.about-gallery-control-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.about-gallery-control-btn:active {
    transform: scale(0.95);
}

/* Services Page Styles */
/* Services Hero Section */
.products-hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 400; /* Maintains 4.8:1 aspect ratio - matches recommended image dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.products-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05); /* Reduced from 0.3 to preserve image colors - text-shadow provides readability */
    z-index: 2;
}

.products-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.products-hero-content h1 {
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    font-family: 'MV Boli', 'MV Boli Regular', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* Services Cards Section */
.products-cards-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.products-cards-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: rgb(107, 143, 163);
}

.product-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex-grow: 1;
}

/* Services Gallery Reel Section */
.products-gallery-section {
    padding: 4rem 0;
    background-color: #f8f8f8;
    overflow: hidden;
}

.products-gallery-reel {
    position: relative;
    width: 100%;
    height: 65vh;
    margin: 0 auto;
    overflow: hidden;
}

.products-gallery-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.products-gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.products-gallery-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.products-gallery-list {
    display: flex;
    height: 100%;
    width: fit-content;
    align-items: center;
    will-change: transform;
    transition: transform 0.5s ease;
}

.products-gallery-item {
    flex: 0 0 auto;
    width: 33.333vw;
    height: 100%;
    margin: 0;
    padding: 0 0.5rem;
    scroll-snap-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.products-gallery-item-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-gallery-item-src {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-gallery-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.products-gallery-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.products-gallery-control {
    pointer-events: auto;
}

.products-gallery-control-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.products-gallery-control-btn-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-gallery-control-btn-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.products-gallery-control-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.products-gallery-control-btn:active {
    transform: scale(0.95);
}

/* Responsive Design for Services Page */
@media (max-width: 1200px) {
    .products-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .products-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */
}

@media (max-width: 768px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */

    .products-hero-content h1 {
        font-size: 2.5rem;
    }

    .product-card-image {
        height: 250px;
    }

    .products-gallery-reel {
        height: 50vh;
    }
}

/* Responsive About Page */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */
}

@media (max-width: 768px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .our-story-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .our-story-left h2 {
        font-size: 2rem;
    }
    
    .about-gallery-reel {
        height: 50vh;
    }
}

/* About Page Layout Sections */
/* Section 1: Intro / Who We Are */
.about-intro-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.about-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.about-intro-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: left;
}

/* Section 2: Mission + Approach (Split Layout) */
.about-mission-approach-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.about-mission-approach-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-mission-block,
.about-approach-block {
    display: flex;
    flex-direction: column;
}

.about-mission-block h2,
.about-approach-block h2 {
    font-size: 2rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
}

.about-mission-block p,
.about-approach-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Section 3: Visual Breathing Space */
.about-breathing-space {
    padding: 3rem 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Section 4: Why Choose WITS */
.about-why-choose-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.about-why-choose-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-why-choose-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.about-why-choose-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-why-choose-content p {
    margin: 0;
}

/* Section 5: Closing Statement */
.about-closing-section {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.about-closing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-closing-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Responsive: About Page Layout */
@media (max-width: 768px) {
    .about-intro-container h2 {
        font-size: 2rem;
    }
    
    .about-mission-approach-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-mission-block h2,
    .about-approach-block h2 {
        font-size: 1.75rem;
    }
    
    .about-why-choose-container h2 {
        font-size: 2rem;
    }
}

/* Platforms Page Layout Sections */
.platforms-intro-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.platforms-intro-container h1 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.platforms-intro-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-intro-container p:last-child {
    margin-bottom: 0;
}

/* Platforms: Why Ownership and Control Matter Section */
.platforms-why-choose-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-why-choose-container {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-why-choose-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.platforms-why-choose-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-why-choose-container ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.platforms-why-choose-container li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
}

.platforms-why-choose-container p:last-child {
    margin-bottom: 0;
}

/* Platforms: WITS CMS Section */
.platforms-cms-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-cms-container {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-cms-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.platforms-cms-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-cms-container ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.platforms-cms-container li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
}

.platforms-cms-container p:last-child {
    margin-bottom: 0;
}

/* Platforms: MMC Section */
.platforms-mmc-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-mmc-container {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-mmc-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.platforms-mmc-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-mmc-container p:last-child {
    margin-bottom: 0;
}

/* Platforms: How the Platforms Relate Section */
.platforms-relate-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-relate-container {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-relate-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.platforms-relate-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-relate-container p:last-child {
    margin-bottom: 0;
}

/* Platforms: Looking Ahead Section */
.platforms-ahead-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.platforms-ahead-container {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-ahead-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2rem 0;
    text-align: center;
}

.platforms-ahead-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.platforms-ahead-container p:last-child {
    margin-bottom: 0;
}

/* Responsive: Platforms Page Layout */
@media (max-width: 768px) {
    .platforms-intro-container h1,
    .platforms-why-choose-container h2,
    .platforms-cms-container h2,
    .platforms-mmc-container h2,
    .platforms-relate-container h2,
    .platforms-ahead-container h2 {
        font-size: 2rem;
    }
}

/* Services Page Layout Sections */
/* Section A: Intro */
.services-intro-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.services-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.services-intro-container h1 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.services-intro-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: left;
}

/* Section B: Home IT Support */
.services-home-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.services-home-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-home-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
}

.services-home-intro,
.services-home-closing {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
}

.services-list-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.services-list {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
    padding-left: 2rem;
}

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

/* Section C: Small Business IT Services */
.services-business-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.services-business-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-business-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
}

.services-business-intro,
.services-cms-description,
.services-business-closing {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem 0;
}

/* Responsive: Services Page Layout */
@media (max-width: 768px) {
    .services-intro-container h1 {
        font-size: 2rem;
    }
    
    .services-home-container h2,
    .services-business-container h2 {
        font-size: 2rem;
    }
}

/* FAQs Page Styles */
.faqs-hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 400; /* Maintains 4.8:1 aspect ratio - matches recommended image dimensions */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.faqs-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faqs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05); /* Reduced from 0.26 to preserve image colors - text-shadow provides readability */
    z-index: 2;
}

.faqs-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.faqs-hero-content h1 {
    font-family: 'MV Boli', 'MV Boli Regular', cursive;
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* FAQs Content Section */
.faqs-content-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.faqs-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.faqs-left-column h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
    margin: 0;
    font-weight: 400;
}

/* FAQs Accordion */
.faqs-accordion {
    width: 100%;
}

.faqs-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.faqs-accordion-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faqs-accordion-button {
    width: 100%;
    background: none;
    border: none;
    padding: 30px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s;
}

.faqs-accordion-button:hover {
    color: rgb(107, 143, 163);
}

.faqs-accordion-title {
    flex: 1;
    font-weight: 500;
}

.faqs-accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgb(107, 143, 163);
    transition: transform 0.3s;
    min-width: 20px;
    text-align: center;
}

.faqs-accordion-item.active .faqs-accordion-icon {
    transform: rotate(0deg);
}

.faqs-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
}

.faqs-accordion-content p {
    padding: 0 0 30px 0;
    margin: 0;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

/* Responsive Design for FAQs Page */
@media (max-width: 968px) {
    .faqs-content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faqs-left-column h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */
}

@media (max-width: 768px) {
    /* Hero sections use aspect-ratio, so no fixed heights needed */

    .faqs-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .faqs-content-section {
        padding: 2rem 1rem;
    }
    
    .faqs-accordion-button {
        padding: 20px 0;
        font-size: 1rem;
    }
    
    .faqs-accordion-content p {
        padding: 0 0 20px 0;
    }
}

/* FAQ Page Styles - Updated for Visual Hierarchy */
.faq-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ Subsection Headings */
.faq-subsection {
    margin-bottom: 4rem;
}

.faq-subsection:last-child {
    margin-bottom: 0;
}

.faq-subsection-heading {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 2.5rem 0;
    text-align: center;
    font-weight: 600;
}

/* FAQ Cards */
.faq-card {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.faq-card:last-child {
    margin-bottom: 0;
}

.faq-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-card-image {
    display: none; /* Hide image slot for now - can be enabled via CMS later */
}

.faq-card-content {
    width: 100%;
    position: relative;
}

.faq-card-content h3 {
    font-size: 1.5rem;
    color: rgb(107, 143, 163);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    user-select: none;
    transition: color 0.2s ease, margin 0.3s ease;
}

.faq-card-content h3:hover {
    color: #5a7a8a;
}

.faq-card-content h3::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.8rem;
    color: rgb(107, 143, 163);
    transition: transform 0.3s ease;
}

.faq-card.active .faq-card-content h3 {
    margin-bottom: 1.25rem;
}

.faq-card.active .faq-card-content h3::after {
    transform: rotate(180deg);
}

.faq-card-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.1s, margin 0.3s ease;
}

/* Show answer paragraphs when card is active */
.faq-card.active .faq-card-content h3 {
    margin-bottom: 1.25rem;
}

.faq-card.active .faq-card-content p {
    max-height: 1000px;
    opacity: 1;
    margin: 0 0 1.25rem 0;
}

.faq-card-content p:last-child {
    margin-bottom: 0;
}

.faq-card-content a {
    color: rgb(107, 143, 163);
    text-decoration: underline;
}

.faq-card-content a:hover {
    color: #5a7a8a;
}

/* Responsive: FAQ Page */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }
    
    .faq-subsection {
        margin-bottom: 3rem;
    }
    
    .faq-subsection-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-card-content h3 {
        font-size: 1.3rem;
    }
    
    .faq-card-content p {
        font-size: 1rem;
    }
}

/* Contact Page Styles */
/* Section: Intro / Page Header */
.contact-intro-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.contact-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro-container h1 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163); /* Match header/footer blue */
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.contact-intro-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: left;
}

/* Section: Contact Information */
.contact-info-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.contact-info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.contact-info-content {
    text-align: left;
}

.contact-info-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1rem 0;
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

.contact-info-content a {
    color: rgb(107, 143, 163);
    text-decoration: none;
}

.contact-info-content a:hover {
    text-decoration: underline;
}

/* Section: Hours of Operation */
.contact-hours-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.contact-hours-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-hours-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.contact-hours-content {
    text-align: left;
}

.contact-hours-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1rem 0;
}

.contact-hours-content p:last-child {
    margin-bottom: 0;
}

.contact-hours-content em {
    color: #777;
    font-size: 0.95rem;
}

/* Section: Contact Form */
.contact-form-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    color: rgb(107, 143, 163);
    margin: 0 0 2rem 0;
    text-align: center;
}

/* Contact Form */
.contact-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.form-group .required {
    color: #d32f2f;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-select:focus {
    outline: none;
    border-color: rgb(107, 143, 163);
}

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

.contact-submit-btn {
    background-color: rgb(107, 143, 163);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-submit-btn:hover {
    background-color: rgba(107, 143, 163, 0.9);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Location Section */
.contact-location-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.contact-location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-location-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: rgb(107, 143, 163);
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.contact-location-left p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 1rem 0;
}

.contact-location-left p:last-child {
    margin-bottom: 0;
}

.contact-location-left em {
    color: #777;
    font-size: 0.95rem;
}

.contact-map-container {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-intro-section,
    .contact-info-section,
    .contact-hours-section,
    .contact-form-section {
        padding: 2rem 1rem;
    }
    
    .contact-intro-container h1,
    .contact-info-container h2,
    .contact-hours-container h2,
    .contact-form-container h2 {
        font-size: 2rem;
    }
}

