/* ===================================
   CSS CUSTOM PROPERTIES (COLORS)
   =================================== */
:root {
    /* Primary Brand Colors */
    --color-primary-dark: #000;      /* Dark olive green - headers, buttons, text */
    --color-primary-medium: #6a8e6f;    /* Medium green - button backgrounds, borders */
    --color-primary-light: #d7ecda;     /* Light green - navigation background */
    --color-primary-hover: #2c3a2e;     /* Darker green for hover states */

    /* Background Colors */
    --color-bg-primary: #ffffff;        /* White backgrounds */
    --color-bg-secondary: #f5f5f5;      /* Very light gray background */
    --color-bg-tertiary: #f0f0f0;       /* Light gray section backgrounds */
    --color-bg-accent: #f7f7f7;         /* Trust badges section */
    --color-bg-benefits: #ffffff;       /* Benefits section */
    --color-bg-modal: rgba(0, 0, 0, 0.6); /* Modal overlay */

    /* Text Colors */
    --color-text-primary: #333;         /* Primary text color */
    --color-text-secondary: #555;       /* Secondary text color */
    --color-text-tertiary: #666;        /* Tertiary text color */
    --color-text-white: #ffffff;        /* White text */
    --color-text-light: #f5f5f5;        /* Light text for hover states */

    /* Border Colors */
    --color-border-light: #ccc;         /* Light borders */
    --color-border-primary: #3c4d3f;    /* Primary borders */

    /* Special Colors */
    --color-error: #c0392b;             /* Error/important text */
    --color-cat-fact-bg: #fff6e6;       /* Cat fact background */
    --color-cat-fact-border: #f1d08c;   /* Cat fact border */

    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-white: rgba(255, 255, 255, 0.2);
    --shadow-white-glow: rgba(255, 255, 255, 0.5);

    /* Logo Sizes */
    --logo-height: 133px;
    --logo-width: 339px;

    --logo-size-small: 100px;       /* Smaller logo variant */
    --logo-size-large: 180px;       /* Larger logo variant */
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.meta-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}



/* ===================================
   BENEFITS SECTION STYLES
   ================================== */

.benefits {
    background-color: var(--color-bg-benefits);
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    text-align: left;
}

.benefits h2 {
    text-align: center;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.benefits a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.benefits a:hover {
    color: var(--color-primary-medium);
}

/* CTA Button styling for benefits sections */
.benefits .cta-button {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-dark);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.benefits .cta-button:hover {
    background-color: var(--color-primary-medium);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px var(--shadow-medium);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .benefits {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
        max-width: none;
    }

    .benefits h2 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .benefits p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .benefits .cta-button {
        padding: 0.65rem 1.4rem;
        font-size: 1rem;
    }
}




/* ===================================
   CATS STYLES
   ================================== */

.cat-approved-wrapper {
    text-align: center;
    margin: .75rem 0;
}

.cat-approved {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.9em;
    color: #666;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

.cat-approved:hover {
    color: #222;
}

.cat-approved .fa-cat {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.cat-approved:hover .fa-cat {
    transform: rotate(-8deg) scale(1.2);
}

.cat-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
}

.cat-box h1,
.cat-box h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* The wrapper ensures the image can never escape .quote-card */
.cat-image-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: block;
}

/* The image itself is forced to stay inside the container */
.cat-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* The fact box sits underneath, nicely styled */
.cat-fact {
    font-size: 1.1rem;
    background: #fff6e6;
    padding: 1.5rem;
    border: 1px solid #f1d08c;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}


/* ===================================
   CHECKOUT SUMMARY SECTION
   =================================== */

.checkout .summary {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.1rem;
}

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

.checkout .label {
    text-align: left;
    color: var(--color-text-primary);
}

.checkout .value {
    text-align: right;
    min-width: 120px;
    color: var(--color-text-primary);
}

.checkout .total-due-row {
    font-size: 1.3rem;
    margin-top: 1rem;
}

.checkout .billing-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--color-bg-primary);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--shadow-light);
}

.checkout .billing-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

.checkout .billing-wrapper label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.checkout .billing-wrapper input[type="text"],
.checkout .billing-wrapper input[type="email"],
.checkout .billing-wrapper input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid var(--color-border-light);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
}

.checkout .billing-wrapper input:focus {
    outline: none;
    border-color: var(--color-primary-medium);
    box-shadow: 0 0 0 2px rgba(106, 142, 111, 0.2);
}

.checkout .coupon-error {
    color: var(--color-error);
    font-size: 0.9rem;
    margin-top: 8px;
}

.checkout .coupon-input {
    width: 300px;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid var(--color-border-light);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
}

.checkout .coupon-input:focus {
    outline: none;
    border-color: var(--color-primary-medium);
    box-shadow: 0 0 0 2px rgba(106, 142, 111, 0.2);
}

.checkout .coupon-row {
    margin-top: 2rem;
    text-align: center;
}

.checkout .coupon-row label {
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkout .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 2rem;
}

.checkout .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.02);
}

.checkout .cta-button:disabled {
    background-color: var(--color-text-tertiary);
    cursor: not-allowed;
    transform: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .checkout .summary {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .checkout .total-due-row {
        font-size: 1.2rem;
    }

    .checkout .billing-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }

    .checkout .coupon-input {
        width: 100%;
        max-width: 300px;
    }

    .checkout .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}




/* ===================================
   FAQ COMPONENT - REUSABLE
   =================================== */

/* Core FAQ functionality - can be used by any section */
.faq-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 1rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question {
    font-weight: bold;
    color: var(--color-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 100%;
    margin: 0;
}

.faq-question span {
    flex: 1;
    display: block;
    text-align: left;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    content: "–";
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    color: var(--color-text-primary);
    text-align: left;
    margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.faq-answer a:hover {
    color: var(--color-primary-medium);
}

/* ===================================
   MAIN FAQ SECTION
   =================================== */

.faq {
    max-width: 70% !important;  /* Added !important to override .white .faq */
    margin: 2rem auto !important;  /* Added !important to keep centering */
    padding: 0 1rem;
}

.faq h1 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.faq h2 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 0.5rem;
}

/* FAQ within other sections - inherit parent styling but maintain functionality */
.white .faq {
    padding: 0;
}

.medium .faq {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Enhanced FAQ item styling for better UX */
.faq .faq-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 1.25rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.faq .faq-item:hover {
    background-color: var(--color-bg-secondary);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.faq .faq-item:last-child {
    border-bottom: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .faq {
        padding: 0 0.5rem;
        margin: 1rem auto !important;  /* Added !important for mobile centering */
        max-width: 95% !important;  /* Added !important for mobile override */
    }

    .faq h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .faq h2 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }

    .faq-question {
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .faq-question::after {
        font-size: 1.2rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .faq .faq-item:hover {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* ===================================
   MINI FAQ VARIANTS - FOR HOMEPAGE/SECTIONS
   =================================== */

.mini-faq {
    max-width: 70%;
    margin: 0 auto;
    padding: 0;
}

.mini-faq .faq-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 1rem 0;
}

.mini-faq .faq-question {
    font-size: 1rem;
    color: var(--color-primary-dark);
}

.mini-faq .faq-answer {
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

/* Mini FAQ headings and intro text */
.mini-faq-heading {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    font-size: 1.5rem;
}

.mini-faq-intro {
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.mini-faq-intro a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.mini-faq-intro a:hover {
    color: var(--color-primary-medium);
}

.mini-faq-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-primary);
}

.mini-faq-footer a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.mini-faq-footer a:hover {
    color: var(--color-primary-medium);
}

/* ===================================
   COLLAPSIBLE CONTENT - REUSABLE BEYOND FAQ
   =================================== */

/* Generic collapsible component that can be used in other contexts */
.collapsible-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 1rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.collapsible-trigger {
    font-weight: bold;
    color: var(--color-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 100%;
}

.collapsible-trigger::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.collapsible-item.active .collapsible-trigger::after {
    content: "–";
}

.collapsible-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    color: var(--color-text-primary);
    text-align: left;
    margin-top: 0.5rem;
}

.collapsible-item.active .collapsible-content {
    opacity: 1;
}


/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 1rem;
    background-color: var(--color-bg-primary);
}

.features .feature {
    max-width: 250px;
    margin: 1rem;
    text-align: center;
}

.features .feature h3 {
    color: var(--color-primary-dark);
}

.features .feature i {
    color: var(--color-primary-dark);
}

.features .feature-photo {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin: 1rem auto;
    display: block;
}

.features .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.features .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

/* Mobile responsive behavior */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .features .feature {
        margin: 0.5rem 0;
        max-width: 100%;
    }

    .features .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .features .feature-photo {
        max-width: 350px;
    }
}

/* ===================================
   FOOTER SECTION
   =================================== */

.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    padding: 3rem 1rem;
    width: 100%;
}

.footer .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 2rem;
}

.footer .col {
    padding: 1rem;
}

.footer .col-a {
    width: 15%;
    text-align: center;
}

.footer .col-b {
    width: 55%;
    text-align: left;
}

.footer .col-c {
    width: 30%;
    text-align: center;
}

.footer .logo {
    width: var(--logo-width);
    height: var(--logo-height);
    object-fit: contain;
    display: block;
}

.footer .bottom-row {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem 0;
    color: var(--color-text-white);
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.footer h3 {
    color: var(--color-text-white);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--color-text-white);
    line-height: 1.6;
}

.footer .contact-line {
    margin: 0.3rem 0;
    justify-content: center;
    text-align: center;
}

.footer .contact-line i {
    color: var(--color-text-white);
    width: 1rem;
    text-align: center;
    margin-right: 0.5rem;
}

/* ===================================
   VERY BOTTOM SECTION
   =================================== */

.very-bottom {
    background-color: var(--color-text-white);
    color: var(--color-primary-dark);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.very-bottom .container {
    margin: 0 auto;
    max-width: 80%;
    width: 100%;
}

.very-bottom .links {
    margin: 1rem 0;
}

.very-bottom .links a {
    color: var(--color-primary-dark);
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: 500;
}

.very-bottom .links a:hover {
    text-decoration: underline;
}

.very-bottom .copyright {
    margin-top: 1rem;
    color: var(--color-primary-dark);
}

/* ===================================
   FOOTER SPECIAL ELEMENTS
   =================================== */

/* Cross link styling */
.footer-cross-link {
    margin-top: 2.5rem;
    text-align: center;
}

.footer-cross-link img {
    height: 30px;
    width: auto;
    opacity: 0.9;
    transition: filter 0.5s ease;
    filter: drop-shadow(0 0 3px var(--shadow-white));
}

.footer-cross-link a:hover img {
    animation: cross-hover-glow 1.5s ease-in-out;
}

@keyframes cross-hover-glow {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    50% {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 8px var(--shadow-white-glow));
    }
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
}

/* Veteran badge animations */
.veteran-badge {
    width: var(--logo-size);
    height: var(--logo-size);
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.veteran-badge:hover {
    animation: badge-bounce 0.4s ease;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.veteran-badge.attention-pulse {
    animation: badge-pulse 1s ease;
}

@keyframes badge-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.1); }
    60%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: none; }
    50%      { transform: scale(1.08); box-shadow: 0 0 15px var(--shadow-dark); }
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

@media (max-width: 768px) {
    .footer {
        padding: 1rem 0 !important;
    }

    .footer .wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer .col {
        width: 100%;
        max-width: 90%;
        margin: 0 auto !important;
        padding: 0.25rem 0 !important;
        text-align: center;
    }

    .footer .col-a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer .col h3 {
        margin: 0.25rem 0 0.25rem;
        font-size: 1rem;
    }

    .footer .col p {
        margin: 0.25rem 0;
        font-size: 0.9rem;
        line-height: 1.2;
    }

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

    .footer .bottom-row {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 0.8rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .very-bottom .container {
        max-width: 90%;
    }

    .very-bottom .links a {
        margin: 0 0.25rem;
        font-size: 0.85rem;
    }
}


/* ===================================
   HEADER SECTION WITH ADDRESS
   =================================== */
.header {
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 1rem;
}

.header .logo {
    width: var(--logo-width);
    height: var(--logo-height);
    object-fit: contain;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.header .slogan {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: var(--color-text-white);
    flex: 1; /* Take up remaining space and center */
}

/* NEW ADDRESS BLOCK STYLES */
.header .address-block {
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-text-white);
    flex-shrink: 0; /* Prevent address from shrinking */
    min-width: 200px; /* Ensure adequate space */
}

.header .address-block .address-line {
    margin: 0.1rem 0;
}

.header .address-block .phone {
    font-weight: 600;
    margin-top: 0.3rem;
}

.header .address-block .hours {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    opacity: 0.9;
}

/* UPDATED Mobile responsive behavior */
@media (max-width: 1024px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header .slogan {
        font-size: 2rem;
        order: 2; /* Logo first, then slogan */
    }

    .header .logo {
        order: 1;
    }

    .header .address-block {
        order: 3; /* Address last */
        text-align: center;
        min-width: auto;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.35rem 1rem 1rem 1rem;
    }

    .header .container {
        gap: 0.75rem;
    }

    .header .slogan {
        font-size: 1.75rem;
    }

    .header .address-block {
        font-size: 0.8rem;
    }

    .header .address-block .hours {
        font-size: 0.75rem;
    }
}

/* For very small screens, hide some address details */
@media (max-width: 480px) {
    .header .address-block .hours {
        display: none;
    }
}


/* ===================================
   MEDIUM SECTION
   =================================== */
.medium {
    background: var(--color-bg-tertiary);
    padding: 2rem 1rem 3rem;
    text-align: center;
}

.medium img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.medium h1 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.medium h2 {
    font-size: 1.75rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.medium p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--color-text-primary);
}

.medium .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.medium .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

.medium .profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 7px solid var(--color-primary-medium);
    object-fit: cover;
}



/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .medium {
        padding: 1.5rem 1rem 2rem;
    }

    .medium h1 {
        /* font-size: 2rem; */
    }

    .medium h2 {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    .medium img {
        max-height: 300px;
    }

    .medium .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .white .profile-image {
        width: 200px;
        height: 200px;
    }
}

/* ===================================
   MEDIUM PHOTO LEFT SECTION
   =================================== */
.medium-photo-left {
    padding: 2rem;
    background-color: var(--color-bg-tertiary);
}

.medium-photo-left .wrapper {
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2rem;
}

.medium-photo-left .image {
    max-width: 500px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.medium-photo-left .text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.medium-photo-left h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    text-align: left;
}

.medium-photo-left p {
    font-size: 1.1rem;
    max-width: 100%;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    text-align: left;
}

/* Secondary text styling (like the developer bio) */
.medium-photo-left .text p:last-child {
    color: var(--color-text-secondary);
}

.medium-photo-left .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.medium-photo-left .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

/* Mobile responsive behavior */
@media (max-width: 1024px) {
    .medium-photo-left .wrapper {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .medium-photo-left .image {
        margin: 0 auto;
    }

    .medium-photo-left {
        text-align: center;
    }

    .medium-photo-left .text {
        text-align: center;
    }

    .medium-photo-left h2 {
        text-align: center;
    }

    .medium-photo-left p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .medium-photo-left {
        padding: 1.5rem 1rem;
    }

    .medium-photo-left .wrapper {
        max-width: 95%;
        gap: 1.5rem;
    }

    .medium-photo-left h2 {
        font-size: 1.75rem;
    }

    .medium-photo-left .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}


/* ===================================
   MODAL SECTION
   =================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal .content {
    background: var(--color-bg-primary);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 12px var(--shadow-dark);
    position: relative;
}

.modal .content h2 {
    color: var(--color-primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal .content p {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.modal .close-x {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal .close-x:hover {
    color: var(--color-primary-dark);
}

.modal .close-btn {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal .close-btn:hover {
    background-color: var(--color-primary-hover);
}

.modal .photo {
    width: 180px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal .footer {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* Special styling for veteran modal content */
.modal .veteran-content {
    color: var(--color-primary-dark);
    line-height: 1.5;
}

.modal .veteran-footer {
    color: var(--color-primary-dark);
    font-weight: bold;
    margin-top: 15px;
}

/* Veteran badge cursor */
.veteran-badge {
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal .content {
        padding: 20px;
        max-width: 95%;
        margin: 1rem;
    }

    .modal .content h2 {
        font-size: 1.25rem;
    }

    .modal .photo {
        width: 150px;
    }

    .modal .close-x {
        font-size: 24px;
        top: 8px;
        right: 12px;
    }
}







/* ===================================
   NAVIGATION SECTION WITH DROPDOWNS - CORRECTED
   =================================== */
.navigation {
    background-color: var(--color-primary-light);
    position: relative;
    z-index: 1000;
}

.navigation .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    position: relative;
}

.navigation .links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navigation .links li {
    position: relative;
}

.navigation .links li a {
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.navigation .links li a:hover {
    color: var(--color-primary-hover);
}

/* ===================================
   DROPDOWN FUNCTIONALITY
   =================================== */

/* Dropdown trigger styling (disabled parent links) */
.navigation .dropdown-trigger {
    color: var(--color-primary-dark);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    user-select: none;
}

.navigation .dropdown-trigger:hover {
    color: var(--color-primary-hover);
}

.navigation .dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Dropdown menu styling - FIXED: Single transform property */
.navigation .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-medium);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.navigation .dropdown-menu li {
    margin: 0;
}

.navigation .dropdown-menu li a {
    color: var(--color-text-primary);
    padding: 0.75rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 0;
}

.navigation .dropdown-menu li a:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Hide the checkbox */
.navigation .menu-toggle {
    display: none;
}

/* Hamburger icon styles */
.navigation .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.navigation .hamburger span {
    display: block;
    height: 4px;
    background: var(--color-primary-dark);
    border-radius: 2px;
}

/* ===================================
   DESKTOP HOVER BEHAVIOR
   =================================== */
@media (min-width: 769px) {
    /* Show dropdown on hover - ONLY on desktop */
    .navigation .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .navigation .has-dropdown:hover .dropdown-trigger i {
        transform: rotate(180deg);
    }
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */
@media (max-width: 768px) {
    .navigation .container {
        justify-content: space-between;
    }

    .navigation .hamburger {
        display: flex;
        margin-left: auto;
    }

    .navigation .links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--color-primary-light);
        flex-direction: column;
        align-items: flex-start;
        display: none;
        width: 70%;
        padding: 1rem;
        box-shadow: 0 2px 8px var(--shadow-medium);
        border-radius: 0 0 0 8px;
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Show menu when checkbox is checked */
    .navigation .menu-toggle:checked + .hamburger + .links {
        display: flex;
    }

    .navigation .links li {
        width: 100%;
        position: relative;
    }

    .navigation .links li a,
    .navigation .dropdown-trigger {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
    }

    .navigation .links li:last-child a,
    .navigation .links li:last-child .dropdown-trigger {
        border-bottom: none;
    }

    /* Mobile dropdown behavior */
    .navigation .has-dropdown {
        width: 100%;
    }

    .navigation .dropdown-trigger {
        justify-content: space-between;
        width: 100%;
    }

    .navigation .dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background-color: var(--color-bg-secondary);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-left: 1rem;
        min-width: auto;
        width: calc(100% - 1rem);
        transition: all 0.3s ease;
        padding: 0;
    }

    /* Mobile dropdown open state */
    .navigation .dropdown-menu.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .navigation .dropdown-menu li a {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--color-border-light);
        font-size: 0.9rem;
        color: var(--color-text-secondary);
    }

    .navigation .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .navigation .dropdown-menu li a:hover {
        background-color: var(--color-bg-primary);
        color: var(--color-primary-dark);
    }

    /* DISABLE hover behavior completely on mobile */
    .navigation .has-dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        max-height: 0 !important;
    }

    .navigation .has-dropdown:hover .dropdown-trigger i {
        transform: none !important;
    }

    /* Mobile dropdown trigger animation */
    .navigation .has-dropdown.mobile-active .dropdown-trigger i {
        transform: rotate(180deg) !important;
    }

    /* Force mobile-open state to always show */
    .navigation .has-dropdown.mobile-active .dropdown-menu.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 300px !important;
    }
}

















































/* ===================================
   PRICING SECTION
   =================================== */

.pricing .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    padding: 2rem 1rem;
}

.pricing .card {
    background-color: var(--color-bg-primary);
    border: 2px solid var(--color-text-primary);
    border-radius: 12px;
    padding: 2rem;
    max-width: 320px;
    flex: 1 1 280px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing .card h3 {
    margin-top: 0;
    color: var(--color-text-primary);
    text-align: center;
}

.pricing .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    text-align: center;
    color: var(--color-text-primary);
}

.pricing .price span {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.pricing .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing .content img.plan-photo {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

.pricing .content ul {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 1.25rem;
    list-style-type: disc;
    text-align: left;
}

.pricing .content li {
    margin-bottom: 0.75rem;
}

.pricing .cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .pricing .container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .pricing .card {
        max-width: 100%;
        padding: 1.5rem;
    }

    .pricing .price {
        font-size: 1.75rem;
    }

    .pricing .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}


/* ===================================
   QUOTE SECTION STYLES
   ================================== */

/* Main quote card styling */
.quote {
    background-color: var(--color-bg-tertiary);
    text-align: center;
    padding: 2rem 1rem;
    margin: 3rem auto;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.quote .icon {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.quote h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.quote .text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Travel quote specific styling */
.quote .travel-text {
    text-align: center;
    font-style: italic;
    color: var(--color-primary-dark);
    margin: 2rem 0;
    font-size: 1.1rem;
}

/* Highlight card variant */
.quote.highlight {
    background: var(--color-bg-primary);
    padding: 3rem 2rem;
    max-width: 800px;
    border-radius: 10px;
}

.quote.highlight .icon {
    margin-bottom: 1rem;
}

.quote.highlight .icon i {
    font-size: 3rem;
    color: var(--color-primary-dark);
}

.quote.highlight h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.quote.highlight .text {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--color-text-primary);
}

/* CTA Button styling for quote sections */
.quote .cta-button {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.quote .cta-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-dark);
}

/* Quote card top section (for special cases like cat page) */
.quote .card-top {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .quote {
        margin: 2rem 1rem;
        padding: 1.5rem 1rem;
        max-width: none;
    }

    .quote.highlight {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
        max-width: none;
    }

    .quote .icon {
        font-size: 2rem;
    }

    .quote.highlight .icon i {
        font-size: 2.5rem;
    }

    .quote h3 {
        font-size: 1.3rem;
    }

    .quote.highlight h3 {
        font-size: 1.6rem;
    }

    .quote .text {
        font-size: 1rem;
    }

    .quote.highlight .text {
        font-size: 1.1rem;
    }

    .quote .cta-button {
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }
}



/* ===================================
   TOPBAR SECTION
   =================================== */
.topbar {
    background: var(--color-bg-primary);
    padding: 0.5rem 0;  /* Doubled from 0.25rem to match double-nesting effect */
    text-align: left;
}

.topbar .inner {
    max-width: 80%;
    margin-left: 10%;
    padding: 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   PHONE LINK
   =================================== */
.topbar .phone-link {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.topbar .phone-link:hover {
    text-decoration: underline;
}

/* ===================================
   SOCIAL SHARE
   =================================== */
.topbar .social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar .share-label {
    font-size: 1rem;
    color: var(--color-primary-dark);
    font-weight: 500;
    white-space: nowrap;
}

.topbar .social-share a {
    text-decoration: none;
}

.topbar .social-share a i::before {
    color: var(--color-primary-dark) !important;
    font-size: 1.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.topbar .social-share a:hover i::before {
    color: var(--color-primary-medium) !important;
    transform: scale(1.2);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 768px) {
    .topbar .inner {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .topbar .inner {
        flex-direction: column;
        align-items: center;  /* Changed from flex-start to center */
        text-align: center;   /* Added for additional centering */
    }

    .topbar .social-share {
        justify-content: center;  /* Changed from flex-start to center */
    }
}


/* ===================================
   TRUST BADGES SECTION
   =================================== */

.trust-badges {
    background-color: var(--color-bg-accent);
    padding: 3rem 1rem;
    margin-top: 0;
}

.trust-badges h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
    font-size: 2rem;
}

.trust-badges .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

.trust-badges .badge {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.trust-badges .badge:hover {
    transform: scale(1.05);
}

.trust-badges .badge i {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.trust-badges .badge p {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Trust tooltip - global utility class */
.trust-tooltip {
    position: absolute;
    background-color: var(--color-bg-primary);
    color: var(--color-primary-dark);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    box-shadow: 0 2px 5px var(--shadow-medium);
    max-width: 200px;
    z-index: 9999;
    pointer-events: none;
    white-space: normal;
    line-height: 1.4;
}

/* Force 4 max per row on large screens */
@media (min-width: 768px) {
    .trust-badges .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .trust-badges {
        padding: 2rem 1rem;
    }

    .trust-badges h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .trust-badges .grid {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .trust-badges .badge i {
        font-size: 2.5rem;
    }

    .trust-badges .badge p {
        font-size: 0.9rem;
    }
}


/* ===================================
   WHITE SECTION
   =================================== */
.white {
    background: var(--color-bg-primary);
    padding: 2rem 1rem 3rem;
    text-align: center;
}

.white h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.white h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--color-text-primary);
}

.white p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--color-text-primary);
}

.white a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    font-weight: 600;
}

.white a:hover {
    color: var(--color-primary-medium);
}

.white .profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 7px solid var(--color-primary-medium);
    object-fit: cover;
}

.white .quote-text {
    font-style: italic;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 2rem auto;
}

.white .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.white .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

.white .left-wrapper {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
}

.white .left-wrapper h1,
.white .left-wrapper h2 {
    margin: 0 0 1rem 0;
    text-align: left;
}

.white .left-wrapper p {
    margin: 0 0 1.25rem 0;
    max-width: 100%;
    text-align: left;
}

.white .left-wrapper ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.white .left-wrapper li {
    margin-bottom: 0.5rem;
}

/* Icon styling for features within white sections */
.white .features .feature i {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .white {
        padding: 1.5rem 1rem 2rem;
    }

    .white h1 {
        font-size: 2rem;
    }

    .white h2 {
        font-size: 1.25rem;
        margin-top: 1rem;
    }

    .white .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .white .left-wrapper {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 1rem;
    }

    .white .profile-image {
        width: 200px;
        height: 200px;
    }
}






/* ===================================
   PLAN NOTES STYLING
   =================================== */

.plan-notes {
    background-color: var(--color-bg-secondary);
    border-left: 3px solid var(--color-border-light);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 1.5rem;
}

.plan-notes p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    position: relative;
    padding-left: 1rem;
    line-height: 1.4;
}

.plan-notes p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-secondary);
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .plan-notes {
        padding: 0.85rem 1rem;
        margin-top: 1.25rem;
    }

    .plan-notes p {
        font-size: 0.85rem;
        padding-left: 0.85rem;
    }
}



/* ===================================
   HERO CAROUSEL COMPONENT - REUSABLE
   =================================== */

.hero-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.hero-carousel .carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.hero-carousel .carousel-slide {
    min-width: 100%;
    position: relative;
}

.hero-carousel .carousel-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}


/* Carousel dots - separate component that works with hero-carousel */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.carousel-dots .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(60, 77, 63, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dots .carousel-dot.active {
    background-color: var(--color-primary-dark);
    transform: scale(1.2);
}

.carousel-dots .carousel-dot:hover {
    background-color: var(--color-primary-medium);
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    .hero-carousel {
        max-width: 95%;  /* Use more screen space on mobile */
        margin: 0 auto 1rem;
    }

    .hero-carousel .carousel-slide img {
        max-height: 300px;  /* Existing mobile height adjustment */
    }

    .carousel-dots {
        gap: 0.4rem;
    }

    .carousel-dots .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

h1 .phone-link {
    color: var(--color-primary-dark);
    text-decoration: none;
}






.white.two-column {
    padding: 2rem 1rem 3rem;
}

.white.two-column .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.white.two-column .main-content {
    flex: 0 0 70%; /* Take exactly 70% width */
    text-align: left;
}

.white.two-column .sidebar {
    flex: 0 0 28%; /* Take ~30% width (28% + 2% gap) */
    text-align: left;
    background-color: var(--color-bg-secondary);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.white.two-column .main-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    font-size: 2rem;
}

.white.two-column .main-content strong {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
}

.white.two-column .main-content strong:first-of-type {
    margin-top: 0;
}

.white.two-column .main-content p {
    margin: 0 0 1.25rem 0;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.white.two-column .sidebar h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    font-size: 1.3rem;
}

.white.two-column .sidebar p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-primary);
}

.white.two-column .sidebar .cta-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-white);
    background-color: var(--color-primary-medium);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.white.two-column .sidebar .cta-button:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.02);
}

/* Mobile responsive behavior - CRITICAL for maintaining responsiveness */
@media (max-width: 1024px) {
    .white.two-column .container {
        flex-direction: column;
        gap: 2rem;
    }

    .white.two-column .main-content {
        flex: 1 1 100%;
    }

    .white.two-column .sidebar {
        flex: 1 1 100%;
        margin: 0 auto;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .white.two-column {
        padding: 1.5rem 1rem 2rem;
    }

    .white.two-column .container {
        gap: 1.5rem;
    }

    .white.two-column .main-content h2 {
        font-size: 1.75rem;
    }

    .white.two-column .sidebar {
        padding: 1.5rem 1rem;
    }

    .white.two-column .sidebar h3 {
        font-size: 1.2rem;
    }
}



/* ===================================
   GOOGLE MAPS STYLING
   ADD TO YOUR styles.css
   =================================== */

.map-container {
    max-width: 100%;
    margin: 2rem auto;
    box-shadow: 0 4px 8px var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
}

.map-section {
    background-color: var(--color-bg-primary);
    padding: 3rem 1rem;
    text-align: center;
}

.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.map-wrapper h3 {
    color: var(--color-primary-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.address-info {
    background-color: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem auto;
}

.address-info p {
    margin: 0.5rem 0;
    color: var(--color-text-primary);
}

.address-info strong {
    color: var(--color-primary-dark);
}

.address-info a {
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.address-info a:hover {
    color: var(--color-primary-medium);
    text-decoration: underline;
}

.map-embed {
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.map-embed iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .map-section {
        padding: 2rem 1rem;
    }

    .map-wrapper h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .address-info {
        padding: 1rem;
        text-align: center;
    }

    .map-embed iframe {
        height: 300px;
    }
}