/* add ons  */
.simple-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

/* Individual Cards */
.flow-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    width: 100%;
    max-width: 800px;
    transition: all 0.3s ease;
}

.flow-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* SVG Icons */
.flow-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--accent-gold);
    padding: 15px;
    border-radius: 15px;
    flex-shrink: 0;
}

.flow-text h3 {
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-size: 1.4rem;
}

.flow-text p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Flow Arrows */
.flow-arrow {
    width: 30px;
    height: 30px;
    color: #cbd5e0;
}


/* Desktop Adjustment - Optional: if you want them side-by-side on very wide screens */
@media (min-width: 1024px) {
    .flow-arrow {
        transform: rotate(-90deg); /* Turn arrows to point right */
    }
}

/* Hover State */
.info-wrapper:hover .info-box {
    visibility: visible;
    opacity: 1;
}

/* Ensure the card allows the pop-up to overlap other elements */
.work-card {
    overflow: visible ;
}

/* --- Responsive Breakpoints --- */

/* Small Screens (iPhone SE / 320px+) */
@media (min-width: 320px) {
    .logo-img { height: 40px; }
    .mobile-toggle { 
        display: block; 
        padding: 5px;
        color: var(--primary-blue);
    }
    .desktop-nav { display: none; }
}







/* ------------------------------------------------------------------- */
.quiz-window {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.quiz-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft, clean shadow */
    border: 1px solid #f0f0f0;
    display: none; /* Controlled by JS */
    text-align: center;
}

.quiz-card.active {
    display: block;
    animation: fadeInSlide 0.4s ease-out;
}

.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.quiz-grid button {
    padding: 20px;
    background: #f8fafc;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.quiz-grid button:hover {
    border-color: var(--accent-gold);
    background: var(--white);
    transform: translateY(-3px);
}

.quiz-progress {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
}


/* --- Modern Form Inputs --- */

#quiz-final-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    text-align: left; /* Better for reading form labels */
}

#quiz-final-form input, 
#quiz-final-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f8fafc; /* Matches your quiz buttons */
    border: 2px solid #edf2f7; /* Matches your quiz buttons */
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    outline: none;
}

/* The Placeholder text color */
#quiz-final-form input::placeholder,
#quiz-final-form textarea::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Interactive Focus State - The "Glow" */
#quiz-final-form input:focus, 
#quiz-final-form textarea:focus {
    background: var(--white);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

#quiz-final-form textarea {
    min-height: 100px;
    resize: vertical; /* Allows user to adjust height slightly */
}

/* Ensure the submit button matches your primary style but looks "Actionable" */
#quiz-final-form button[type="submit"] {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#quiz-final-form button[type="submit"]:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ------------------------------------------------------------------------------- */

.standard-features-box {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    border-left: 5px solid var(--accent-gold);
}

.features-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.features-pill-list li {
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #edf2f7;
}

.cta-subtext {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
}
/* --- Quote Form --- */
.quote-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--primary-blue);
    padding: 60px;
    border-radius: 30px;
    color: var(--white);
}

.quote-info h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li::before {
    content: "✓";
    color: var(--accent-gold);
    margin-right: 10px;
    font-weight: bold;
}

.quote-form-container input, .quote-form-container select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}



/* =================================================== */

/* --- ---------------------------------------Pricing Section ------------------------------------------- */
/*--------------------------------------------------------------------------------------------------  */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.tier-label { font-weight: 800; text-transform: uppercase; color: #718096; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: 900; color: var(--primary-blue); margin-bottom: 25px; }
.price span { font-size: 1rem; color: #a0aec0; margin-left: 5px; }

.pricing-features { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid #f7fafc; font-size: 0.95rem; }
.pricing-features li::before { content: "✓"; color: var(--accent-gold); margin-right: 10px; font-weight: 900; }

/* The Funnel Bridge Animation */
.pulse-dot {
    height: 10px;
    width: 10px;
    background-color: #27ae60;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(39, 174, 96, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}
/* --- ---------------------------------------end------------------------------------------- */
/*--------------------------------------------------------------------------------------------------  */
.quote-container-split {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.quote-info-text { flex: 1; min-width: 300px; }
.quote-form-container { flex: 1; min-width: 300px; }

/* Slider Layout Logic */
.work-slider-viewport {
    width: 100%;
    overflow-x: auto; /* Required for scrolling */
    overflow-y: hidden;
    display: block;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* Smooth for iPhone */
    scrollbar-width: none; /* Hides default scrollbar in Firefox */
}

/* Hide scrollbar for Chrome/Safari */
.work-slider-viewport::-webkit-scrollbar {
    display: none;
}

.work-grid {
    display: inline-flex !important; /* Forces cards side-by-side */
    gap: 25px;
    padding: 10px 5px;
}

.work-card {
    flex: 0 0 320px; /* Each card is 320px wide */
    white-space: normal; /* Allows text to wrap inside cards */
    display: inline-block;
    vertical-align: top;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.work-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-info {
    padding: 20px;
}

.work-tag {
    background: var(--accent-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 15px;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.service-table td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.service-table td:last-child {
    text-align: right;
    color: var(--accent-gold);
}

.maintenance-header {
    border-bottom: none !important;
    padding-top: 20px !important;
    font-weight: bold;
    color: var(--primary-blue);
}

.maintenance-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.maintenance-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.85rem;
}

.maintenance-list li span {
    font-weight: bold;
    color: var(--accent-gold);
}

.price-tag {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin: 15px 0;
    font-weight: 800;
}


/* ==================================================== */





























/* --- Root Variables & Reset --- */
:root {
    --primary-blue: #1a2a40;    /* Deep Navy */
    --accent-gold: #c5a059;     /* Branding Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
    color-scheme: only light;
}
/* --- Navigation Core (Mobile First) --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px; /* Consistent height for alignment */
    display: flex;
    align-items: center;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 45px; /* Smaller for mobile screens */
    width: auto;
    display: block;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: none; /* Controlled by JS class toggle */
    padding: 20px;
}

/* When the menu is active */
.mobile-menu-overlay.active {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.call-link {
    color: var(--accent-gold) !important;
}

/* --- Responsive Breakpoints --- */

/* Small Screens (iPhone SE / 320px+) */
@media (min-width: 320px) {
    .logo-img { height: 40px; }
    .mobile-toggle { 
        display: block; 
        padding: 5px;
        color: var(--primary-blue);
    }
    .desktop-nav { display: none; }
}
.hero {
        /* Change from vh-based height to auto to let the image define the space */
        min-height: auto; 
        padding: 40px 0; /* Add some breathing room for text */
        display: block; /* Stack content if needed */
    }

    .hero-bg {
        position: relative; /* Take it out of absolute positioning to prevent overflow */
        width: 100%;
        height: auto;
    }

    .hero-bg img {
        /* 'contain' ensures the whole image fits, 'cover' is what was cutting it off */
        object-fit: contain; 
        filter: brightness(0.6); /* Slightly darker so white text remains readable */
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-content {
        padding: 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem; /* Scale down heading for 320px width */
        margin: 15px 0;
    }

    .hero-btns {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on very small screens */
        gap: 10px;
    }


/* Medium Screens (Tablets / 768px+) */
@media (min-width: 768px) {
    .main-header { height: 90px; }
    .logo-img { height: 60px; }
    
    .mobile-toggle { display: none; }
    .mobile-menu-overlay.active { display: none; } /* Force hide if resized */

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .desktop-nav a {
        text-decoration: none;
        color: var(--primary-blue);
        font-size: 0.9rem;
        font-weight: 700;
        transition: var(--transition);
    }

    .desktop-nav a:hover {
        color: var(--accent-gold);
    }
}

/* Large Screens (Laptops & Desktops / 1024px+) */
@media (min-width: 1024px) {
    .desktop-nav { gap: 30px; }
    .desktop-nav a { font-size: 1rem; }
}

/* Extra Small Screen Fix for very narrow devices */
@media (max-width: 350px) {
    .btn-quote { display: none; } /* Hide the button in nav to prevent overlap */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border: none;
}

.section-padding {
    padding: 80px 0;
    border: none;
}

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }

/* --- Typography --- */
h1, h2, h3 {
    color: var(--primary-blue);
    line-height: 1.2;
}

.text-highlight {
    color: var(--accent-gold);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-quote {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #2c4263;
    transform: translateY(-2px);
}

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

.btn-quote {
    background-color: var(--accent-gold);
    color: var(--white);
}

.full-width { width: 100%; }

/* --- Header & Nav --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-img {
    height: 60px;
    width: auto;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    margin-left: 25px;
    font-weight: 500;
}

.nav-phone {
    color: var(--accent-gold) !important;
    font-weight: bold !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    color: var(--white);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin: 20px 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid var(--accent-gold);
}

.stars { color: var(--accent-gold); margin-right: 10px; }

/* --- Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* .step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
} */

.step-card:hover { transform: translateY(-10px); }

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: black;
    position: absolute;
    top: 10px; right: 20px;
    opacity: 0.7;
}
.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
    
    /* FIX 1: Ensures nothing inside the card (like the image) 
       can poke out past the rounded corners */
    overflow: hidden; 
    
    /* FIX 2: Ensures padding doesn't push the image out */
    display: flex;
    flex-direction: column;
}

.step-card img {
    /* FIX 3: Tells the image to be exactly as wide as the 
       available space, but no wider */
    width: 100%; 
    max-width: 100%;
    
    /* FIX 4: Controls the height so cards stay uniform */
    height: 200px; 
    
    /* FIX 5: This is critical. It scales the image to fit 
       without stretching or distorting */
    object-fit: cover; 
    
    border-radius: 10px; /* Optional: adds a slight curve to image corners */
    display: block;
}

/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 20px;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 20px 0;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px; height: 40px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* --- Quote Form --- */
.quote-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--primary-blue);
    padding: 60px;
    border-radius: 30px;
    color: var(--white);
}

.quote-info h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li::before {
    content: "✓";
    color: var(--accent-gold);
    margin-right: 10px;
    font-weight: bold;
}

.quote-form-container input, .quote-form-container select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}



/* --- Modals --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.hidden { display: none; }

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
}
/* --- FAQ Section Styling --- */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

/* Accordion Item */
.faq-item {
    border-bottom: 1px solid #edf2f7;
    overflow: hidden;
}

/* The Button / Trigger */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-trigger span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-blue);
    padding-right: 20px;
}

.faq-trigger:hover span {
    color: var(--accent-gold);
}

/* Icon Rotation */
.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* Content Area - Hidden by default */
.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content Area - Visible when active */
.faq-item.active .faq-content {
    max-height: 1000px; /* High enough to contain any text */
    opacity: 1;
    padding-bottom: 24px;
}

.faq-text-wrapper {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-text-wrapper p {
    margin-bottom: 15px;
}

.faq-list {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

.faq-list li {
    margin-bottom: 10px;
}
.faq-text-wrapper p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-text-wrapper p:last-child {
    margin-bottom: 0;
}


/* --- Footer Styles --- */
.main-footer {
    background-color: #7e8b98; /* Very Light Grey/Off-white */
    color: #333;   /* Dark slate for readability */
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: black; /* Darker heading */
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-nav a {
    display: block;
    color: var(--white); /* Softer grey for links */
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white); /* Highlight in teal on hover */
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #1877F2; /* Facebook Blue on hover */
}

.footer-phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-teal); /* Teal stands out more on light bg */
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

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

/* --- Footer Bottom Bar --- */
.footer-bottom {
    background-color: #f1f5f9; /* Slightly darker than main footer for contrast */
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.credit span {
    color: var(--primary-teal);
    font-weight: 600;
}


/* --- Our Work Section --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.work-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.work-image {
    position: relative;
    height: 220px;
    width: 100%;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- Cookie Bar Styles --- */
.cookie-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 9999; /* Higher than header/modals */
    padding: 20px 0;
    border-top: 3px solid var(--accent-gold);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-gold);
}

.hidden {
    display: none !important;
}

/* iPhone SE / Mobile Fix */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        flex: 1;
        font-size: 0.85rem;
    }
}


/* --- Contact Page Specifics --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 40px;
    border: none; /* Explicitly set to none without !important */
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-icon {
    font-size: 1.5rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    /* border: 1px solid #000000; */
}

.info-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--accent-gold);
}

/* Find this in styles115.css and change it to this: */
.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    border: none; /* <--- Change '1px solid #f0f0f0' to 'none' */
}

.contact-form-card input, 
.contact-form-card select, 
.contact-form-card textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
   
    
    font-family: inherit;
}

/* Responsive Fix for iPhone SE */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 25px;
    }
}

/* --- Page Specific Styles --- */
.page-hero {
    background-color: #f8fafc;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.hero-subtitle {
    margin-top: 15px;
    color: var(--text-light);
    font-weight: 600;
}

/* Ensure the active link in nav is highlighted */
.desktop-nav a.active {
    color: var(--accent-gold);
}



/*  about page  */


/* --- About Page Story --- */
.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
}

.rounded-img {
    border-radius: 30px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Mobile Fix for SE */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .stat-box {
        border-left: none;
        border-top: 3px solid var(--accent-gold);
        padding-left: 0;
        padding-top: 10px;
    }
}


/* terms Pages */

/* --- Terms Page Styles --- */
/* --- Legal/Terms Specific Styling --- */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--accent-gold);
}

.legal-section {
    margin-bottom: 45px;
}

.legal-section h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 1.2rem;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
}

.legal-footer hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.legal-footer h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-footer p {
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Mobile Adjustments for iPhone SE */
@media (max-width: 600px) {
    .legal-intro {
        padding: 20px;
        font-size: 1rem;
    }
    .legal-section h3 {
        font-size: 1.3rem;
    }
}

/* contract work */

/* --- Commercial Page Styles --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 1.4rem;
}

.commercial-form-box {
    background: var(--primary-blue);
    padding: 40px;
    border-radius: 20px;
    color: white;
}

.commercial-form input, 
.commercial-form select, 
.commercial-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-blue);
    width: 100%;
    padding: 15px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
/* --- Commercial Page Enhancements --- */
.lead-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.commercial-pillars {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.pillar {
    padding-left: 20px;
    border-left: 3px solid var(--accent-gold);
}

.pillar h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-highlight {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px dashed var(--accent-gold);
}

.contract-highlight h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.btn-gold {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

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


/* come */

/* --- Commercial Homepage CTA --- */
.commercial-cta {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0;
}

.commercial-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.commercial-promo-text {
    flex: 1; /* Takes up the remaining space */
}

.commercial-tag {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
}

.commercial-title {
    color: white;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-highlight-gold {
    color: var(--accent-gold);
}

.commercial-description {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Image container constrained to 50% */
.commercial-promo-image {
    flex: 0 0 45%; /* Limits width to 45% of the container */
    max-width: 50% !important;
    text-align: right;
}

.commercial-promo-image img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-gold-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* Mobile Fix */
@media (max-width: 768px) {
    .commercial-grid {
        flex-direction: column;
        text-align: center;
    }
    .commercial-promo-image {
        flex: 0 0 100%;
        max-width: 80% !important; /* Smaller image on mobile so it's not huge */
        margin: 0 auto;
    }
}

/* newsletter */
/* Newsletter Popup Styles */
.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 64, 0.9); /* Your Primary Blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.newsletter-overlay.show {
    opacity: 1;
}

.newsletter-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--accent-gold);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
}

.gold-tag {
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.newsletter-body h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 10px 0;
}

#newsletter-form {
    margin-top: 25px;
}

#newsletter-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.privacy-note {
    font-size: 0.7rem;
    margin-top: 15px;
    color: #666;
}

/* about us additional styles */
/* About Page Extensions */
.bg-light {
    background-color: #f9f9f9;
}

.person-center {
    align-items: center;
}

.portrait-border {
    border-bottom: 6px solid #D4AF37;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Book Now Card Styling */
.book-now-card {
    margin-top: 35px;
    background: #1a1a1a;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #D4AF37;
    transition: transform 0.3s ease;
}

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

.book-now-card h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.book-now-card p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Outline Button for Contact */
.btn-outline {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
    border-radius: 4px;
}

.btn-outline:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

step-image {
    border-radius: 15px;
    width: 100px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* reviews requests */
.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: #444;
    padding: 12px 24px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-google-review:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}


/* auth */
.developer-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f7f6;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #444;
}

.verification-badge strong {
    color: #2c3e50;
    margin-left: 3px;
}

.verification-id {
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}


/* --- Fix for Custom Scrollbar & Overflow --- */
/* --- Professional Pricing Refactor (VITAL DETAILS FIX) --- */

.pricing-refactor .work-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 20px 0;
}

.pricing-refactor .work-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    /* CRITICAL: Ensure height is never restricted */
    height: auto !important; 
    min-height: min-content;
    overflow: visible !important; 
    transition: all 0.3s ease;
}

/* Ensure the info container can expand */
.pricing-refactor .work-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Table Vital Details Fix */
.pricing-refactor .service-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    table-layout: auto; /* Allows columns to adjust to content */
}

.pricing-refactor .service-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #f5f7f9;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Prevent the right column (the "Included" part) from being squashed */
.pricing-refactor .service-table td:last-child {
    text-align: right;
    font-weight: 700;
    white-space: nowrap; 
    color: var(--primary-blue);
}

/* Fix for Tooltip/Info Dot on Mobile */
.pricing-refactor .info-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 4px;
}

.pricing-refactor .info-box {
    width: 180px;
    left: auto;
    right: 0; /* Align to right so it doesn't go off left edge of screen */
    transform: none;
    bottom: 30px;
}

/* Mobile Specific Fixes */
@media (max-width: 767px) {
    .pricing-refactor .work-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-refactor .work-card {
        width: 100%;
        max-width: 100%; /* Use full screen width */
        margin-bottom: 20px;
    }

    /* Make text slightly smaller to fit table rows on one line */
    .pricing-refactor .service-table td {
        font-size: 0.85rem;
    }
    
    /* Ensure the maintenance list doesn't get cut off */
    .pricing-refactor .maintenance-list li {
        font-size: 0.85rem;
    }
}




/* web apps  */
/* --- APP SERVICE VERTICAL STACK --- */

.app-service-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.app-service-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: visible; /* Allows tooltips to show */
    display: flex;
    flex-direction: column;
    height: auto ;
}

.app-service-image {
    height: 220px; /* Controlled image height */
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.app-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-service-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.app-service-info {
    padding: 30px;
}

.app-service-price {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 15px 0;
}

/* Table Detail Automation */
.app-service-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.app-service-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.95rem;
}

.app-service-table td:last-child {
    text-align: right;
    white-space: nowrap; /* Forces '3 Years Included' to stay visible */
    font-weight: 700;
    color: var(--primary-blue);
}

.app-service-header {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent-gold);
    padding-top: 20px !important;
    border: none !important;
}

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

.app-service-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #666;
}

.app-service-list li span {
    color: #666;
    font-weight: 700;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .app-service-info { padding: 20px; }
    .app-service-table td { font-size: 0.85rem; }
    .app-service-image { height: 180px; }
}


/* --- Startup Deal Section --- */
.startup-deal-card {
    background: #ffffff;
    border: 2px solid var(--primary-blue);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.startup-content { flex: 1; }

.deal-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.deal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #444;
}

.deal-pricing {
    display: flex;
    flex-direction: column;
}

.deal-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.from-text {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
}

.startup-visual {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.tech-stack-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tech-stack-mini span {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    border: 1px solid #eee;
    text-align: center;
}

/* Mobile responsive for Deal card */
@media (max-width: 900px) {
    .startup-deal-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    .deal-features li { justify-content: center; }
    .startup-visual { display: none; } /* Hide tech blocks on mobile to save space */
}







/* Ensure the viewport actually hides the overflow */
.work-slider-viewport {
    width: 100%;
    overflow-x: scroll; /* Changed from 'auto' to ensure scrolling is enabled */
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hides default scrollbar for Firefox */
}

/* Custom Scrollbar Styling */
.custom-scroll-container {
    width: 100%;
    clear: both;      /* Forces it below any floating elements */
    display: flex;
    justify-content: center;
    padding-top: 40px; /* Space between the cards and the bar */
    margin-top: 10px;
}

.custom-scroll-track {
    width: 250px;      /* Total width of the track */
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.custom-scroll-thumb {
    width: 80px;       /* Width of the moving bar */
    height: 100%;
    background: var(--accent-gold); /* Your gold color */
    border-radius: 10px;
    position: absolute;
    left: 0;
}

/* Responsive Fix for iPhone SE */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 25px;
    }
}
/* Mobile Fix for SE */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .stat-box {
        border-left: none;
        border-top: 3px solid var(--accent-gold);
        padding-left: 0;
        padding-top: 10px;
    }
}
/* iPhone SE / Mobile Fix */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        flex: 1;
        font-size: 0.85rem;
    }
}
/* Force everything to stay within the screen bounds */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* This is the 'Safety Net' */
    position: relative;
}

* {
    box-sizing: border-box; /* Ensures padding doesn't add to width */
}


/* contact us form  */

.modern-select {
    /* This changes the text you see BEFORE you click */
    font-size: 1.1rem; 
    font-weight: 500;
    
    /* This helps some browsers scale the dropdown items */
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Padding adds 'breathing room' which makes text feel bigger */
    padding: 15px;
    height: auto;
    line-height: 1.5;
}

/* This works in some browsers (Firefox/Old Chrome) */
.modern-select option {
    font-size: 1.1rem;
    padding: 10px;
    background-color: #ffffff;
    color: #2c3e50;
}
@media (max-width: 480px) {
    .modern-select {
        font-size: 1.1rem; /* Even smaller for mobile screens */
        padding: 10px;
    }
    .modern-select option {
    font-size: 1.8rem; /* Making the list items clearly larger */
    padding: 12px;
    background: #ffffff;
    }
}

/* Fix for mobile spacing */
@media (max-width: 480px) {
    .video-wrapper {
        border-radius: 10px;
        border-width: 2px;
    }
}


/* Ensure images don't look distorted on iPhone SE */
@media (max-width: 350px) {
    .work-image {
        height: 180px;
    }
}
/* iPhone SE Responsive */
@media (max-width: 600px) {
    .footer-grid {
        text-align: center;
    }
    .footer-social-link {
        justify-content: center;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .faq-trigger span {
        font-size: 1rem;
    }
}

/* --- Responsive Settings --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .quote-box { grid-template-columns: 1fr; padding: 30px; }
    .form-row { grid-template-columns: 1fr; }
}