    /* styles.css — component and page-level styles
       Base variables, resets and accessibility defaults are now in theme.css.
       Import the theme first so this file only contains component-specific rules.
    */

    @import url('theme.css');

    .arc-header {
        text-align: center;
        position: relative;
        margin-bottom: 60px;
    }

    .top-actions { position: absolute; top: 12px; right: 12px; }
    .top-actions .cta-button.small { padding: 8px 12px; font-size: 0.85rem; }

    .main-arc {
        width: 300px;
        height: 150px;
        border: 12px solid transparent;
        border-bottom: none;
        border-radius: 300px 300px 0 0;
        margin: 0 auto 20px;
        position: relative;
        top: 12px;
        background: linear-gradient(90deg,
            #ff0000, #ff8c00, #ffd700, #32cd32, #00bfff, #4169e1, #8a2be2
        );
        /* gradient on the arc */
        background-clip: border-box;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }

    .main-arc::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 0;
        background: white;
        border-radius: 276px 276px 0 0;
    }

    /* Arc title - centered on the rainbow arc */
    .arc-title {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 10;
    }

    .arc-title h1 {
        font-size: 2.2rem;
        margin: 0;
        color: #333;
        text-shadow: none;
    }

    .arc-title .arc-sub {
        font-size: 0.9rem;
        margin: 5px 0 0 0;
        color: #666;
        text-shadow: none;
    }

    /* spacing for subtitle under the header */
    .arc-header .subtitle {
        margin-top: 12px;
    }

    h1 {
        font-size: 3.5rem;
        color: white;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
        margin: 0;
        font-weight: bold;
    }

    .subtitle {
        font-size: 1.3rem;
        color: rgba(255, 255, 255, 0.95);
        margin-top: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .content-section {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 40px;
        margin: 30px 0;
        box-shadow: var(--card-shadow);
        position: relative;
        overflow: hidden;
        z-index: 1; /* ensure content sits above decorative elements */
    }

    .content-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #ff6b6b, #ffa500, #ffff00, #32cd32, #00bfff, #8a2be2);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .service-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

/* Service card title and color utilities */
.service-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}
.service-red { color: #ff6b6b; }
.service-orange { color: #ffa500; }
.service-green { color: #32cd32; }
.service-blue { color: #00bfff; }

    .paw-print {
        width: 40px;
        height: 40px;
        margin: 0 auto 15px;
        opacity: 0.7;
    }

    /* Decorative dog silhouettes should be behind content and non-interactive */
    .dog-silhouette {
        position: absolute;
        opacity: 0.06;
        z-index: 0; /* sit behind textual content (content-section has z-index:1) but remain visible */
        pointer-events: none;
    }

    .dog-1 {
        top: 20px;
        right: 20px;
        width: 80px;
        height: 60px;
    }

    .dog-2 {
        bottom: 20px;
        left: 20px;
        width: 100px;
        height: 70px;
    }

    .cta-button {
        background: linear-gradient(45deg,
            #ff0000, #ff8c00, #ffd700, #32cd32, #00bfff, #4169e1, #8a2be2
        );
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        margin: 20px 10px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        background: linear-gradient(45deg,
            #e60000, #e67e00, #e6c200, #2eb82e, #0099e6, #3a5fcd, #7a25cc
        );
    }

    /* floating decorative paws: anchor to viewport and keep non-interactive */
    .floating-paws {
        position: fixed;
        inset: 0; /* top:0; right:0; bottom:0; left:0 */
        pointer-events: none;
        z-index: 0;
    }

    .floating-paw {
        position: absolute;
        opacity: 0.3;
        animation: float 6s ease-in-out infinite;
        will-change: transform;
        /* allow clicks on individual paw svgs while container remains non-interactive */
        pointer-events: auto;
        cursor: pointer;
    }

    /* positional helpers for floating paws (moved from inline styles) */
    .floating-paw.paw-1 { top: 10%; left: 5%; animation-delay: 0s; }
    .floating-paw.paw-2 { top: 60%; right: 10%; animation-delay: 2s; }
    .floating-paw.paw-3 { top: 30%; left: 15%; animation-delay: 4s; }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(10deg); }
    }

    .rainbow-arc-small {
        width: 60px;
        height: 30px;
        border: 3px solid transparent;
        border-bottom: none;
        border-radius: 60px 60px 0 0;
        display: inline-block;
        margin: 0 10px;
        vertical-align: middle;
        background: linear-gradient(90deg,
            #ff0000, #ff8c00, #ffd700, #32cd32, #00bfff, #4169e1, #8a2be2
        );
        background-clip: padding-box;
        position: relative;
    }

    .rainbow-arc-small::before {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 0;
        background: white;
        border-radius: 54px 54px 0 0;
    }

    /* Intro / hero typography */
    .lead-heading {
        text-align: center;
        color: #333;
        margin-bottom: 20px;
    }

    .lead-paragraph {
        text-align: center;
        font-size: 1.1rem;
        color: #666;
        line-height: 1.6;
    }

    /* CTA row to replace inline text-align wrapper */
    .cta-row { text-align: center; margin-top: 40px; }

    /* Our Promise section */
    .section-title {
        text-align: center;
        color: #333;
        margin-bottom: 30px;
    }

    .promise-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        text-align: center;
    }

    .promise-title { margin: 0 0 10px 0; }
    .promise-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .promise-title { margin: 0 0 10px 0; }
    .promise-purple { color: #8a2be2; }
    .promise-red { color: #ff6b6b; }
    .promise-green { color: #32cd32; }

    /* Responsive tweaks */
    @media (max-width: 768px) {
        h1 { font-size: 2.5rem; }
        .main-arc { width: 250px; height: 125px; }
        .content-section { padding: 25px; margin: 20px 0; }
        .services-grid { grid-template-columns: 1fr; gap: 20px; }
    }

    /* component-specific and layout rules continue below. Global img, focus, and
       reduced-motion rules are intentionally left in theme.css to keep a single
       source of truth for base behavior.
    */

   
/* --- New: Top navigation styles (sticky + responsive hamburger) --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(95, 81, 240, 0.9), rgba(255,255,255,0.85));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.brand-link { font-weight: 700; color: var(--fg); text-decoration: none; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 8px;
}

.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav .nav-list a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--fg);
    font-weight: 600;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a:focus {
    background: rgba(45, 4, 99, 0.06);
}

/* Mobile: hide nav by default, show when .open is toggled */
@media (max-width: 860px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav .nav-list a { padding: 12px 10px; border-bottom: 1px solid rgba(0,0,0,0.04); }
}

/* Desktop: show nav as inline buttons and hide the toggle */
@media (min-width: 861px) {
    .nav-toggle { display: none; }
    .main-nav { display: block; }
    .main-nav .nav-list { gap: 12px; }
    /* Make desktop links look like compact CTA buttons */
    .main-nav .nav-list a {
        padding: 8px 14px;
        background: linear-gradient(45deg,
            #ff0000, #ff8c00, #ffd700, #32cd32, #00bfff, #4169e1, #8a2be2
        );
        color: white;
        border-radius: 20px;
        box-shadow: 0 5px 12px rgba(0,0,0,0.12);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
    }
    .main-nav .nav-list a:hover,
    .main-nav .nav-list a:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    }
}

.sr-only { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Contact page layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; }
.muted-note { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Contact form styles */
.contact-form { display: grid; gap: 12px; max-width: 720px; margin: 0 auto; }
.contact-form .form-row { display: flex; flex-direction: column; }
.contact-form label { font-weight: 600; margin-bottom: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.12); font-size: 1rem; }
.contact-form textarea { font-family: inherit; }
.form-actions { text-align: center; margin-top: 8px; }
.contact-feedback { text-align: center; color: green; font-weight: 600; }

@media (min-width: 720px) {
    .contact-form { grid-template-columns: 1fr 1fr; }
    .contact-form .form-row:nth-child(odd) { grid-column: 1; }
    .contact-form .form-row:nth-child(even) { grid-column: 2; }
    .contact-form .form-row:nth-last-child(2) { grid-column: 1 / -1; }
    .contact-form .form-row textarea { grid-column: 1 / -1; }
    .form-actions { grid-column: 1 / -1; }
}

