﻿/* Reset & Base Styles */
:root {
    /* Brand Colors */
    --brand-red: #E63946; 
    --brand-red-hover: #D62828;
    --text-dark: #1D3557; 
    --text-body: #444444; 
    --bg-white: #FFFFFF;
    --bg-light: #F6F2EA;
    --bg-topbar: #E8F6F6;
    
    /* Spacing & Sizes */
    --container-width: 95%; /* Fluid width */
    --max-width: 1440px;    
    --logo-height: 110px;      /* Increased Logo Size */
    --nav-item-gap: 20px;   /* Slightly tighter gap */
    --section-gap: 30px;    
    
    /* Visuals */
    --pill-radius: 8px;
    --scallop-size: 50px;   /* Larger, smoother waves */
    --transition: all 0.2s ease-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Numans', 'Open Sans', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: var(--container-width);
    max-width: var(--max-width);
    /* margin-bottom: 500px; */
    /* margin: 0 auto; */
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: 100px; */
    margin-top: 0px;
    padding: 0 15px; /* Minimal padding to maximize space */
}

/* --- Header Wrapper --- */
.site-header {
    background-color: var(--bg-white);
    position: relative;
    z-index: 1000;
    /* padding-bottom: 2px; Space for scallops */
}

/* Scalloped Bottom (Larger/Smoother Waves) */
.site-header::after {
    content: "";
    position: absolute;
    bottom: -24px; /* Approx half of height */
    left: 0;
    width: 100%;
    height: 50px; /* Taller wave area */
    background-color: transparent;
    background-image: radial-gradient(circle, var(--bg-white) 60%, transparent 61%);
    background-size: var(--scallop-size) var(--scallop-size);
    background-repeat: repeat-x;
    background-position: center bottom;
    pointer-events: none;
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: #F6F4EF; /* Light Beige from image */
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    overflow: hidden; /* Ensure ticker doesn't overflow container */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%; /* Match header width */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
}

.contact-item i {
    color: #555; /* Subtle icon color */
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-label {
    font-weight: 600;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #333;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--brand-red);
}

/* Responsive Top Bar */
@media (max-width: 768px) {
    .top-bar { display: none; } /* Hide on mobile/tablet as is standard */
}

/* --- Main Header --- */
.main-header {
    padding: 10px 0; /* Balanced padding */
    height: auto;    /* Allow height to adapt */
    height: 120px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute items */
    flex-wrap: nowrap; /* Force single line */
}

/* 1. Logo - FIXED SIZE */
.logo {
    flex-shrink: 0;
    margin-right: var(--section-gap);
    /* Remove any negative margin if present */
}
.logo img {
    height: var(--logo-height); 
    width: auto;
    max-width: 300px; /* Increased to allow wider logo */
    object-fit: contain;
    display: block;
}

/* Header Container Override for Full Width feel */
.main-header .container {
    max-width: 98%; /* Fill the corners */
    padding: 0 40px; /* Comfortable edge padding */
}

/* 2. Navigation - CENTERED & TIGHT */
.main-nav {
    flex-grow: 1; 
    display: flex;
    justify-content: center; 
    min-width: 0; /* Allow shrinking if absolutely necessary */
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--nav-item-gap); 
}

.main-nav a {
    display: block;
    padding: 8px 12px; /* Compact padding */
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.05rem; /* Adjusted font size */
    color: var(--text-dark);
    border-radius: var(--pill-radius);
    transform: skewX(-10deg);
    white-space: nowrap;
}

.main-nav a span {
    display: block;
    transform: skewX(10deg);
}

/* Hover / Active */
.main-nav a:hover,
.main-nav a.active {
    background-color: var(--brand-red);
    color: var(--bg-white);
}

/* 3. Actions - RIGHT ALIGNED & VISIBLE */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: var(--section-gap);
    flex-shrink: 0;
}

.header-icons {
    display: flex;
    gap: 15px;
}
.header-icons a { font-size: 1.1rem; color: var(--text-dark); }

.btn-appointment {
    background-color: var(--brand-red);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--pill-radius);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
    transform: skewX(-5deg);
    white-space: nowrap;
}

.btn-appointment span, .btn-appointment i {
    display: inline-block;
    transform: skewX(5deg);
}

.btn-appointment:hover {
    background-color: var(--brand-red-hover);
    transform: skewX(-5deg) translateY(-2px);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 79vh; /* Responsive height */
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background-color: #f0f0f0;
}

/* Stylish wave divider at bottom of slider - matches services section */
.hero-slider::after {
    content: "";
    position: absolute;
    bottom: -1px; /* Overlap to prevent gap */
    left: 0;
    width: 100%;
    height: 100px; /* Increased height for more elegant curve */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FBF8F2' fill-opacity='1' d='M0,160L48,149.3C96,139,192,117,288,122.7C384,128,480,160,576,165.3C672,171,768,149,864,138.7C960,128,1056,128,1152,144C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideFade 24s infinite; /* 4 slides * 6s each */
}

/* Slide Transitions (JS Controlled) */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide with Gradient Overlay for Contrast */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Slide Background Images & Zoom Effect */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 5s linear; /* Continuous zoom during the 5s view */
}

/* Zoom when active */
.slide.active .slide-bg {
    transform: scale(1.1); /* Zoom in slightly over 5s */
}

/* Background Image URLs (Local Assets) */
.slide-1 .slide-bg { background-image: url('assets/slider_img/one.png'); }
.slide-2 .slide-bg { background-image: url('assets/slider_img/two.png'); }
.slide-3 .slide-bg { background-image: url('assets/slider_img/three.png'); }
.slide-4 .slide-bg { background-image: url('assets/slider_img/four.png'); }

/* Slider Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--brand-red);
    transform: scale(1.2);
    border-color: #fff;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-arrow svg {
    transition: stroke 0.3s ease, transform 0.3s ease;
    stroke: #333; /* Default Color */
}

.slider-arrow:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slider-arrow:hover svg {
    stroke: var(--brand-red); /* Theme Color on Hover */
    transform: scale(1.1); /* Slight pulse */
}

.prev { left: 40px; }
.next { right: 40px; }

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Left aligned */
    padding-left: 5%;
    color: #FFFFFF; /* White Text */
}

.slide-content h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(44px, 5vw, 64px); /* Responsive & Larger */
    font-weight: 800; /* Keeping it strong for dominance */
    line-height: 1.1; /* Tighter for large display text */
    margin-bottom: 20px;
    max-width: 700px; /* Widen to prevent awkward wrapping */
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.slide-content p {
    font-size: 1.2rem; /* ~19-20px */
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 550px;
    color: #f1f1f1;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

.btn-slider {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--brand-red);
    color: #FFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px; /* Pill shape for slider CTA */
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-slider:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-3px);
}

/* Mobile */
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 1250px) {
    /* Tight fit adjustments */
    :root { 
        --logo-height: 60px; /* Scale down logo on laptop */
        --nav-item-gap: 2px;
    }
    .main-nav a { padding: 8px 10px; font-size: 0.9rem; }
}

@media (max-width: 1024px) {
    .nav-toggle-label { display: block; margin-left: auto; font-size: 1.5rem; }
    .header-actions { display: none; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { width: 100%; text-align: center; transform: none; border-radius: 0; padding: 15px; }
    .main-nav a span { transform: none; }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    
    .slide-content h1 { font-size: 2.5rem; }
    .slide-content p { font-size: 1.1rem; }
}



/* --- Services Section Styles --- */
.services-section {
    position: relative;
    padding: 120px 0;
    /* Match the Creative Hero background */
    background: radial-gradient(circle at top center, #FFFDF5, #F6F2EA);
    overflow: hidden;
    /* Maintain depth shadows if desired, or remove for cleaner look. Keeping for now as they are structural. */
    box-shadow: 
        inset 0 100px 80px -80px rgba(29, 53, 87, 0.08),
        inset 0 -100px 80px -80px rgba(29, 53, 87, 0.08);
}

/* Stylish wave divider at bottom of services section */
.services-section::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFFDF5' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,128C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}



/* Ensure content floats above texture */
.services-section > .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.title-with-paw {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1D3557; /* Deep Navy Blue */
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
    z-index: 1; /* Create stacking context */
}

.title-with-paw span {
    position: relative;
    z-index: 1; /* Text stays on top */
}

/* Paw print specifically for About Us section, Service Highlights, and Why Choose Us */
/* Paw print specifically for About Us section, Service Highlights, Why Choose Us, and Testimonials */

.features-list-container .title-with-paw::before,
.why-choose-us .title-with-paw::before,
.classic-about-section .title-with-paw::before{
    content: "";
    position: absolute;
    top: -8px;
    left: -34px;
    transform: rotate(-20deg);
    width: 65px; 
    height: 65px;
    background-image: url('assets/icons/paw-soft.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; 
    z-index: -1;
    mix-blend-mode: multiply; 
}
.about-section .title-with-paw::before,
.section-padding .title-with-paw::before{
       content: "";
    position: absolute;
    top: -20px;
    left: -25px;
    transform: rotate(-20deg);
    width: 65px; 
    height: 65px;
    background-image: url('assets/icons/paw-soft.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; 
    z-index: -1;
    mix-blend-mode: multiply; 
}
.gallery-section .title-with-paw::before{
    content: "";
    position: absolute;
    top: -20px;
    left: -25px;
    transform: rotate(-20deg);
    width: 65px; 
    height: 65px;
    background-image: url('assets/icons/paw-soft.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; 
    z-index: -1;
    mix-blend-mode: multiply; 
}
.story-timeline-section .title-with-paw::before{
    content: "";
    position: absolute;
    top: -20px;
    left: -25px;
    transform: rotate(-20deg);
    width: 65px; 
    height: 65px;
    background-image: url('assets/icons/paw-soft.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; 
    z-index: -1;
    mix-blend-mode: multiply; 
}
.testimonials-section .title-with-paw::before{
    content: "";
    position: absolute;
    top: -20px;
    left: -35px;
    transform: rotate(-20deg);
    width: 65px; 
    height: 65px;
    background-image: url('assets/icons/paw-soft.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15; 
    z-index: -1;
    mix-blend-mode: multiply; 
}

.section-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-body);
    margin-top: 10px;
}

/* Intro Row styling */
.services-intro {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.intro-text { flex: 1; }

.intro-text h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-text p {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8; /* Generous spacing */
    font-size: 1.05rem;
}


.intro-image {
    flex: 1;
    text-align: right;
}

.intro-image img {
    max-width: 100%;
    /* Blend the white background of the image with the section background */
    mix-blend-mode: multiply; 
    /* Remove box effects to enhance the blending */
    border-radius: 0;
    box-shadow: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Cards in one line */
    gap: 30px; /* Slightly reduced gap to fit 4 */
}

/* --- Key Features List Styling --- */
.features-list-container {
    max-width: 1000px;
    margin: 0 auto 100px auto;
    margin-top: -30px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent white backing */
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid rgba(230, 57, 70, 0.1); /* Subtle red tint */
}

.features-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: var(--brand-red); /* Highlight Color */
    margin-bottom: 20px;
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two Columns */
    gap: 15px 40px;
}

.features-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

/* Custom Paw Bullet */
.features-list li::before {
    content: "\f1b0"; /* FontAwesome Paw Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-size: 1rem;
    transform: rotate(-20deg);
}

/* Responsive adjustment for list */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}


/* Service Card Styling */
.service-card {
    background-color: #FFFFFF; /* Clean White for contrast */
    padding: 30px 25px;
    border-radius: 16px; /* Rounded corners */
    text-align: center;
    position: relative;
    border: 2px solid var(--brand-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Enhanced shadow for pop */
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}


/* Circular Image Wrapper */
.card-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    margin-top: -65px;
    border: 2px solid var(--brand-red); /* Brand Red Border */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    padding: 0 10px;
}

/* Button Styling */
.btn-card {
    display: inline-block;
    background-color: #E63946; /* Solid Red */
    color: white;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px; /* Slightly Rounded */
    text-transform: uppercase;
    margin-top: auto;
    width: auto;
    border: none;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.btn-card:hover {
    background-color: #D62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .title-with-paw { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .services-intro { flex-direction: column; text-align: center; gap: 30px; }
    .intro-text h3 { text-align: center; }
    .intro-image { text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    
    /* Adjust Paw for mobile sizing */
    .title-with-paw span::before { width: 70px; height: 70px; }
}

/* Organic Pattern Background */
.bg-organic-pattern {
    background-color: #F6F2EA; /* Creamy off-white base */
    /* Hand-drawn organic contour pattern (SVG) */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* Note: Substituted with a very subtle repeatable texture as 'organic contours' are heavy in SVG data. 
       This works well for the 'subtle natural texture' feel. */
}

/* Trust Section Using the Pattern */
.trust-section {
    padding: 80px 0;
    text-align: center;
}

.trust-section .section-header {
    margin-bottom: 40px;
}

.trust-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    max-width: 300px;
    text-align: center;
}

.trust-item h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.trust-item p {
    color: var(--text-body);
    font-size: 0.95rem;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

/* --- About Us Section --- */
.about-section {
    padding: 120px 0 120px 0;
    background-color: #FFFDF5; /* Lighter beige than services */
    position: relative;
    overflow: hidden;
}

.about-container {
    /* padding-bottom: 20px; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text Content */
.about-content {
    text-align: left;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .title-with-paw {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.about-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}

.about-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-about {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--brand-red);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

/* Image Collage */
.about-images {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-circle {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid var(--brand-red);
}

.img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.circle-lg {
    width: 400px;
    height: 400px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1;
}

.circle-sm {
    width: 240px;
    height: 240px;
    bottom: 20px;
    left: 40px;
    z-index: 2;
    border-color: red;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content .section-header {
        text-align: center;
    }

    .about-images {
        height: 400px;
    }
    
    .circle-lg {
        width: 300px;
        height: 300px;
        right: 50%;
        transform: translate(50%, -50%);
    }
    
    .circle-sm {
        width: 180px;
        height: 180px;
        left: 50%;
        transform: translate(-90%, 20%);
    }
}
/* --- Reusable Section Divider --- */
.section-divider {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    pointer-events: none; /* Purely decorative */
    z-index: 5;
}

.section-divider::before {
    content: "";
    width: 100%;
    height: 100%;
    max-width: 400px; /* Constrain graphical width */
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='60' viewBox='0 0 400 60' xmlns='http://www.w3.org/2000/svg'%3E%3C!-- Central stylized gentle curve --%3E%3Cpath d='M20,30 Q100,30 140,30 T200,30 T260,30 T380,30' fill='none' stroke='%231D3557' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='4 8' opacity='0.2'/%3E%3C!-- Center Paw Symbol --%3E%3Cg transform='translate(188, 18) scale(0.6)' opacity='0.25' fill='%231D3557'%3E%3Ccircle cx='10' cy='10' r='3'/%3Ccircle cx='30' cy='10' r='3'/%3Ccircle cx='6' cy='22' r='2.5'/%3Ccircle cx='34' cy='22' r='2.5'/%3Cpath d='M20 35 C12 35 12 25 20 25 C28 25 28 35 20 35 Z' transform='scale(1.2)' transform-origin='20 30'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 20px 0 80px 0; /* Reduced top padding significantly */
    /* Darker beige to contrast with About Us (#FFFDF5) */
    background-color: #F6F2EA; 
    text-align: center;
    position: relative;
    overflow: hidden;
}



.why-choose-us .section-header {
    margin-bottom: 30px; /* Tightened spacing */
    position: relative;
    z-index: 2;
}

/* Main Content - Flex Wrapper */
/* Main Content - Overlapping Layout Wrapper */
.why-choose-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Ensure height for positioning context */
    min-height: 600px;
    display: flex; /* Using flex to vertical align if needed on mobile, but overrides below */
    display: block; /* Force block for absolute positioning context */
}

/* Feature Grid - Centered */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 Rows x 3 Cols */
    gap: 30px;
    
    /* Centered Layout Logic - leave room for dog on right */
    width: 100%; 
    max-width: 1000px;
    margin: 0 auto; /* Center the grid blocks */
    
    position: relative;
    z-index: 10; /* Float above the image */
    text-align: center;
}

/* Right Side Image Container - Stuck to Right Edge */
/* Left Side Image Container - Stuck to Left Edge */
.why-choose-image-container {
    position: absolute;
    bottom: -20px; /* Align to bottom */
    left: 0; /* Flush with viewport/section edge */
    top: auto; 
    
    width: 25vw; /* Responsive width based on viewport */
    min-width: 300px;
    max-width: 600px;
    height: auto;
    z-index: 1; 
    display: flex;
    justify-content: flex-start; /* Align to left */
    pointer-events: none;
}

/* Dog Image Styling */
.why-choose-dog-img {
    width: 100%;
    height: auto;
    position: relative;
    
    /* Remove Multiply if user wants natural look at edge, but multiply helps integration. Keeping it. */
    mix-blend-mode: multiply; 
    
    /* Fade right side (content side) */
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 15%);
    mask-image: linear-gradient(to left, transparent 0%, black 15%);
}

.why-choose-dog-img img {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1); /* Flip horizontally to face content */
}


.choose-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.15); /* Warm red glow on hover */
    border-color: rgba(230, 57, 70, 0.1);
    border: 2px solid var(--brand-red);
}

.choose-icon {
    width: 90px;
    height: 90px;
    background-color: #FFF0F1; /* Very light red bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.choose-icon i {
    font-size: 2.5rem;
    color: var(--brand-red);
}

.choose-card:hover .choose-icon {
    background-color: var(--brand-red);
    transform: scale(1.1) rotate(5deg);
}

.choose-card:hover .choose-icon i {
    color: #FFFFFF;
}

.choose-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.choose-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Responsive Grid for Why Choose Us */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    /* Center the paw icon on mobile if needed */
    .why-choose-us .title-with-paw::before {
        left: 50%;
        transform: translateX(-50%) rotate(-20deg);
        top: -40px; /* Adjust vertical position for centered text */
        margin-left: -120px; /* Offset to left to sit behind "Why" */
    }
}

/* Why Choose Us Responsive Adjustments */
@media (max-width: 1200px) {
    .why-choose-content {
        padding-bottom: 50px;
    }
    
    .why-choose-grid {
        width: 100%; /* Full width */
        grid-template-columns: repeat(2, 1fr); /* 2 Cols */
        margin: 0 auto;
    }
    
    /* Move image set below on smaller screens */
    .why-choose-image-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 40px auto 0 auto;
        justify-content: center;
        z-index: 0;
        opacity: 0.5; /* Fade it out a bit on tablet overlap or remove overlap */
    }
    
    .why-choose-dog-img {
        -webkit-mask-image: none;
        mask-image: none;
        opacity: 1;
        mix-blend-mode: normal; /* Restore normal viewing */
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 20px;
    }
    
    .why-choose-image-container {
        max-width: 300px; /* Smaller image on mobile */
    }
}

/* --- Stats / Impact Section --- */
.stats-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    /* Use the generated background image */
    background-image: url('assets/stats_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

/* Dark Overlay to make cards pop */
.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Darkens bg */
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2; /* SIT ON TOP of overlay */
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Wrap on mobile */
}

.stat-card {
    background-color: #FFFFFF;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px; /* Slightly squarish as per image */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 20px;
}

.stat-card:hover {
    transform: translateY(-10px);
    border: 2px solid var(--brand-red);
}

.stat-icon {
    font-size: 3rem;
    color: var(--text-dark); /* Icon color (Navy) */
    margin-bottom: 20px;
}

/* Specific icon colors if needed */
.stat-card:nth-child(1) .stat-icon { color: #1D3557; } /* Navy */
.stat-card:nth-child(2) .stat-icon { color: #F4A261; } /* Orange/Gold */
.stat-card:nth-child(3) .stat-icon { color: #E63946; } /* Red */


.stat-number {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }
    .stats-container {
        gap: 20px;
    }
    .stat-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 30px;
    }
}

/* --- Testimonials Section ("What People Say") --- */
.testimonials-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 170px;
    /* Theme Background Color */
    background-color: #FFFDF5; /* Warm Cream */
    text-align: center;
    color: var(--text-dark); /* Ensure text is dark */
}

/* Removed Dark Overlay */

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

/* Header Styles */


@keyframes floatPaw {
    0%, 100% { transform: rotate(-20deg) translateY(0); }
    50% { transform: rotate(-20deg) translateY(-5px); }
}

/* Testimonials Layout */
.testimonials-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.testi-grid {
    display: flex;
    gap: 30px;
    max-width: 1100px;
}

/* Testimonial Card */
.testi-card {
    background-color: #FFFFFF;
    border-radius: 8px; /* Slightly rounded */
    padding: 0; /* Content padding handled inside */
    width: 50%; /* 2 in a row */
    min-height: 250px;
    display: flex;
    position: relative;
    overflow: hidden;
    color: var(--text-body);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(230, 57, 70, 0.1); /* Faint Red Quote */
    z-index: 0;
}

.testi-content {
    display: flex;
    align-items: center;
    padding: 30px;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.testi-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-text p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
    /* font-family: 'Open Sans'; handled by body */
}

.testi-author h4 {
    color: var(--text-dark);
    font-weight: 800;
    margin: 0;
    font-size: 1.1rem;
}

.testi-author span {
    font-size: 0.85rem;
    color: #888;
}

/* Arrows */
.testi-arrow {
    background: transparent;
    border: none;
    color: #E63946; /* Brand Red */
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}

.testi-arrow:hover {
    transform: scale(1.2);
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #1D3557; /* Navy */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

.scroll-top:hover {
    background-color: #E63946;
}

/* Responsive */
@media (max-width: 900px) {
    .testi-grid {
        flex-direction: column;
    }
    .testi-card {
        width: 100%;
    }
}

/* --- Join Us Section --- */
.join-us-section {
    position: relative;
    padding: 60px 0; /* Reduced vertical padding */
    min-height: 400px; /* Reduced min-height to shrink bg zoom */
    background-image: url('assets/join_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: visible; 
    z-index: 10;
}

.join-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

/* Text Card */
.join-card {
    background-color: #FFFDF5; 
    padding: 50px 60px;
    max-width: 550px;
    width: 100%;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1; 
    margin-left: 450px; /* Increased spacer for larger dog */
}

.join-card .btn-primary {
    background-color: #C1121F;
    padding: 15px 40px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    display: inline-block;
    border: none;
    border-radius: 0; /* Square corners */
    text-decoration: none;
    transition: all 0.3s ease;
}

.join-card .btn-primary:hover {
    background-color: var(--brand-red-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 18, 31, 0.3);
}

/* Overlapping Bulldog */
.join-bulldog-container {
    position: absolute;
    left: 8%; 
    /* top: 500px; */
    bottom: -120px; /* Deeper overlap for larger dog */
    width: 520px; /* Increased size per request */
    height: auto;
    z-index: 20; 
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* 3D Drop Shadow Effect */
.join-bulldog-container::before {
    content: '';
    position: absolute;
    bottom: 30px; 
    left: 10%;
    width: 80%; 
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: -1; 
    opacity: 0.8;
}

.join-bulldog {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply; 
    filter: contrast(1.1); /* Natural contrast */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .join-card {
        margin-left: 35%; 
        max-width: 450px;
    }
    .join-bulldog-container {
        left: 8%;
        width: 250px;
    }
}

@media (max-width: 900px) {
    .join-us-section {
        padding: 50px 0 120px 0; 
    }

    .join-container {
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .join-card {
        margin-left: 0;
        margin-bottom: 0;
        width: 90%;
        max-width: none;
        text-align: center;
    }

    .join-bulldog-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -50px;
        width: 200px; /* Even smaller for mobile */
    }
}

/* --- Site Footer --- */
.site-footer {
    background-color: #FDF6EC; /* Warm Beige Background */
    color: #4B5563; /* Soft Grey Text */
    font-size: 0.95rem;
    position: relative;
    z-index: 5;
    /* Soft Curve Divider */
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -40px; /* Slight negative margin to pull up to the dog */
    padding-top: 120px; /* Generous padding to clear the dog paws */
    overflow: hidden; /* For watermark containment */
}



.footer-top {
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #1D3557; /* Dark Navy Headings */
    margin-bottom: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.footer-logo-img {
    height: 120px; /* Further increased size */
    width: auto;
    margin-bottom: 25px;
    display: block;
}

.footer-col p {
    line-height: 1.6;
    color: #555; /* Darker grey for readability */
    margin-bottom: 20px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: #fff; /* White circle background */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #1D3557;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Soft shadow */
}

.footer-socials a:hover {
    background-color: #C1121F;
    color: #fff;
    transform: translateY(-3px);
}

/* Links Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #C1121F;
    padding-left: 5px;
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
}

.contact-list li i {
    color: #C1121F;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #F0E6D2; /* Slightly darker beige/tan for separation */
    padding: 25px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-links a {
    color: #666;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #C1121F;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    /* Adjust top padding on mobile since dog moves */
    .site-footer {
        padding-top: 80px; 
    }
}

/* --- New About Page Styles --- */

/* Page Hero */
.page-hero {
    background-color: #F6F4EF; /* Cream Background matching existing tone */
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-content h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Utilities */
.section-padding { padding: 80px 0; }
.bg-white { background-color: #FFFFFF; }
.bg-light { background-color: #FBF8F2; } /* Matching services bg tone */

.content-width-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.content-width-narrow p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
}

/* Flex Layouts */
.row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.align-center { align-items: center; }

.col-half {
    flex: 1;
    min-width: 300px;
}

.padding-right { padding-right: 40px; }

@media (max-width: 768px) {
    .padding-right { padding-right: 0; }
    .col-half { width: 100%; min-width: 100%; }
}

/* Image Wrappers */
.image-wrapper-rounded {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid #fff;
}

.image-wrapper-rounded img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: #FFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-red);
    height: 100%;
}

.mission-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-card p {
    color: var(--text-body);
    line-height: 1.6;
}

.values-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-body);
    font-weight: 600;
}

.values-list li i {
    color: var(--brand-red);
    width: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
}

/* Three Col Helper for Services Grid reuse */
.three-col-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 900px) {
    .three-col-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .three-col-grid { grid-template-columns: 1fr !important; }
}

/* =========================================
   CREATIVE UPGRADES (About Page)
   ========================================= */

/* --- 1. Creative Hero --- */
/* --- 1. Creative Hero (Refined Dark Theme with Scalloped Top) --- */
.creative-hero {
    position: relative;
    overflow: hidden;
    /* Increased top padding to accommodate scallop and header */
    padding: 180px 0 140px 0; 
    
    /* Center content by default */
    text-align: center;
    color: #ffffff;
}

/* Scalloped Top Edge */
.creative-hero::before {
    content: "";
    position: absolute;
    top: -10px; /* Slight overlap to ensure no gaps */
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #ffffff; /* Match the header/body bg */
    z-index: 10;
    /* Create Scallops using radial gradient */
    background-image: radial-gradient(circle, #ffffff 60%, transparent 65%);
    background-size: 40px 40px; /* Size of each scallop */
    background-position: bottom center;
    background-repeat: repeat-x;
    /* We actually need the 'inverse' to make it look like the white section is eating into the image */
    /* Let's try a simpler approach: A white strip with 'holes' or just simple circles at top */
    /* actually, the reference has white SCALLOPS pointing DOWN. */
    /* White circles on top of the image */
    background: 
        radial-gradient(circle at 50% 0, transparent 0, transparent 0), /* reset */
        radial-gradient(circle, #fff 50%, transparent 55%);
    background-size: 60px 60px;
    background-position: top center;
    height: 30px;
    top: 0;
}
/* Better Scallop Implementation */
.creative-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-image: radial-gradient(circle, #ffffff 50%, transparent 51%);
    background-size: 60px 60px;
    background-position: top center;
    background-repeat: repeat-x;
    transform: rotate(180deg); /* Flip to point down if needed, or just let white circles sit on top */
    z-index: 5;
    transform-origin: center top;
}

.creative-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Ensure Text is White */
.creative-hero .hero-title-large {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.creative-hero .hero-subtext {
    color: #f0f0f0 !important;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.creative-hero .hero-underline {
    border-color: rgba(255,255,255,0.3);
}
.creative-hero .hero-underline i {
    color: #ffffff;
    background: transparent;
}

/* Background Pattern (Subtle moving paws) - Restored for Services Section */
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/icons/paw-soft.jpg'); 
    background-size: 100px;
    opacity: 0.04; /* Slightly decreased opacity */
    animation: bgMove 60s linear infinite;
    z-index: 0;
}

@keyframes bgMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-tagline {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(230, 57, 70, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
}

.hero-subtitle {
    font-size: 2rem !important;
    line-height: 1.4;
    color: #555;
    font-weight: 700;
    margin-top: 10px;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--brand-red);
    opacity: 0.1;
    animation: floatUp 6s ease-in-out infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; transform: rotate(-20deg); }
.p2 { top: 60%; right: 15%; animation-delay: 2s; transform: rotate(15deg); font-size: 2.5rem; }

@keyframes floatUp {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Bottom Divider Shape */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* =========================================
   CREATIVE OVERHAUL (About Page V2)
   ========================================= */

/* --- 1. Hero Refinements --- */
.hero-title-large {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #222;
}

.hero-subtext {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-underline {
    font-size: 2rem;
    color: var(--brand-red);
    opacity: 0.8;
}

/* --- 2. Two-Column Layout (Who We Are) --- */
.gap-50 { gap: 50px; }
.text-left { text-align: left; }

.sub-heading {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    color: var(--brand-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.content-body p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.image-wrapper-rounded {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper-rounded img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper-rounded:hover img {
    transform: scale(1.03);
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--brand-red);
}

.badge-icon {
    font-size: 2rem;
    color: var(--brand-red);
}

.badge-text strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    color: #222;
}

.badge-text span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

@media (max-width: 900px) {
    .gap-50 {
        flex-direction: column;
    }
    .col-half {
        width: 100%;
    }
    .floating-badge {
        right: 10px;
        bottom: 10px;
    }
}

/* --- 3. Story Timeline --- */
.story-timeline-section {
    position: relative;
    overflow: hidden;
}

.timeline-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.timeline-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--brand-red);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.timeline-step h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.timeline-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.timeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ccc;
    height: 100px; /* Vertically center roughly */
}

@media (max-width: 768px) {
    .timeline-arrow { display: none; }
    .timeline-container { flex-direction: column; }
}

/* --- 4. Values Hover --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 50, 60, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

/* --- 5. Trust Grid (Visual) --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.trust-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-bottom-color: var(--brand-red);
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 15px;
    display: block;
}

.trust-card h4 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 700;
}

.trust-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* --- 6. Human Trust Collage --- */
.human-trust-section { background: #fff; }

.human-collage {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.collage-img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- 7. Emotional Divider --- */
.emotional-divider {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-overlay h3 {
    color: #fff;
    font-family: 'Dancing Script', cursive; /* Use cursive if available */
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    max-width: 800px;
    font-style: italic;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- 8. Refined CTA --- */
.refined-cta h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 15px;
}
.refined-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0;
}

/* --- 2. Who We Are (Typography) --- */
.big-text p {
    font-size: 1.25rem !important;
    color: #555 !important;
}

.highlight-text {
    color: var(--brand-red);
    background: linear-gradient(120deg, rgba(230,57,70,0.1) 0%, rgba(230,57,70,0.1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 90%;
}

.relative-section { z-index: 5; }

/* --- 3. Creative Story Section --- */
.story-section { position: relative; overflow: visible; }

.signature-area {
    margin-top: 40px;
}

.signature-font {
    font-family: 'Dancing Script', cursive; /* Fallback if not loaded, style manual */
    font-family: 'Nunito', sans-serif; /* Fallback */
    font-style: italic;
    font-size: 1.5rem;
    color: var(--brand-red);
}

/* Blob Shapes behind image */
.relative-box { position: relative; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    z-index: 0;
}

.blob-1 {
    width: 300px; height: 300px;
    background: #FFD6D9; /* Light Red */
    top: -50px; right: -50px;
    animation: blobMove 10s infinite alternate;
}

.blob-2 {
    width: 200px; height: 200px;
    background: #E8F6F6; /* Light Blue/Cyan from palette */
    bottom: -30px; left: -30px;
    animation: blobMove 8s infinite alternate-reverse;
}

@keyframes blobMove {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
}

.image-wrapper-creative {
    position: relative;
    z-index: 2;
    border-radius: 30px 0 30px 0; /* Leaf shape */
    overflow: hidden;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05); /* Solid shadow offset */
    transition: transform 0.5s ease;
}

.image-wrapper-creative img { width: 100%; display: block; }

.image-wrapper-creative:hover {
    transform: translateY(-5px) scale(1.01);
}

/* --- 4. Values & Mission Grid --- */

/* Mission Banner (Full Width Card) */
.mission-banner {
    background: linear-gradient(135deg, #1D3557, #457B9D);
    color: #fff;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    box-shadow: 0 15px 40px rgba(29, 53, 87, 0.2);
    position: relative;
    overflow: hidden;
}

/* Shine effect on banner */
.mission-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

.mission-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.mission-content h3 {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.mission-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .mission-banner { flex-direction: column; text-align: center; gap: 20px; padding: 30px; }
}

/* Values Grid Creative */
.values-grid-creative {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.value-icon-circle {
    width: 70px; height: 70px;
    background: #FFF5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    color: var(--brand-red);
    transition: transform 0.4s ease;
}

.value-card:hover .value-icon-circle {
    transform: scale(1.1) rotate(10deg);
    background: var(--brand-red);
    color: #fff;
}

.value-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-body);
}

@media (max-width: 900px) {
    .values-grid-creative { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .values-grid-creative { grid-template-columns: 1fr; }
}

/* --- 9. Classic About Section (Overlapping Circles) --- */
.classic-about-section {
    padding: 100px 0;
    background-color: #FFFDF5; /* Light cream background from image */
}

/* Typography */
.classic-about-text .section-label {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1D3557; /* Dark Blue */
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1;
}

.classic-about-text .section-label i {
    color: #e0e0e0; /* Light gray paw */
    font-size: 2.5rem;
    transform: rotate(-20deg);
}

.classic-about-text h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 25px;
}

.classic-about-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Overlapping Images */
.images-overlap-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust based on image sizes */
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-big-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-red); /* Thin red border */
    position: relative;
    z-index: 1;
    margin-left: 50px; /* Shift right slightly */
}

.img-big-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-small-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    /* Create the white gap + red border effect */
    border: 5px solid #FFFDF5; 
    box-shadow: 0 0 0 1px var(--brand-red); 
    position: absolute;
    bottom: 20px;
    left: 20px; /* Adjust overlap */
    z-index: 2;
}

.img-small-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .images-overlap-wrapper {
        height: auto;
        margin-top: 50px;
        display: block;
        text-align: center;
    }
    .img-big-circle {
        margin: 0 auto;
        width: 300px; height: 300px;
    }
    .img-small-circle {
        position: relative;
        margin: -80px auto 0 auto;
        left: auto; bottom: auto;
        display: inline-block;
    }
}

/* --- 10. Gallery Section --- */
.gallery-section {
    padding: 80px 0;
    padding-bottom: 150px !important;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px; /* Taller to show full image */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
    transform: scale(1.05); /* Slight zoom */
    filter: brightness(1.05);
}

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: 250px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* --- 11. Anti-Blocky Refinements (Waves & Soft Flow) --- */

/* Wave Divider Utility */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 60px;
}

.wave-top {
    top: 0;
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: 0;
}

/* Fill colors to match sections */
.fill-white { fill: #ffffff; }
.fill-light { fill: #f8f9fa; } /* Standard light bg */
.fill-cream { fill: #FFFDF5; }
.fill-dark-beige { fill: #F6F2EA; } /* Why Choose Us bg */

/* Refined Cards (Less Boxy) */
.value-card, .trust-card {
    border: none !important; /* Remove hard borders */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Softer, deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover, .trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Story Timeline Connector */
.timeline-container {
    position: relative;
}

/* Add a line behind the steps */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 55px; /* Align with icon center */
    left: 15%;
    width: 70%;
    height: 2px;
    background: #FFD6D9; /* Soft red tint */
    z-index: 0;
}

@media (max-width: 768px) {
    .timeline-container::before { display: none; }
}

.timeline-step { position: relative; z-index: 1; } /* Keep icons above line */

/* Soften Section Pads */
.section-padding {
    padding: 100px 0; /* More breathing room */
}


/* --- PET SHOP PAGE STYLES --- */

/* 1. Pet Shop Intro */
.petshop-intro-wrapper {
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.petshop-intro-block {
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--brand-red);
}

.petshop-intro-block h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.petshop-intro-block p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* 2. Store Locations Cards */
.shop-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.location-card {
    background: #FFF;
    border-radius: 16px;
    padding: 30px; /* Reduced vertical padding */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    position: relative;
    overflow: hidden;
    text-align: left; /* Keep left alignment for readability */
}

/* Top colored accent bar */
.location-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--brand-red);
}

.location-card:nth-child(2)::before { background: #E76F51; }
.location-card:nth-child(3)::before { background: #264653; }

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.location-header {
    margin-bottom: 15px; /* Reduced space */
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.location-card:nth-child(2) .location-icon-circle { background: rgba(231, 111, 81, 0.1); color: #E76F51; }
.location-card:nth-child(3) .location-icon-circle { background: rgba(38, 70, 83, 0.1); color: #264653; }

.location-card h4 {
    font-size: 1.3rem; /* Slightly smaller for balance */
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.location-details {
    margin-top: 10px; /* Separator */
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.shop-address-line {
    display: block;
    margin-bottom: 5px;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
    font-weight: 700;
    color: var(--text-dark);
}

/* 3. Shop Gallery */
.shop-gallery-container {
    background-color: #FFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 60px;
}

.shop-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-gallery-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.shop-gallery-subtitle {
    color: #777;
    font-size: 1.1rem;
}

.shop-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.shop-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.shop-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.shop-gallery-item:hover img {
    transform: scale(1.05);
}

/* 4. Trust Strip */
.trust-strip {
    background-color: #FAFAFA;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.trust-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-text i {
    color: var(--brand-red);
    margin: 0 10px;
}
/* =========================================
   PREMIUM GALLERY VARS & BASE
   ========================================= */
:root {
    --primary-color: #E63946;
    --text-dark: #1D1D1F;
    --text-light: #F5F5F7;
    --bg-light: #FFFFFF;
    --bg-off-white: #FAFAFA;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-off-white);
}

/* =========================================
   HERO SECTION
   ========================================= */
.page-hero.creative-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: scroll;
}

/* Overlay */
.page-hero.creative-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
}

.hero-title-large {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtext {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-underline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-underline i {
    font-size: 1.5rem;
    color: #fff;
}

/* =========================================
   FILTERS
   ========================================= */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}



/* Filter Animation */
.gallery-item.hide {
    display: none;
}

/* =========================================
   LIGHTBOX REFINED
   ========================================= */
.lightbox {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed; /* Ensure consistent positioning */
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox-content-wrapper {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-img {
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    max-height: 90vh;
    max-width: 100%;
}

.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-nav:hover {
    background: rgba(255,255,255,0.15);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    background-size: 30px 30px;
    background-position: top center;
    background-repeat: repeat-x;
    transform: rotate(180deg);
    z-index: 5;
    transform-origin: center top;
}
.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0 20px 60px 20px; /* Add side padding for tablets */
    }
}

@media (max-width: 900px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .lightbox-prev { left: 10px; width: 40px; height: 40px; font-size: 1.5rem; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; font-size: 1.5rem; }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* =========================================
   MOBILE PURE POLISH & OPTIMIZATION (v2.0)
   Ensuring a Premium Mobile Experience
   ========================================= */

/* --- 1. GLOBAL MOBILE BASICS --- */
@media (max-width: 768px) {
    /* Safe container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Prevent overflow issues */
    body, html {
        overflow-x: hidden;
    }

    /* Better Text Sizes for Mobile */
    h1, .hero-title-large, .slide-content h1 {
        font-size: 2.2rem !important; /* Scale down big titles */
        line-height: 1.2;
    }

    h2, .title-with-paw {
        font-size: 1.8rem !important; /* Scale down section titles */
        line-height: 1.3;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.6;
    }
}

/* --- 2. HEADER & NAV IMPROVEMENTS --- */
@media (max-width: 1024px) {
    /* Ensure Header Height doesn't glitch */
    .main-header {
        height: auto;
        padding: 15px 0;
        position: relative;
    }

    /* Logo Positioning */
    .logo {
        margin-right: auto; /* Push mainly to left */
    }
    
    .logo img {
        height: 60px; /* Resize for mobile */
    }

    /* Improved Hamburger Menu Icon */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        width: 44px;
        height: 44px;
        justify-content: center;
        background: rgba(0,0,0,0.05);
        border-radius: 8px;
        cursor: pointer;
    }
    
    .nav-toggle-label span {
        font-size: 1.4rem;
        color: var(--brand-red);
    }

    /* Dropdown Animation & Style */
    .main-nav {
        top: 100% !important; /* Position right below header */
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        padding: 10px 0 20px 0;
        transition: all 0.3s ease-in-out;
        transform-origin: top;
        opacity: 0;
        transform: scaleY(0);
        display: block !important; 
        pointer-events: none; /* Prevent clicks when hidden */
    }

    /* When Checked */
    #nav-toggle:checked ~ .main-nav {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 15px 30px;
        text-align: left;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        transform: none !important; /* Remove desktop skew */
        font-size: 1.1rem;
    }
    
    .main-nav a span {
        transform: none !important;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: #FFF5F5; /* Light red tint bg */
        color: var(--brand-red);
        padding-left: 35px; /* Slight slide effect */
    }
}

/* --- 3. SECTIONS STACKING & SPACING --- */
@media (max-width: 900px) {
    /* 1. Services Grid */
    .services-grid {
        grid-template-columns: 1fr; /* Single Column */
        gap: 30px;
        width: 100%;
    }

    /* 2. Hero Slider Content */
    .slide-content {
        padding-left: 0;
        align-items: center; /* Center Text */
        text-align: center;
    }
    
    .slide-content h1 {
        text-align: center;
        max-width: 100%;
        font-size: 2rem !important;
    }
    
    .slide-content p {
        text-align: center;
        max-width: 90%;
        margin: 0 auto 30px auto;
    }

    /* 3. About Images */
    .about-images {
        height: 350px;
        margin-top: 40px;
    }
    
    .circle-lg {
        width: 250px; height: 250px;
    }
    
    .circle-sm {
        width: 150px; height: 150px;
    }
    
    /* 4. Pet Shop Locations */
    .shop-locations-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .location-card {
        padding: 25px;
    }
    
    /* 5. Generic Grid Helper */
    .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr !important;
    }
}

/* --- 4. PET SHOP SPECIFIC --- */
@media (max-width: 600px) {
    .petshop-intro-block {
        border-left: 3px solid var(--brand-red); /* Thinner border */
        padding-left: 15px;
        margin-left: 0;
    }
    
    /* Ensure gallery images don't break */
    .shop-gallery-grid {
        grid-template-columns: 1fr !important; /* Force Single Column stack */
    }
    
    .shop-gallery-item {
        height: 220px; /* Reduced height */
    }
}

/* --- 5. JOIN US & OVERLAPS --- */
@media (max-width: 992px) {
    .join-container {
        flex-direction: column;
    }
    
    .join-card {
        margin: 0 auto;
        width: 90%;
        text-align: center;
        padding: 40px 30px;
    }
    
    .join-bulldog-container {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -30px;
        width: 200px;
        z-index: 2;
    }
    
    /* Fix the button on mobile */
    .join-card .btn-primary {
        width: 100%;
        display: block;
        padding: 15px;
    }
}

/* --- 6. FOOTER STACKING --- */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 50px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Fully stack */
        gap: 40px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
        text-align: center;
    }
    
    .contact-list li i {
        margin-top: 5px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* --- 7. BUTTONS & TOUCH TARGETS --- */
@media (max-width: 1024px) {
    /* Make buttons full width on small screens for ease */
    .btn-slider, .btn-about, .btn-card {
        padding: 16px 30px; /* Larger tap area */
        font-size: 1rem;
    }
    
    /* Fix weird skews on mobile */
    .btn-appointment {
        transform: none;
    }
    .btn-appointment span {
        transform: none;
    }
    /* Hide top bar on mobile */
    .top-bar { display: none; }
}

/* --- 8. FIXING PAW ICONS ON MOBILE --- */
@media (max-width: 600px) {
    /* Hide the floating decorative paw or make it subtle behind text */
    .title-with-paw::before {
        opacity: 0.1;
        width: 50px; height: 50px;
        top: -10px;
        left: 50%;
        transform: translateX(-50%) rotate(-10deg);
        z-index: -1;
    }
    
    .title-with-paw {
        display: block;
        margin-bottom: 25px;
    }
}

/* --- MOBILE FIXES: Remove slider arrows & curve --- */
@media (max-width: 768px) {
    /* Hide the side navigation arrows */
    .slider-arrow {
        display: none !important;
    }

    /* Hide the decorative wavy curve at the bottom of the slider */
    .hero-slider::after {
        display: none !important;
    }
}

/* --- MOBILE PAW FIXES: Standardized Placement --- */
@media (max-width: 768px) {
    /* Override specificity for ALL sections to fix paw placement */
    .features-list-container .title-with-paw::before,
    .why-choose-us .title-with-paw::before,
    .classic-about-section .title-with-paw::before,
    .about-section .title-with-paw::before,
    .section-padding .title-with-paw::before,
    .gallery-section .title-with-paw::before,
    .story-timeline-section .title-with-paw::before,
    .testimonials-section .title-with-paw::before,
    .title-with-paw::before {
        content: "";
        position: absolute;
        width: 50px !important;      /* Consistent smaller size for mobile */
        height: 50px !important;
        top: 50% !important;         /* Center vertically relative to text */
        left: 50% !important;        /* Center horizontally relative to text */
        margin-top: -25px !important;/* Half of height to dead center vertically */
        margin-left: -25px !important;/* Half of width to dead center horizontally */
        transform: rotate(-10deg) !important; /* Slight rotation */
        opacity: 0.15 !important;    /* Subtle enough not to interfere with reading */
        background-image: url('assets/icons/paw-soft.jpg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        z-index: -1;
    }

    /* Ensure specific containers force center alignment so the inline-block title is centered */
    .features-list-container,
    .section-header, 
    .about-content,
    .shop-gallery-header {
        text-align: center !important;
    }
    
    .title-with-paw {
        display: inline-block !important;
        position: relative !important;
        z-index: 1;
    }
}

/* --- MOBILE PAW FIXES: Left Alignment (Reverting Centered Look) --- */
@media (max-width: 768px) {
    /* Position the paw icon to the left of the text, similar to desktop */
    .features-list-container .title-with-paw::before,
    .why-choose-us .title-with-paw::before,
    .classic-about-section .title-with-paw::before,
    .about-section .title-with-paw::before,
    .section-padding .title-with-paw::before,
    .gallery-section .title-with-paw::before,
    .story-timeline-section .title-with-paw::before,
    .testimonials-section .title-with-paw::before,
    .title-with-paw::before {
        left: -25px !important;      /* Pull to left of text */
        top: -15px !important;       /* Pull slightly up */
        
        /* Reset spacing used for centering */
        margin-left: 0 !important;
        margin-top: 0 !important;
        
        /* Restore size and rotation */
        width: 60px !important;
        height: 60px !important;
        transform: rotate(-20deg) !important;
        
        opacity: 0.15 !important;
        background-image: url('assets/icons/paw-soft.jpg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        position: absolute;
        z-index: -1;
    }

    /* Keep the title inline-block so the paw stays relative to the text width */
    .title-with-paw {
        display: inline-block !important;
        position: relative !important;
        z-index: 1;
    }
}

/* --- Gallery Header Responsive Fix --- */

/* Base Desktop Styles */
.gallery-header-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.gallery-title-block {
    text-align: center;
}

.gallery-view-more {
    position: absolute;
    right: 0;
    bottom: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-red);
    text-decoration: none;
    transition: transform 0.2s;
    background: transparent;
    padding: 10px 20px;
    border-radius: 50px;
}

.gallery-view-more:hover {
    transform: translateX(5px);
    color: var(--brand-red-hover);
}

/* Mobile Overrides */
@media (max-width: 768px) {
    .gallery-header-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-view-more {
        position: relative; /* Remove absolute positioning */
        right: auto;
        bottom: auto;
        margin-top: 20px; /* Add spacing between text and button */
        color: var(--brand-red);
    }
}

/* --- Hide "Why Choose Us" Dog on Mobile --- */
@media (max-width: 900px) {
    .why-choose-image-container {
        display: none !important;
    }
}

/* --- Mobile Hero Consistency Fix (Except Home) --- */
@media (max-width: 768px) {
    /* 
       Apply standard mobile sizing to all pages using .creative-hero class,
       which typically includes About, Boarding, Grooming, etc. 
       EXCEPT we ensure the home page (which often uses .hero-slider) is not affected 
       by these overrides if it shares classes. 
       Note: Home uses .hero-slider, interior pages use .creative-hero or .page-hero.
    */
    
    .creative-hero {
        padding: 120px 20px 80px 20px !important; /* Adjust padding for mobile */
        min-height: auto !important; /* Remove fixed height constraint */
    }

    /* Scallop sizing for mobile */
    .creative-hero::before {
        height: 25px !important;
        background-size: 35px 35px !important; /* Smaller scallops */
    }

    /* Typography Scaling for Mobile Hero */
    .creative-hero .hero-title-large {
        font-size: 2rem !important; /* Smaller title */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .creative-hero .hero-subtext {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        padding: 0 10px; /* Slight side padding */
    }

    /* Button and Icon adjustments */
    .creative-hero .btn-primary {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }

    .hero-underline {
        width: 50px !important;
        height: 50px !important;
        margin-top: 20px !important;
    }
    
    .hero-underline i {
        font-size: 1.2rem !important;
    }
}

/* --- Mobile Hero Spacing Fix: Reduce gap between Button and Paw --- */
@media (max-width: 768px) {
    .creative-hero .hero-underline {
        margin-top: -10px !important; /* Negative margin to counteract the inline style on the button container */
    }
}

/* --- Mobile Spacing & Padding Cleanup --- */
@media (max-width: 768px) {
    /* 1. Reset standard section padding to be uniform */
    .section-padding,
    .why-choose-us,
    .testimonials-section,
    .stats-section,
    .gallery-section,
    .about-section {
        padding: 50px 0 !important;
    }

    /* 2. Ensure section headers have consistent bottom margin */
    .section-header {
        margin-bottom: 30px !important;
    }

    /* 3. Standardize paragraph sizing in headers */
    .section-header p {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 10px !important;
    }

    /* 4. Fix specific "The Need" / "The Solution" alignment */
    .story-timeline-section .timeline-container {
        gap: 40px !important; 
        margin-top: 30px !important;
    }

    .timeline-step {
        padding: 0 10px !important;
        margin-bottom: 0 !important;
    }
    
    .timeline-step h3 {
        margin-top: 15px !important;
        margin-bottom: 10px !important;
    }

    /* 5. Fix "Values & Trust" Spacing */
    .why-choose-content {
        margin-top: 30px !important;
    }
    
    /* 6. Standardize Paw Icon Offset once more to be perfect */
    .title-with-paw::before {
        top: -10px !important;
        left: -15px !important; /* Slightly tighter */
    }
    
    .title-with-paw {
        display: inline-block !important; /* Ensure it wraps text tight */
        margin-bottom: 0 !important;
    }

    /* 7. Ensure Why Choose header padding is reset */
    .why-choose-us .title-with-paw {
        padding-top: 0 !important;
    }

    /* 8. Fix Stats Section Grid Gap */
    .stats-container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 30px !important;
    }
}

/* --- GLOBAL INLINE STYLE OVERRIDES FOR MOBILE --- */
/* This file is dedicated to forcefully overriding inline styles that cause spacing inconsistencies on mobile */

@media (max-width: 900px) {
    /* 
     * Target all H2s and Ps that might have inline padding
     * Using !important to override element-level styles
     */
    
    /* Reset paddings for Section Headers to rely on CSS Standard Spacing */
    .section-header h2, 
    .section-header p,
    .title-with-paw, 
    h2[style*="padding"],
    p[style*="padding"] {
        padding-top: 0 !important;
        padding-bottom: 10px !important; /* Keep slight bottom spacing for text separation */
        margin-top: 0 !important;
    }

    /* Specifically target the 'Why Choose Us' and 'Values' headers which had inline padding top */
    .why-choose-us .title-with-paw,
    .why-choose-us h2 {
        padding-top: 0 !important;
    }

    /* Join Us Section Headers - Remove specific inline bottom padding if it's too large */
    .join-card h2 {
        padding-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    /* Reset Paragraph margins/paddings in these cards */
    .join-card p {
        padding-bottom: 20px !important;
    }

    /* General clean slate for section spacing */
    section {
        box-sizing: border-box;
    }
}

/* --- Daycare Page Mobile Content Fix --- */
@media (max-width: 900px) {
    /* Target the grid container in Daycare page */
    .boarding-content-wrapper > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Fix image container */
    .boarding-content-wrapper img {
        width: 100% !important;
        height: auto !important;
    }

    /* Reset margins for content blocks */
    .boarding-content-wrapper > div {
        margin-bottom: 30px !important;
    }

    /* Ensure text is readable and not cramped */
    .boarding-content-wrapper p,
    .boarding-content-wrapper li {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Fix the specific blockquote on mobile */
    .boarding-content-wrapper blockquote {
        padding: 15px !important;
        margin: 20px 0 !important;
        font-size: 0.95rem !important;
    }

    /* Fix 'In Good Company' box */
    div[style*="background-color: #e0f7fa"] {
        padding: 20px !important;
        margin-top: 0 !important;
    }
}

/* --- Global Button Styling Fix --- */
.btn-primary {
    display: inline-block;
    background-color: var(--brand-red);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
    color: #ffffff;
}

/* Ensure full width responsiveness where needed (like constrained forms) if explicitly requested, 
   but for general definition, keep inline-block. 
   The contact form has inline style width:100%, which will override the width but not likely the display properly?
   Actually button width:100% works fine on inline-block.
*/

/* --- Mobile Logo Size Increase --- */
@media (max-width: 1024px) {
    .logo img {
        height: 75px !important; /* Increased from 60px */
        max-width: 180px; /* Ensure aspect ratio safe */
    }
}

/* Specific adjustment for very small screens if needed */
@media (max-width: 400px) {
    .logo img {
        height: 65px !important; /* Slightly smaller for very thin phones but still bigger than before */
    }
}

/* --- FORCE PAW CENTERING IN HERO --- */
.creative-hero {
    position: relative !important;
}

.creative-hero .hero-underline {
    position: absolute !important;
    /* Fixed 30px from the bottom of the HERO SECTION */
    bottom: 30px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 10;
    
    /* Restore defined dimensions to prevent collapse */
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure the hero content doesn't trap the absolute paw if it happened to be inside in some browsers/layouts, 
   although moving it in HTML is the primary fix. 
   If it IS inside .hero-content and .hero-content is relative, 
   we might have issues if .hero-content doesn't span full height.
   But we are moving it. */

/* --- 404 Error Page Styles (Fixed Viewport) --- */
.error-page-section {
    /* Calculate height to fill remaining screen minus the header (approx 160px) */
    height: calc(100vh - 160px); 
    min-height: auto;
    padding: 0 20px;
    background-color: #ffffff; /* pure white value to blend with image */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent scrolling */
}

.error-container {
    max-width: 500px; 
    width: 100%;
    margin-top: -60px; /* Pull up slightly more to center visually with image */
    text-align: center;
}

.error-image-wrapper {
    margin-bottom: 0px; /* Reduced space */
    display: flex;
    justify-content: center;
}

.error-dog-img {
    max-width: 100%;
    max-height: 40vh; /* Slightly larger dog */
    width: auto;      
    object-fit: contain;
    border-radius: 0; /* Remove potential border radius */
    box-shadow: none; /* Remove box shadow to eliminate 'box' look */
}

.error-title {
    font-size: 2.5rem; /* Restore larger title */
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
}

.error-text {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.5;
}

.error-btn {
    padding: 12px 35px !important;
    font-size: 1rem !important;
    display: inline-block;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .error-page-section {
        height: auto; 
        min-height: calc(100vh - 100px); /* Fill screen on mobile too */
        padding: 40px 20px;
    }
    .error-dog-img {
        max-height: 300px; 
    }
    .error-title {
        font-size: 2rem;
    }
}

/* --- Header Ticker Animation --- */
/* --- Header Ticker Animation --- */
.header-ticker {
    display: flex; /* Changed from inline-flex to flex */
    position: relative;
    overflow: hidden;
    flex: 1; /* Take up all remaining space between left and right */
    max-width: none; 
    height: 30px; 
    align-items: center;
    color: var(--brand-red);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 30px; /* Space on both sides */
    border-left: 1px solid rgba(0,0,0,0.1); 
    border-right: 1px solid rgba(0,0,0,0.1); /* Separator on both sides */
    padding: 0 20px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    gap: 30px; /* Space between items */
    animation: tickerScroll 40s linear infinite; /* Slow, smooth speed */
}

.ticker-track span {
    display: inline-block;
}

/* Pause on hover for readability */
.header-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- Mobile Ticker Adjustments --- */
@media (max-width: 991px) { /* Tablet/Mobile Breakpoint matching top-bar usually */
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
    }
    
    .top-bar-left {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .header-ticker {
        width: 100%;
        max-width: 100%; /* Full width */
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
        height: 25px; /* Compact vertically */
        font-size: 0.85rem;
        background: rgba(0,0,0,0.02); /* Very subtle bg on mobile to separate */
        border-radius: 4px;
    }
    
    .header-ticker {
        width: 100%;
        margin: 5px 0 0 0; /* Reset margin */
        order: 2; /* Ensure it stays in middle/bottom if needed, but flex-direction:column handles it */
        border: none;
        background: rgba(0,0,0,0.03); 
    }
    
    .top-bar-right {
        justify-content: center;
        margin-top: 5px;
        padding-left: 0 !important;
        flex-shrink: 0;
    }
}

/* --- Hero Background Zoom Wrapper --- */
.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    animation: heroZoom 20s infinite alternate linear;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Ensure content sits above the zoomed background */
.creative-hero .hero-content {
    position: relative;
    z-index: 2; 
}
.creative-hero .hero-underline {
    z-index: 3 !important;
}

/* --- WhatsApp Float Icon --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 2px 5px 10px rgba(0,0,0,0.3);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 1px; /* Optical center adjustment */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
