/* ==========================================================================
   Public Landing Page Styles - Sprint Care Auto
   ========================================================================== */

/* --- Variables --- */
:root {
    --brand-red: #dc2626;
    --brand-red-hover: #b91c1c;
    --brand-dark: #171717;
    --brand-black: #0a0a0a;
    --brand-white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Global Resets & Base --- */
*, *::before, *::after {
    box-sizing: border-box; /* The Golden Rule: Prevents padding from breaking widths */
}

html {
    scroll-behavior: smooth;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden; /* Bulletproof lock against unwanted horizontal page scrolling */
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--brand-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-dark);
    line-height: 1.2;
    margin-top: 0;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-white);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text-white {
    color: var(--brand-white);
}

.brand-text-red {
    color: var(--brand-red);
}

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

.nav-links a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--brand-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-color: #050505;
    color: var(--brand-white);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hero-bg-layer.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    color: var(--brand-white);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn {
    min-width: 170px;
}

/* --- SWIPEABLE Trust Row --- */
.trust-row {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #94a3b8;
    
    /* CSS Swipe Logic */
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    
    /* Hide scrollbars for a clean look */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.trust-row::-webkit-scrollbar {
    display: none;
}

.trust-row span {
    font-weight: 700;
    letter-spacing: 0.8px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.trust-row img {
    width: 84px;
    height: auto;
    opacity: 0.65;
    filter: grayscale(1);
    transition: filter 0.25s ease, opacity 0.25s ease;
    flex-shrink: 0;
    scroll-snap-align: center; /* Snaps the logo to the center of the scroll area */
}

.trust-row img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Social Proof Stats --- */
.social-proof {
    background-color: #060606;
    color: #fff;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 1.6rem;
    backdrop-filter: blur(6px);
}

.stat-card h3 {
    margin: 0 0 0.25rem;
    font-size: 2.25rem;
    color: var(--brand-red);
}

.stat-card p {
    margin: 0;
    color: #cbd5e1;
}

/* --- Services & General Layouts --- */
.services-section {
    background-color: var(--bg-light);
}

.section-padding {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--brand-red);
    margin: 0 auto 1.5rem auto;
}

/* --- Shop Section (Desktop Grid) --- */
.shop-section .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: rgba(15, 15, 15, 0.56);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: #f8fafc;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 35px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 42px rgba(0,0,0,0.35);
}

.product-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.product-card h3 {
    margin-bottom: 0.6rem;
}

.product-card p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-card .btn-outline {
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    background: rgba(0,0,0,0.3);
}

.product-card .btn-outline:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.8);
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.benefit-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.benefit-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

/* --- New Landing Page Sections (Fixed) --- */
.brand-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    border: none;
    background: none;
    padding: 0;
    box-shadow: var(--shadow-md);
}

/* --- FAQ Section --- */
.faq-section .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-question {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(248, 250, 252, 0.18);
    color: #0f172a;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0.55rem 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f8fafc;
    border-left: 3px solid var(--brand-red);
    border-radius: 0 0 10px 10px;
    padding: 0 1rem;
}

.faq-answer p {
    margin: 0.8rem 0;
    color: #334155;
}

.faq-question.active + .faq-answer {
    max-height: 200px;
    padding: 0.8rem 1rem 1rem;
}

/* --- Contact Section --- */
.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-section .contact-info {
    color: #fff;
}

.contact-section .contact-form {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 14px 40px rgba(0,0,0,0.65);
    padding: 1.75rem;
    border-radius: 12px;
}

.contact-section .contact-form input,
.contact-section .contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.contact-section .contact-form input::placeholder,
.contact-section .contact-form textarea::placeholder {
    color: rgba(255,255,255,0.75);
}

.contact-section .contact-form button {
    width: 100%;
}

.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* --- Footer --- */
.footer {
    padding: 5rem 0 0 0;
    border-top: 4px solid var(--brand-red);
}

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

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

.footer-about p {
    color: #94a3b8;
    max-width: 400px;
}

.footer h3 {
    color: var(--brand-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.contact-list li,
.hours-list li {
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-list i {
    width: 25px;
}

.hours-list span {
    display: inline-block;
    width: 90px;
    font-weight: 600;
    color: #cbd5e1;
}

.footer-bottom {
    background-color: var(--brand-black);
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-access {
    color: var(--brand-red);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    font-size: 1.1em;
}


/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE UX
   ========================================================================== */

@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; } /* Re-enables the hamburger menu */
    .hero-content { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-image { margin-top: 1.5rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-section .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background: rgba(0,0,0,0.98); 
        padding: 1rem 2rem; 
        flex-direction: column; 
        gap: 1rem; 
        z-index: 999; 
    }
    .nav-links.active { display: flex; }

    /* --- SWIPEABLE Product Grid (Mobile Only) --- */
    .shop-section .product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* The magic CSS for swiping */
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem; /* Room for shadow to breathe */
        gap: 1.5rem;
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    
    .shop-section .product-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        min-width: 280px; /* Forces cards to be a specific width so they don't stretch */
        flex-shrink: 0; /* Prevents them from squishing together */
        scroll-snap-align: center; /* Snaps the card into the center of the screen */
    }
}

@media (max-width: 768px) {
    /* Stack oversized hero buttons to prevent horizontal overflow */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
        text-align: center;
    }

    /* Force long text to break instead of stretching the screen */
    p, h1, h2, h3, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 650px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.2rem; }
    .brand-logo { gap: 0.4rem; }
}
}

.form-input-modern:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.form-input-modern[type="text"],
.form-input-modern[type="email"],
.form-input-modern textarea {
    resize: vertical;
}

.btn-submit-modern {
    align-self: flex-start;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.95rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-submit-modern:hover {
    background: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.contact-location-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(6px);
}

.location-section,
.socials-section,
.hours-section {
    margin-bottom: 2.5rem;
}

.location-section:last-child,
.socials-section:last-child,
.hours-section:last-child {
    margin-bottom: 0;
}

.location-section h3,
.socials-section h3,
.hours-section h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.map-container {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.social-icons-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(22, 160, 133, 0.2);
    border: 1px solid rgba(22, 160, 133, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon-btn:hover {
    background: rgba(22, 160, 133, 0.4);
    border-color: rgba(22, 160, 133, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 160, 133, 0.3);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list strong {
    color: #fff;
    font-weight: 600;
}

.contact-products-section {
    margin-top: 3rem;
}

.contact-products-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card-contact {
    background: rgba(15, 15, 15, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.product-card-contact:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(15, 15, 15, 0.75);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.2);
}

.product-card-contact i {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 1rem;
}

.product-card-contact h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.product-card-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments for contact page */
@media (max-width: 1024px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-card,
    .contact-location-card {
        padding: 2rem;
    }
    
    .product-grid-contact {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-info-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info-card {
        width: 100px;
        height: 100px;
    }
    
    .contact-split-grid {
        gap: 1.5rem;
    }
    
    .contact-form-card,
    .contact-location-card {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .product-grid-contact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        width: 90px;
        height: 90px;
    }
    
    .contact-info-card i {
        font-size: 1.5rem;
    }
    
    .btn-submit-modern {
        width: 100%;
    }
    
    .product-grid-contact {
        grid-template-columns: 1fr;
    }
    
    .social-icons-row {
        gap: 0.75rem;
    }
    
    .social-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Premium Contact Section Styles (Glassmorphism & Dark Map)
   ========================================================================== */

.contact-wrapper {
    /* Uses the dark overlay and image you requested */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1613214149922-f1809c99b414?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact {
    width: 100%;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.4); /* Glassmorphism background */
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.contact h2 {
    font-size: 2.5em;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact h2 i {
    padding-left: 15px;
    color: #dc2626; /* Sprint Care Red */
}

/* Ensure Leaflet map doesn't break out of the container */
#map-canvas {
    width: 100%;
    height: 300px;
    margin-bottom: 25px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    z-index: 1; 
}

/* Form Grid Layout */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-col {
    flex: 1;
    min-width: 300px; /* Forces stack on mobile */
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* --- UPDATED FORM INPUTS (Rounded & Spaced) --- */
#contactform input,
#contactform textarea {
    width: 100%;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4); /* Sleek dark translucent background */
    color: #ffffff; /* White text when typing */
    font-size: 15px; /* Perfect readable size */
    padding: 12px 15px;
    border-radius: 10px; /* Distinctly rounded corners */
    margin-bottom: 20px; /* Bulletproof spacing between every field */
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Style the placeholder text to be light grey and normal casing */
#contactform input::placeholder, 
#contactform textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: none; /* Ensures placeholders aren't forced into caps */
}

#contactform input {
    height: 50px; /* Comfortable height for clicking/tapping */
}

#contactform textarea {
    height: 260px; /* Adjusted to perfectly align with the 4 spaced-out inputs on the left */
    resize: none;
}

#contactform input:focus, 
#contactform textarea:focus {
    border-color: #dc2626; /* Sprint Care Red */
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
    background: rgba(0, 0, 0, 0.6);
}

/* Submit Button */
.submit-row {
    width: 100%;
}

.btn-submit {
    width: 100%;
    height: 55px;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #444;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-submit:hover {
    background: #dc2626; /* Turns red on hover */
    border-color: #dc2626;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .brand-graphic {
        width: 280px;
        height: 280px;
    }
    .page-hero h1 {
        font-size: 2.1rem;
    }
    .page-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- MOBILE RESPONSIVENESS FIXES --- */

/* 1. The Ultimate Safety Net: Prevent horizontal scrolling entirely */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. Mobile Layout Adjustments (Screens smaller than 768px) */
@media (max-width: 768px) {
    
    /* Stack the hero buttons vertically */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Space between the stacked buttons */
        width: 100%;
    }

    /* Make the buttons fill the screen width for easy tapping */
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px; /* Ensure they have good tap areas */
    }

    /* Allow the 'Trusted by' logos to wrap to the next line instead of overflowing */
    .trust-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Slightly shrink the massive hero text to fit better */
    .hero-text h1 {
        font-size: 2.2rem; 
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
}