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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
body {
    background-color: #d0d0d0; /* medium gray */
}


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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(100px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Add extra space before the second header */
.section-subheader + .gallery-grid {
  margin-top: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .logo {
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00CC00;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00CC00;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */
.hero-section {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-container {
    flex: 1;
}

.hero-image {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('images/hero14.jpg');
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}




.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #00CC00;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background: #00AA00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00CC00;
    color: #00CC00;
}

.cta-button.secondary:hover {
    background: #00CC00;
    color: white;
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.cta-button.full-width {
    width: 100%;
    max-width: 300px;
}

/* Teaser Grid */
.teaser-grid {
    padding: 5rem 0;
    background: #f8f9fa;
}

.teaser-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.grid-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #1A1A1A;
}

.grid-item p {
    color: #666;
    font-size: 1rem;
}
/* Video Section */
.video-section {
    padding: 2.75rem 0 4.5rem; /* ↓ less top space */
    text-align: center;
    background: #e5e5e5;
}

.video-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

/* Caption under each video */
.video-caption {
    text-align: center;
    margin-top: 0.35rem;          /* small gap under thumbnail */
    font-size: 1rem;
    color: #444;
    font-weight: 500;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
    background: transparent;      /* no background in the grid itself */
}

/* Each video card */
.video-item {
    width: auto;
    max-width: 350px;
    text-align: center;
    justify-self: center;
    background: transparent;      /* no card background */
}

/* Thumbnail wrapper – rounded corners + tighter shadow */
.video-thumb {
    position: relative;
    width: 100%;
    max-width: 350px;
    cursor: pointer;
    border-radius: 12px;               /* rounded corners */
    overflow: hidden;                  /* clip image to the rounding */
    box-shadow: 0 6px 14px rgba(0,0,0,0.22);  /* tighter, smaller shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin: 0 auto;
}

.video-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.28);
}

/* Thumbnail image – crop more off top/bottom to reduce black bars */
.video-img {
    display: block;
    width: 100%;
    height: 160px;          /* smaller height = more vertical crop */
    object-fit: cover;      /* zooms/crops instead of letterboxing */
}


/* Play button overlay */
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    border: 3px solid #00CC00;
    position: relative;
}

.play-btn::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 18px;
    width: 0;
    height: 0;
    border-left: 22px solid #00CC00;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* Responsive: 2 across on medium, 1 on small */
@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.icon-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: white;
}

/* Footer CTA */
.footer-cta {
    padding: 4rem 0;
    background: #1A1A1A;
    color: white;
}

.footer-cta h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.quick-contact {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.quick-contact input,
.quick-contact textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.quick-contact input {
    height: 50px;
}

/* Innovation Section */
.innovation-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.diagram-placeholder {
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.diagram-left,
.diagram-right {
    flex: 1;
    text-align: center;
}

.diagram-right .track-placeholder {
    border: 2px solid #00CC00;
}

.diagram-callouts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.callout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00CC00;
    font-weight: 500;
}

.callout-dot {
    width: 8px;
    height: 8px;
    background: #00CC00;
    border-radius: 50%;
}

/* Accordion */
.how-it-works {
    margin-bottom: 4rem;
}

.how-it-works h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header h4 {
    font-size: 1.25rem;
    color: #1A1A1A;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00CC00;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.accordion-content.active {
    max-height: 200px;
}

.accordion-content p {
    padding: 1.5rem;
    color: #666;
}

/* Intro text block above gallery */
.gallery-intro {
    background: #e5e5e5;
    padding: 3rem 0 1rem; /* top and bottom spacing */
    text-align: center;
}

.gallery-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}
/* Intro paragraph text hierarchy */
.gallery-intro .intro-text {
    color: #333;            /* darker main paragraph */
    font-weight: 400;
}

.gallery-intro .patent-note {
    display: block;         /* puts it on its own line */
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #777;            /* lighter / de-emphasized */
    font-style: italic;
}


/* Gallery */
.gallery {
    padding: 4rem 0;
    background: #e5e5e5;
}

.gallery .container {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 across on desktop */
    gap: 1.5rem 1.5rem;
    justify-items: center; /* center items in each column */
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 3rem;
    background: #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.download-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    padding: 1rem 2rem;
    background: #FF4500;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: #e63e00;
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits-section {
    padding: 3.5rem 0 5rem; /* ↓ less top space, keep bottom roomy */
    background: #e5e5e5;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

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

/* Comparison Table */
.comparison-table {
    margin: 4rem 0;
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1A1A1A;
    position: sticky;
    top: 0;
}

.comparison-table td {
    background: white;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table tbody td:last-child {
    font-weight: 600;
    color: #00CC00;
}

/* Testimonial */
.testimonial {
    text-align: center;
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    position: relative;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #00CC00;
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
}

.testimonial cite {
    font-weight: 500;
    color: #1A1A1A;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.contact-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00CC00;
    font-weight: bold;
}

.nda-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.nda-notice p {
    color: #856404;
    font-weight: 500;
}

.contact-details p {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00CC00;
    box-shadow: 0 0 0 3px rgba(0, 204, 0, 0.1);
}

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

/* Footer */
.footer {
    background: #1A1A1A;
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #999;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00CC00;
}

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

.footer-social a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00CC00;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .diagram-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .diagram-callouts {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 across on medium screens */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 1rem;
    }

    .hero-overlay {
        padding: 2rem 1rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .benefit-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* stack on small phones */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .hero-overlay {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Form Validation */
input:invalid,
select:invalid,
textarea:invalid {
    border-color: #dc3545;
}

input:valid,
select:valid,
textarea:valid {
    border-color: #00CC00;
}
/* Teaser images – keep large circles/squares as you like */
.teaser-icon {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

/* Benefit images – square rectangles (Option C) */
.benefit-icon {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;     /* nice crop */
    border-radius: 12px;   /* rounded-square; use 0 for sharp corners */
    display: block;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-icon:hover {
    transform: scale(1.05);
}

/* Hamburger base styles (always at end, after media queries if needed) */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

/* MOBILE MENU - HAMBURGER */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important; /* Override for mobile */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* Below header */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease; /* Smoother transition */
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }
}

/* Hamburger animation → X */
.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* Logo adjustments (updated) */
.nav-logo {
    max-height: 120px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Ensure navbar height stays fixed */
.navbar {
    height: 150px; /* Explicit fixed height (adjust based on your design; e.g., 70px total incl. padding) */
    align-items: center; /* Already present, but reinforces vertical centering */
}
/* Accordion Styles */
.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f0f0f0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: white;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;   /* Adjust if content is longer */
    padding: 1.5rem;
}

.accordion-icon {
    font-weight: bold;
    font-size: 1.4rem;
    color: #00CC00;
}

/* YouTube Lightbox Overlay */
.video-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-lightbox.active {
    display: flex;
}

.video-lightbox iframe {
    width: 90%;
    max-width: 900px;
    height: 56.25vw;
    max-height: 80vh;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
/* ====================== MOBILE MENU STYLES ====================== */

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;                /* This makes the hamburger visible on mobile */
    }

    .nav-menu {
        position: fixed;
        top: 70px;                    /* below the fixed header */
        left: -100%;                  /* hidden off-screen by default */
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: left 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        gap: 2.5rem;
    }

    .nav-menu.active {
        left: 0;                      /* slide in when active */
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }

    /* Optional: hide desktop menu on mobile */
    .nav-menu {
        display: none;                /* hide by default on mobile */
    }
    
    .nav-menu.active {
        display: flex;                /* show when active */
    }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Make sure desktop menu stays visible on large screens */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    .hamburger {
        display: none !important;
    }
}
/* Remove green decorative quotation mark */
blockquote::before,
blockquote::after {
    content: none !important;
}

/* Shrinking Header */
.header.shrink {
    backdrop-filter: blur(50px);
    padding: 0;                 /* reduce overall height */
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.header.shrink .navbar {
    height: 80px !important;    /* your original is 150px */
    padding: 0 2rem;
}

.header.shrink img {
    max-height: 100px !important;   /* shrink the logo */
    transition: max-height 0.3s ease;
}
.header, .navbar img {
    transition: all 0.3s ease;
}
.video-item {
    width: auto;
    max-width: 350px;
    text-align: center;
    justify-self: center;
    background: none;
}
.video-item {
    justify-self: center;
    text-align: center;
}

.video-thumb {
    margin-left: auto;
    margin-right: auto;
}
.video-grid {
    background: none;
}

.video-item {
    width: auto;
    max-width: 350px;
    text-align: center;
    justify-self: center;
    background: none;
}

.video-thumb {
    border-radius: 12px;
    overflow: hidden;
}

/* ✅ FIX: Prevent captions from covering image & prevent cropping */

.gallery-item {
    position: relative;
    overflow: visible;          /* ✅ Allow full height */
    display: flex;
    flex-direction: column;    /* ✅ Stack image above caption */
    background: white;
}

.gallery-item img {
    width: 100%;
    height: auto;              /* ✅ NO forced crop */
    object-fit: contain;       /* ✅ Show full image */
    display: block;
}

/* ✅ Caption now lives BELOW the image */
.caption {
    position: relative;        /* ✅ No overlap */
    background: #111;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}
/* ✅ FORCE UNIFORM CAPTION HEIGHT + SQUARE BOTTOMS */

.gallery-item {
    border-radius: 12px;          /* Rounded card top */
    overflow: hidden;            /* Keeps image clean */
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ✅ Uniform caption sizing */
.caption {
    position: relative;
    background: #111;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;

    min-height: 70px;             /* ✅ Forces all captions to same height */
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0;             /* ✅ Square bottom */
}
/* Offset anchor scroll for fixed header */
section[id],
div[id] {
    scroll-margin-top: 160px; /* matches your header height */
}

.gallery-intro .intro-text {
  margin-bottom: 2rem;
}
.intro-image {
    text-align: center;
    margin: 2rem 0; /* space above and below */
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px; /* optional clean corner */
}
.highlight-note {
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    margin-top: 0.5rem;
}
/* Prevent page scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}
/* ===== Benefits Section Headers ===== */

/* AddTrac Benefits — reduce space above */
.benefits-section .section-subheader{
    text-align:center;
    font-size:2rem;
    margin-top:1.25rem;      /* ↓ LESS space above */
    margin-bottom:1.75rem;
}

/* Technical Innovations — create separation */
.benefits-section .gallery-grid + .section-subheader{
    margin-top:3.75rem;      /* ↑ MORE space above */
}
/* ===== Global vertical rhythm (high-impact polish) ===== */
:root{
  --space-section-top: 3.5rem;
  --space-section-bottom: 5rem;
  --space-header-top: 1.25rem;
  --space-header-bottom: 1.75rem;
  --space-subsection-gap: 3.5rem;
}

/* Default rhythm for major sections that have big top gaps */
.benefits-section,
.video-section{
  padding-top: var(--space-section-top);
  padding-bottom: var(--space-section-bottom);
}

/* Consistent spacing for the Benefits/Innovations headers */
.benefits-section .section-subheader{
  margin-top: var(--space-header-top);
  margin-bottom: var(--space-header-bottom);
}

/* Extra gap before "Technical Innovations" */
.benefits-section .gallery-grid + .section-subheader{
  margin-top: var(--space-subsection-gap);
}
/* ===== FINAL SPACING TUNES (mobile + desktop) ===== */

/* Tighten the space above "AddTrac Benefits" */
.benefits-section{
  padding-top: 1.0rem !important;   /* lower this if you want even tighter */
}

/* Tighten the header itself */
.benefits-section .section-subheader{
  margin-top: 0.25rem !important;
  margin-bottom: 1.25rem !important;
}

/* Add intentional separation above "Technical Innovations" only */
.benefits-section .gallery-grid + .section-subheader{
  margin-top: 2.75rem !important;   /* raise this if you want more gap */
}

/* Tighten the space above "See AddTrac in Action" */
.video-section{
  padding-top: 1.25rem !important;  /* lower this if you want tighter */
}
