* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-secondary);
  
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Mobile container padding */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--clr-secondary);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo .paw-icon {
    width: 36px;
    height: 36px;
    background: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--clr-secondary);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--clr-warm);
    color: var(--clr-primary);
}

.nav-cta {
    background: var(--clr-primary) !important;
    color: var(--clr-white) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    background: var(--clr-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-secondary);
}

/* ========== HERO SLIDER ========== */
.hero {
    margin-top: 72px;
    position: relative;
    overflow: hidden;
    /* border-radius: 0 0 var(--radius-xl) var(--radius-xl); */
}

.hero-slider {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

/* Mobile image switcher */
.hero-slide-bg-mobile {
    display: none;
}
@media (max-width: 767px) {
    .has-mobile-bg .hero-slide-bg-desktop {
        display: none;
    }
    .hero-slide-bg-mobile {
        display: block;
    }
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 80px;
    max-width: 680px;
}

.hero-slide-content h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-content p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 30px;
    line-height: 1.7;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--clr-primary);
    width: 36px;
    border-radius: 6px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-button-text);
}

.btn-primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-button-text);
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--clr-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========== SECTIONS ========== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: var(--clr-warm);
    color: var(--clr-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--clr-secondary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-header p {
    color: var(--clr-gray);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto;
}


/* ========== SERVICE CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
    border: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

/* 3 animated orbs */
.service-card .sc-orb {
    position: absolute;
    border-radius: 50%;
    transition: transform .6s ease, opacity .4s ease;
    pointer-events: none;
}

.service-card .sc-orb-1 {
    width: 120px;
    height: 120px;
    bottom: -40px;
    right: -40px;
    background: rgba(255, 107, 53, 0.07);
    opacity: 1;
}

.service-card .sc-orb-2 {
    width: 70px;
    height: 70px;
    top: -20px;
    left: 60%;
    background: rgba(255, 107, 53, 0.05);
    opacity: 0;
}

.service-card .sc-orb-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: -15px;
    background: rgba(255, 107, 53, 0.06);
    opacity: 0;
}

.service-card:hover .sc-orb-1 {
    transform: scale(2.4);
    opacity: .9;
}

.service-card:hover .sc-orb-2 {
    transform: scale(2.8) translateY(-10px);
    opacity: 1;
}

.service-card:hover .sc-orb-3 {
    transform: scale(3.5) translateX(10px);
    opacity: 1;
}

/* shimmer sweep */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.06), transparent);
    transition: left .6s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 150%;
}

/* top accent bar */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* icon, text z-index above orbs */
.service-icon,
.service-card h3,
.service-card p,
.service-card .service-price,
.service-card a {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--clr-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--clr-primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--clr-primary);
    color: white;
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: var(--clr-gray);
    font-size: .92rem;
    line-height: 1.65;
}

.service-card .service-price {
    margin-top: 16px;
    font-weight: 700;
    color: var(--clr-primary);
    font-size: 1.15rem;
}

/* learn more arrow slide */
.service-card .learn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--clr-primary);
    font-weight: 600;
    font-size: .88rem;
    transition: gap .25s ease;
}

.service-card:hover .learn-link {
    gap: 11px;
}

/* ========== CITY CARDS ========== */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.city-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.city-card:hover img {
    transform: scale(1.08);
}

.city-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: white;
}

.city-card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.city-card-content p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 4px;
}


/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    margin: 0 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🐾';
    position: absolute;
    font-size: 15rem;
    opacity: 0.04;
    top: -30px;
    right: -30px;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.12rem;
    opacity: 0.8;
    max-width: 540px;
    margin: 0 auto 35px;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 7px;
    color: var(--clr-secondary);
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.alert {
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--clr-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand img {
    width: 100px;   /* 👈 yaha size control karo */
    height: auto;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--clr-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--clr-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== PAGE HERO ========== */
.page-hero {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--clr-secondary), var(--clr-dark));
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15), transparent 60%);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    position: relative;
}

.page-hero .breadcrumb {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
}

.page-hero .breadcrumb a {
    color: var(--clr-primary);
}

/* ========== PAGINATION ========== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 6px;
}

.pagination-wrap .page-link {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--clr-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

.pagination-wrap .page-link:hover,
.pagination-wrap .page-link.active {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
}

/* ========== SEARCH BAR ========== */
.search-bar {
    display: flex;
    max-width: 480px;
    margin: 0 auto 50px;
}

.search-bar input {
    flex: 1;
    padding: 14px 22px;
    border: 2px solid var(--clr-border);
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.search-bar button {
    padding: 14px 28px;
    background: var(--clr-primary);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--clr-primary-dark);
}

@media (max-width: 480px) {
    .search-bar {
        max-width: 100%;
    }

    .search-bar input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .search-bar button {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ========== BLOG DETAIL ========== */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
}

.blog-detail-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    color: var(--clr-gray);
    font-size: 0.9rem;
}

.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-detail h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 28px;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.blog-content h2,
.blog-content h3 {
    margin: 30px 0 14px;
    color: var(--clr-secondary);
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.blog-content ul,
.blog-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

/* ========== LAZY LOADING ========== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img.loaded {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-slide {
        height: 420px;
    }

    .hero-slide-content {
        padding: 0 30px;
    }

    .hero-slide-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    /* Service detail page improvements */
    .service-card {
        padding: 20px;
        text-align: center;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .cta-section {
        padding: 50px 30px;
        margin: 0 16px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-detail h1 {
        font-size: 1.8rem;
    }

    .blog-detail-img {
        height: 260px;
    }

    .blog-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-bar {
        max-width: 100%;
    }

    .blog-share-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .blog-detail-img {
        height: 200px;
        border-radius: var(--radius-md);
    }

    .blog-detail h1 {
        font-size: 1.5rem;
    }

    .blog-share-row a,
    .blog-share-row span {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        text-align: center;
    }

    /* Service Detail Page */
    .service-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    /* City Detail Page */
    .city-detail-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
        align-items: start;
    }

    /* Vaccination page improvements */
    .vac-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }
}

/* Mobile responsive for detail pages */
@media (max-width: 768px) {
    .service-detail-grid,
    .city-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail-grid .btn,
    .city-detail-grid .btn {
        width: 100%;
        justify-content: center;
    }

    /* Vaccination page mobile */
    .vac-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vac-layout > div:first-child {
        order: 2;
    }

    .vac-layout > div:last-child {
        order: 1;
    }

    .bform-group label {
        font-size: 0.8rem;
    }

    .bform-control {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Service and city detail pages */
    .service-detail-grid h2,
    .city-detail-grid h2 {
        font-size: 1.8rem;
    }

    .service-detail-grid p,
    .city-detail-grid p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-detail-grid h2,
    .city-detail-grid h2 {
        font-size: 1.6rem;
    }

    .service-detail-grid p,
    .city-detail-grid p {
        font-size: 0.9rem;
    }

    /* Better button spacing on mobile */
    .service-detail-grid .btn,
    .city-detail-grid .btn {
        margin-bottom: 8px;
    }

    /* Vaccination page mobile improvements */
    .vac-layout .bform-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .vac-layout .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .vac-layout .form-row {
        gap: 12px;
    }
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}