
/* ===========================
   Vet Medics Pet Clinic
   Premium CSS - Part 1
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#222;
    background:#fff;
    line-height:1.6;
}

/* Container */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Header */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    z-index:1000;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:12px 0;
}

.logo h2{
    color:#0f9d58;
    font-size:30px;
    font-weight:700;
}

.logo span{
    color:#666;
    font-size:14px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    white-space:nowrap;
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:#0f9d58;
}

.nav-buttons{
    display:flex;
    align-items:center;
    gap:10px;
}

.whatsapp-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#25D366;
    color:white;
    text-decoration:none;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:35px;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#0f9d58;
}

.call-btn{
    background:#0f9d58;
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    font-weight:600;
}

/* Hero */

.hero{
    padding:120px 0 70px;
   min-height:auto;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("../images/hero.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#0f9d58;
    color:white;
    text-decoration:none;
    padding:16px 35px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    background:#087d45;
}

/* Sections */

section{
    padding:90px 0;
}

section h2{
    text-align:center;
    font-size:40px;
    color:#0f9d58;
    margin-bottom:40px;
}

/* Services */

.service-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

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

.card h3{
    color:#0f9d58;
    margin-bottom:15px;
}

/* Contact */

#contact{
    background:#f8f8f8;
    text-align:center;
}

#contact p{
    margin:10px 0;
}

/* Footer */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:30px;
}
/* Floating WhatsApp */

.floating-whatsapp{
position:fixed;
right:20px;
bottom:20px;
width:60px;
height:60px;
background:#25D366;
color:#fff;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:28px;
text-decoration:none;
box-shadow:0 8px 20px rgba(0,0,0,.25);
z-index:9999;
}

/* Back To Top */

.top-btn{
position:fixed;
left:20px;
bottom:20px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#0f9d58;
color:#fff;
font-size:20px;
cursor:pointer;
display:none;
z-index:9999;
}

/* ================= NAVBAR ================= */

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

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
   flex-shrink:0;
}

.nav-links{
   display:flex;
   align-items:center;
   gap:30px;
      margin-left:auto;
}

.logo img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
}

.logo h2{
    font-size:26px;
    color:#4B2E83;
    font-weight:700;
    margin:0;
}

.logo span{
    color:#666;
    font-size:14px;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.nav-links a:hover,
.nav-links a.active{
    color:#0F9D8A;
}

.nav-links a::after{
    content:'';
    position:absolute;
    width:0;
    height:3px;
    left:0;
    bottom:-6px;
    background:#8BC34A;
    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

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

.call-btn{
    padding:12px 24px;
    background:#16A34A;
    color:#fff;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
}

.call-btn:hover{
    background:#0F9D8A;
}

.whatsapp-btn{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    text-decoration:none;
    font-size:22px;
}

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}

@media(max-width:992px){

.nav-links,
.nav-buttons{
display:none;
}

.menu-toggle{
display:block;
}

.logo h2{
font-size:22px;
}

.navbar{
padding:14px 20px;
}

/* ================= PET PARENT LOCATION ================= */

.pet-parent-location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-left: 5px;
    padding-left: 18px;
    border-left: 1px solid #ddd;
    white-space: nowrap;
}

.pet-parent-title {
    font-size: 14px;
    font-weight: 700;
    color: #4B2E83;
}

.pet-parent-place {
    font-size: 11px;
    font-weight: 500;
    color: #777;
    margin-top: 3px;
}

#user-location {
    color: #0F9D8A;
}
   
}

/*================ HERO =================*/

.hero{

padding:170px 8% 90px;

background:linear-gradient(135deg,#eaf7ff,#ffffff);

overflow:hidden;

}

.hero-content{

display:flex;

justify-content:space-between;

align-items:center;

gap:60px;

}

.hero-left{

flex:1;

}

.hero-tag{

display:inline-block;

padding:10px 20px;

background:#e8f7ef;

color:#0f9d58;

border-radius:50px;

font-weight:600;

margin-bottom:20px;

}

.hero h1{

font-size:58px;

font-weight:800;

line-height:1.2;

color:#222;

margin-bottom:20px;

}

.hero h1 span{

display:block;

color:#6a38c2;

}

.hero p{

font-size:20px;

color:#666;

line-height:1.8;

margin-bottom:35px;

}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:35px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:.35s ease;
}

.btn-primary{
    background:linear-gradient(135deg,#16A34A,#0F9D8A);
    color:#fff;
    box-shadow:0 12px 30px rgba(106,56,194,.35);
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(106,56,194,.45);
}

.btn-secondary{
    background:#fff;
    color:#0F9D8A;
    border:2px solid #0F9D8A;
}

.btn-secondary:hover{
    background:#0F9D8A;
    color:#fff;
    transform:translateY(-4px);
}

.btn-primary i,
.btn-secondary i{
    font-size:16px;
}

.hero-right{

flex:1;

text-align:right;

}

.hero-right img{

width:100%;

max-width:550px;

animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{transform:translateY(0);}

50%{transform:translateY(-18px);}

100%{transform:translateY(0);}

}

@media(max-width:992px){

.hero{

padding-top:140px;

}

.hero-content{

flex-direction:column;

text-align:center;

}

.hero h1{

font-size:42px;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

.hero-right{

text-align:center;

}

.hero-right img{

max-width:360px;

}

}

/*================ SEARCH BAR =================*/

.search-box{

margin:35px 0;

background:#fff;

border-radius:22px;

padding:8px 10px 8px 18px;

display:flex;

align-items:center;

box-shadow:0 10px 30px rgba(0,0,0,.10);

max-width:650px;

   width:100%;

}

.search-box i{

font-size:20px;

color:#6a38c2;

padding:0 12px 0 5px;

}

.search-box input{

   flex:1;
   
min-width:0;

border:none;

outline:none;

font-size:15px;

padding:15px 8px;

background:transparent;

font-family:'Poppins',sans-serif;

}


.search-box button{
    border:none;
    background:#6233c4;
    color:#fff;
    padding:14px 30px;
    border-radius:18px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.search-box button:hover{
    background:#4f25aa;
    transform:translateY(-1px);
}

@media(max-width:768px){

    .search-box{
        margin:25px 0;
        padding:6px 7px 6px 12px;
        border-radius:18px;
    }

    .search-box i{
        font-size:18px;
        padding-right:7px;
    }

    .search-box input{
        font-size:12px;
        padding:13px 5px;
    }

    .search-box button{
        padding:12px 17px;
        border-radius:14px;
        font-size:11px;
    }
}

/*================ SERVICES =================*/

.service-categories{

padding:90px 8%;

background:#f8fbff;

}

.section-title{

text-align:center;

font-size:42px;

font-weight:700;

margin-bottom:50px;

color:#222;

}

.service-grid{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:30px;
   margin-top:50px;


}

.service-card{
background:#fff;
border-radius:25px;
padding:30px;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.4s;
overflow:hidden;
}

.service-card:hover{
transform:translateY(-12px);
box-shadow:0 20px 45px rgba(106,56,194,.18);
}

.service-card img{
width:95px;
height:95px;
object-fit:contain;
margin-bottom:20px;
transition:.4s;
}

.service-card:hover img{
transform:scale(1.1) rotate(5deg);
}

.service-card h3{
font-size:24px;
margin-bottom:12px;
color:#222;
}

.service-card p{
font-size:16px;
line-height:1.7;
color:#666;
margin-bottom:22px;
}

.service-card a{
display:inline-block;
padding:12px 28px;
background:#16A34A;
color:#fff;
border-radius:40px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.service-card a:hover{
background:#0F9D8A;
}

}

/*========== PREMIUM SERVICE CARD ==========*/

.service-card{
position:relative;
overflow:hidden;
background:#fff;
border:1px solid #E5E7EB;
}

.service-card::before{

content:"";

position:absolute;

top:0;

left:0;

width:100%;

height:6px;

background:linear-gradient(90deg,#16A34A,#0F9D8A);

}

.service-badge{

position:absolute;

top:18px;

right:18px;

background:#16A34A;

color:#fff;

padding:6px 12px;

font-size:12px;

font-weight:700;

border-radius:30px;

letter-spacing:.5px;

}

.service-card:hover{

transform:translateY(-12px);

box-shadow:0 20px 45px rgba(15,157,138,.20);

}

.service-card img{

transition:.4s;

}

.service-card:hover img{

transform:scale(1.08);

}

.service-card h3{

transition:.3s;

}

.service-card:hover h3{

color:#0F9D8A;

}

/* ===========================
   MOBILE FIX
=========================== */

@media (max-width:768px){

    .navbar{
        padding:15px;
    }

    .nav-links,
    .nav-buttons{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .hero-content{
        display:flex;
        flex-direction:column;
        text-align:center;
    }

    .hero-left,
    .hero-right{
        width:100%;
    }

    .hero-right img{
        width:90%;
        margin:20px auto;
        display:block;
    }

    .hero-buttons{
        display:flex;
        flex-direction:column;
        gap:15px;
        align-items:center;
    }

    .search-box{
        width:100%;
    }

    .service-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:20px;
    }

    .service-card{
        width:100%;
        min-height:auto;
    }
}

@media (max-width: 1100px){

    .nav-links{
        gap:15px;
    }

    .nav-links a{
        font-size:14px;
    }

    .logo h2{
        font-size:24px;
    }

    .call-btn{
        padding:10px 16px;
    }
}

/* ================= VACCINATION PACKAGES ================= */

.vaccination-card {
    cursor: pointer;
}

.view-package-btn {
    border: none;
    padding: 12px 25px;
    background: #16A34A;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.view-package-btn:hover {
    background: #0F9D8A;
    transform: scale(1.05);
}


/* Overlay */

.package-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


/* Main Package Box */

.package-modal {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;

    overflow-y: auto;

    border-radius: 25px;
    padding: 40px;

    position: relative;

    animation: packagePop 0.3s ease;
}

@keyframes packagePop {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* Close Button */

.close-package {
    position: absolute;
    right: 20px;
    top: 15px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;

    font-size: 28px;
    cursor: pointer;

    color: #333;
}

.close-package:hover {
    background: #16A34A;
    color: white;
}


/* Heading */

.package-modal h2 {
    text-align: center;
    font-size: 32px;
    color: #222;
    margin-bottom: 8px;
}

.package-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}


/* Package Grid */

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* Package Card */

.package-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;

    padding: 25px;

    cursor: pointer;

    transition: 0.3s;

    text-align: center;

    background: #fff;
}

.package-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.12);

    border-color: #16A34A;
}

.package-icon {
    font-size: 45px;
}

.package-card h3 {
    margin: 12px 0 8px;
    color: #222;
}

.package-card p {
    color: #666;
    line-height: 1.5;
}

.package-card strong {
    color: #16A34A;
}

.book-now-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 28px;
    background: #16A34A;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.book-now-btn:hover {
    background: #12813b;
    transform: translateY(-2px);
}

/* Details Modal */

.detail-modal {
    background: white;

    width: 90%;
    max-width: 600px;

    max-height: 90vh;
    overflow-y: auto;

    border-radius: 25px;

    padding: 40px;

    position: relative;

    animation: packagePop 0.3s ease;
}

.detail-modal h2 {
    color: #16A34A;
    margin-bottom: 20px;
}

.detail-modal h3 {
    margin-top: 20px;
    color: #222;
}

.detail-modal ul {
    padding-left: 20px;
    line-height: 1.8;
    color: #555;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #16A34A;

    margin: 20px 0;
}

.book-package-btn {
    display: inline-block;

    padding: 13px 28px;

    background: #16A34A;
    color: white;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 600;
}

.book-package-btn:hover {
    background: #0F9D8A;
}


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

@media (max-width: 600px) {

    .package-modal {
        padding: 30px 20px;
        width: 95%;
    }

    .package-modal h2 {
        font-size: 25px;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .detail-modal {
        width: 95%;
        padding: 30px 20px;
    }

}

```css
/* =====================================================
   COMPACT SIZE FIX - VET MEDICS
   Paste this at the VERY END of style.css
===================================================== */

/* ---------- GLOBAL ---------- */

.container{
    width:92%;
    max-width:1120px;
}

/* ---------- NAVBAR ---------- */

.navbar{
    padding:8px 0 !important;
}

.navbar .container{
    min-height:58px;
}

.logo{
    gap:8px;
}

.logo img{
    width:60px !important;
    height:60px !important;
}

.logo h2{
    font-size:21px !important;
    line-height:1.1;
}

.logo span{
    font-size:11px !important;
}

.nav-links{
    gap:22px !important;
}

.nav-links a{
    font-size:14px;
}

.nav-buttons{
    gap:7px;
}

.call-btn{
    padding:8px 16px !important;
    font-size:13px;
}

.whatsapp-btn{
    width:38px !important;
    height:38px !important;
    font-size:17px;
}

/* ---------- HERO ---------- */

.hero{
    padding:125px 5% 55px !important;
}

.hero-content{
    gap:35px !important;
    max-width:1120px;
    margin:auto;
}

.hero h1{
    font-size:46px !important;
    line-height:1.15;
    margin-bottom:15px;
}

.hero p{
    font-size:16px !important;
    line-height:1.6;
    margin-bottom:20px;
}

.hero-tag{
    padding:7px 14px !important;
    font-size:13px;
    margin-bottom:14px;
}

/* ---------- HERO BUTTONS ---------- */

.hero-buttons{
    gap:12px !important;
    margin-top:20px !important;
}

.btn-primary,
.btn-secondary{
    padding:12px 22px !important;
    font-size:14px !important;
}

/* ---------- SEARCH BAR ---------- */

.search-box{
    max-width:560px !important;
    margin:22px 0 !important;
    padding:5px 7px 5px 12px !important;
    border-radius:16px !important;
}

.search-box i{
    font-size:16px !important;
    padding-right:7px !important;
}

.search-box input{
    font-size:13px !important;
    padding:11px 5px !important;
}

.search-box button{
    padding:10px 20px !important;
    border-radius:12px !important;
    font-size:12px !important;
}

/* ---------- SERVICES SECTION ---------- */

.service-categories{
    padding:60px 5% !important;
}

.section-title{
    font-size:34px !important;
    margin-bottom:30px !important;
}

.service-grid{
    gap:20px !important;
    margin-top:30px !important;
}

/* ---------- SERVICE CARDS ---------- */

.service-card{
    border-radius:18px !important;
    padding:23px 18px !important;
}

.service-card img{
    width:72px !important;
    height:72px !important;
    margin-bottom:12px !important;
}

.service-card h3{
    font-size:19px !important;
    margin-bottom:7px !important;
}

.service-card p{
    font-size:13px !important;
    line-height:1.5 !important;
    margin-bottom:14px !important;
}

.service-card a,
.view-package-btn{
    padding:9px 18px !important;
    font-size:12px !important;
}

.service-badge{
    top:12px !important;
    right:12px !important;
    padding:4px 8px !important;
    font-size:9px !important;
}

/* ---------- ABOUT / GALLERY / CONTACT ---------- */

section{
    padding:60px 0 !important;
}

section h2{
    font-size:32px !important;
    margin-bottom:25px !important;
}

#about p,
#gallery p,
#contact p{
    font-size:14px;
}

/* ---------- FOOTER ---------- */

footer{
    padding:20px !important;
    font-size:13px;
}

/* ---------- FLOATING WHATSAPP ---------- */

.floating-whatsapp{
    width:50px !important;
    height:50px !important;
    right:15px !important;
    bottom:15px !important;
    font-size:23px !important;
}

/* ---------- BACK TO TOP ---------- */

.top-btn{
    width:42px !important;
    height:42px !important;
    left:15px !important;
    bottom:15px !important;
    font-size:17px !important;
}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px){

    .navbar{
        padding:8px 15px !important;
    }

    .logo img{
        width:60px !important;
        height:60px !important;
    }

    .logo h2{
        font-size:20px !important;
    }

    .hero{
        padding:115px 25px 45px !important;
    }

    .hero h1{
        font-size:40px !important;
    }

    .hero-content{
        gap:20px !important;
    }

    .hero-right img{
        max-width:330px !important;
    }

}


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

@media(max-width:768px){

    /* NAVBAR */

    .navbar{
        padding:7px 10px !important;
    }

    .navbar .container{
        min-height:52px;
    }

    .logo{
        gap:7px;
    }

    .logo img{
        width:55px !important;
        height:55px !important;
    }

    .logo h2{
        font-size:18px !important;
    }

    .logo span{
        font-size:9px !important;
    }

    /*
       Mobile navigation compact
    */

    .nav-links{
        gap:9px !important;
    }

    .nav-links a{
        font-size:11px !important;
    }

    /* HERO */

    .hero{
        padding:100px 16px 40px !important;
    }

    .hero-content{
        gap:15px !important;
    }

    .hero h1{
        font-size:30px !important;
        line-height:1.18 !important;
        margin-bottom:12px !important;
    }

    .hero p{
        font-size:13px !important;
        line-height:1.5 !important;
    }

    .hero-tag{
        font-size:10px !important;
        padding:6px 11px !important;
    }

    /* SEARCH */

    .search-box{
        margin:16px 0 !important;
        width:100% !important;
        border-radius:14px !important;
    }

    .search-box i{
        font-size:14px !important;
    }

    .search-box input{
        font-size:11px !important;
        padding:10px 3px !important;
    }

    .search-box button{
        padding:9px 13px !important;
        font-size:10px !important;
        border-radius:10px !important;
    }

    /* BUTTONS */

    .hero-buttons{
        gap:9px !important;
        margin-top:12px !important;
    }

    .btn-primary,
    .btn-secondary{
        padding:11px 17px !important;
        font-size:12px !important;
    }

    /* HERO IMAGE */

    .hero-right img{
        width:80% !important;
        max-width:280px !important;
    }

    /* SERVICES */

    .service-categories{
        padding:45px 12px !important;
    }

    .section-title{
        font-size:27px !important;
        margin-bottom:22px !important;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr) !important;
        gap:12px !important;
        margin-top:20px !important;
    }

    .service-card{
        padding:18px 8px !important;
        border-radius:15px !important;
    }

    .service-card img{
        width:58px !important;
        height:58px !important;
        margin-bottom:8px !important;
    }

    .service-card h3{
        font-size:15px !important;
        margin-bottom:5px !important;
    }

    .service-card p{
        font-size:10px !important;
        line-height:1.4 !important;
        margin-bottom:10px !important;
    }

    .service-card a,
    .view-package-btn{
        padding:7px 12px !important;
        font-size:10px !important;
        border-radius:20px !important;
    }

    .service-badge{
        top:8px !important;
        right:7px !important;
        padding:3px 6px !important;
        font-size:7px !important;
    }

    /* OTHER SECTIONS */

    section{
        padding:45px 15px !important;
    }

    section h2{
        font-size:26px !important;
        margin-bottom:20px !important;
    }

    /* FLOATING BUTTON */

    .floating-whatsapp{
        width:45px !important;
        height:45px !important;
        right:12px !important;
        bottom:12px !important;
        font-size:20px !important;
    }

    .top-btn{
        width:38px !important;
        height:38px !important;
        left:12px !important;
        bottom:12px !important;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:480px){

    .logo img{
        width:50px !important;
        height:50px !important;
    }

    .logo h2{
        font-size:17px !important;
    }

    .nav-links{
        gap:7px !important;
    }

    .nav-links a{
        font-size:10px !important;
    }

    .hero{
        padding-top:92px !important;
    }

    .hero h1{
        font-size:27px !important;
    }

    .hero p{
        font-size:12px !important;
    }

    .hero-right img{
        width:75% !important;
        max-width:250px !important;
    }

    .service-grid{
        gap:10px !important;
    }

    .service-card{
        padding:16px 6px !important;
    }

    .service-card img{
        width:52px !important;
        height:52px !important;
    }

    .service-card h3{
        font-size:14px !important;
    }

    .service-card p{
        font-size:9px !important;
    }

}

/* =========================================
   PET PARENT LOGIN
========================================= */

.pet-parent-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Login button */

.pet-parent-login-btn {

    display: flex;
    align-items: center;

    gap: 7px;

    border: none;

    background: transparent;

    cursor: pointer;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    color: #222;

    padding: 3px 0;

}


.pet-parent-login-btn i {

    font-size: 22px;

}


.pet-parent-login-btn:hover {

    opacity: 0.75;

}


/* Location */

.pet-parent-place {

    font-size: 11px;

    color: #777;

    margin-top: 2px;

}


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

/* =========================================
   PET PARENT LOGIN MODAL
========================================= */

.pet-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 15px;
    box-sizing: border-box;
}


/* LOGIN BOX */

.pet-login-box {
    position: relative;

    width: 100%;
    max-width: 430px;

    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;

    border-radius: 24px;

    padding: 32px 28px;

    box-sizing: border-box;

    text-align: left;

    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}


/* CLOSE BUTTON */

.pet-modal-close {
    position: absolute;

    right: 18px;
    top: 12px;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;

    font-size: 32px;

    color: #777;

    cursor: pointer;
}


/* ICON */

.pet-login-icon {
    text-align: center;

    font-size: 52px;

    margin-bottom: 8px;
}


/* HEADING */

.pet-login-box h2 {
    margin: 0;

    text-align: center;

    font-size: 28px;

    font-weight: 700;
}


.pet-login-box h3 {
    margin: 5px 0 0;

    text-align: center;

    font-size: 27px;

    font-weight: 700;
}


/* SUBTITLE */

.pet-login-subtitle {
    color: #777;

    font-size: 15px;

    text-align: center;

    line-height: 1.5;

    margin: 8px 0 28px;
}


/* FORM GROUP */

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


/* LABEL */

.pet-login-box label {
    display: block;

    text-align: left;

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #222;
}


/* NORMAL INPUT */

.pet-form-input {
    width: 100%;

    height: 54px;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;

    border-radius: 14px;

    padding: 0 16px;

    font-size: 16px;

    outline: none;

    background: #fff;
}


.pet-form-input:focus {
    border-color: #16a085;

    box-shadow: 0 0 0 3px rgba(22,160,133,0.12);
}


/* PHONE */

.phone-input {
    display: flex;

    width: 100%;

    height: 54px;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;

    border-radius: 14px;

    overflow: hidden;

    background: #fff;
}


.phone-input:focus-within {
    border-color: #16a085;

    box-shadow: 0 0 0 3px rgba(22,160,133,0.12);
}


.phone-input span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 70px;

    background: #f5f5f5;

    color: #555;

    font-size: 16px;

    flex-shrink: 0;
}


.phone-input input {
    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    padding: 0 15px;

    font-size: 16px;

    background: transparent;
}


/* PASSWORD */

.password-input {
    display: flex;

    align-items: center;

    width: 100%;

    height: 54px;

    box-sizing: border-box;

    border: 1px solid #d8d8d8;

    border-radius: 14px;

    background: #fff;

    overflow: hidden;
}


.password-input:focus-within {
    border-color: #16a085;

    box-shadow: 0 0 0 3px rgba(22,160,133,0.12);
}


.password-input input {
    flex: 1;

    min-width: 0;

    height: 100%;

    border: none;

    outline: none;

    padding: 0 15px;

    font-size: 16px;
}


.password-input button {
    width: 50px;

    height: 100%;

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 19px;
}


/* LOGIN BUTTON */

.pet-login-submit {
    width: 100%;

    height: 54px;

    border: none;

    background: #16a085;

    color: white;

    border-radius: 14px;

    font-weight: 700;

    font-size: 17px;

    cursor: pointer;

    margin-top: 5px;

    transition: 0.2s;
}


.pet-login-submit:hover {
    background: #12876f;
}


.pet-login-submit:active {
    transform: scale(0.98);
}


/* CREATE ACCOUNT TEXT */

.create-account-text,
.back-login-text {
    text-align: center;

    font-size: 15px;

    margin: 22px 0 5px;

    color: #333;
}


.create-account-text a,
.back-login-text a {
    color: #5b2196;

    font-weight: 600;

    text-decoration: underline;
}


/* MESSAGE */

.login-message {
    text-align: center;

    font-size: 14px;

    margin-top: 15px;

    min-height: 20px;
}


/* MOBILE */

@media (max-width: 480px) {

    .pet-modal {
        padding: 10px;
    }

    .pet-login-box {
        max-height: 92vh;

        padding: 28px 20px;

        border-radius: 22px;
    }

    .pet-login-box h2 {
        font-size: 25px;
    }

    .pet-login-box h3 {
        font-size: 25px;
    }

    .pet-login-subtitle {
        font-size: 14px;

        margin-bottom: 22px;
    }

    .pet-login-icon {
        font-size: 46px;
    }

    .phone-input,
    .password-input,
    .pet-form-input,
    .pet-login-submit {
        height: 52px;
    }

}


/* =========================================
   PHONE INPUT
========================================= */

.pet-login-box label {

    display: block;

    text-align: left;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 7px;

}


.phone-input {

    display: flex;

    align-items: center;

    border: 1px solid #ddd;

    border-radius: 12px;

    overflow: hidden;

    margin-bottom: 15px;

}


.phone-input span {

    padding: 14px;

    background: #f5f5f5;

    color: #555;

}


.phone-input input {

    flex: 1;

    border: none;

    outline: none;

    padding: 14px;

    font-size: 14px;

}


/* OTP */

.otp-input {

    width: 100%;

    box-sizing: border-box;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 12px;

    text-align: center;

    font-size: 20px;

    letter-spacing: 6px;

    outline: none;

    margin-bottom: 15px;

}


.pet-login-submit {

    width: 100%;

    border: none;

    background: #16a085;

    color: white;

    padding: 14px;

    border-radius: 12px;

    font-weight: 600;

    font-size: 15px;

    cursor: pointer;

}


.pet-login-submit:hover {

    background: #12876f;

}


.change-number-btn {

    margin-top: 12px;

    border: none;

    background: transparent;

    color: #16a085;

    cursor: pointer;

}


.login-message {

    font-size: 13px;

    margin-top: 12px;

}


/* =========================================
   DASHBOARD
========================================= */

.pet-dashboard-box {

    position: relative;

    width: 100%;

    max-width: 850px;

    max-height: 90vh;

    overflow-y: auto;

    background: #f8fafb;

    border-radius: 24px;

    padding: 30px;

    box-sizing: border-box;

}


.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    padding-right: 35px;

}


.dashboard-header span {

    font-size: 13px;

    color: #777;

}


.dashboard-header h2 {

    margin: 3px 0 0;

}


.logout-btn {

    border: 1px solid #ddd;

    background: white;

    padding: 9px 15px;

    border-radius: 10px;

    cursor: pointer;

}


/* =========================================
   STATS
========================================= */

.dashboard-stats {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 15px;

    margin-bottom: 20px;

}


.dashboard-stat {

    background: white;

    border-radius: 16px;

    padding: 18px;

    text-align: center;

}


.dashboard-stat span {

    font-size: 25px;

}


.dashboard-stat strong {

    display: block;

    font-size: 23px;

    margin: 5px 0;

}


.dashboard-stat small {

    color: #777;

}


/* =========================================
   SECTIONS
========================================= */

.dashboard-section {

    background: white;

    border-radius: 18px;

    padding: 20px;

    margin-bottom: 18px;

}


.dashboard-section h3 {

    margin-top: 0;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.add-pet-btn {

    border: none;

    background: #16a085;

    color: white;

    padding: 9px 14px;

    border-radius: 10px;

    cursor: pointer;

}


/* =========================================
   PET CARDS
========================================= */

.my-pets-list {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;

}


.pet-card {

    display: flex;

    align-items: center;

    gap: 14px;

    border: 1px solid #eee;

    border-radius: 15px;

    padding: 15px;

}


.pet-avatar {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #f0f8f6;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

}


.pet-card h4 {

    margin: 0 0 4px;

}


.pet-card p {

    margin: 2px 0;

    font-size: 13px;

    color: #777;

}


.empty-pets,
.empty-history {

    text-align: center;

    padding: 20px;

    color: #777;

}


/* =========================================
   ADD PET BOX
========================================= */

.add-pet-box {

    position: relative;

    width: 100%;

    max-width: 420px;

    background: white;

    border-radius: 22px;

    padding: 30px;

    box-sizing: border-box;

}


.add-pet-box input,
.add-pet-box select {

    width: 100%;

    box-sizing: border-box;

    padding: 14px;

    margin-bottom: 13px;

    border: 1px solid #ddd;

    border-radius: 12px;

    outline: none;

    font-family: inherit;

}


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

@media (max-width: 768px) {

    .pet-parent-login-btn {

        font-size: 12px;

    }

    .pet-parent-login-btn i {

        font-size: 20px;

    }

    .pet-dashboard-box {

        padding: 20px;

        max-height: 94vh;

    }

    .dashboard-stats {

        gap: 8px;

    }

    .dashboard-stat {

        padding: 12px 5px;

    }

    .dashboard-stat strong {

        font-size: 18px;

    }

    .my-pets-list {

        grid-template-columns: 1fr;

    }

}

/* ==============================
   VETMEDICS INFINITE GALLERY
   ============================== */

.gallery-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
  position: relative;
  border-radius: 18px;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: vetmedicsGallery 30s linear infinite;
}

.gallery-item {
  width: 380px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Image hover effect */
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Infinite sliding animation */
@keyframes vetmedicsGallery {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}

/* Pause when mouse is on gallery */
.gallery-slider:hover .gallery-track {
  animation-play-state: paused;
}

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

  .gallery-track {
    gap: 12px;
    animation-duration: 25s;
  }

  .gallery-item {
    width: 300px;
    height: 220px;
    border-radius: 14px;
  }
}

/* =========================
   PET PARENT + LOCATION FIX
========================= */

.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.nav-links{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;
}

.pet-parent-location{
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    margin-left:auto;
    padding-left:18px;
    border-left:1px solid #ddd;
}

.pet-parent-login-btn{
    border:none;
    background:none;
    color:#4B2E83;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    padding:0;
}

.pet-parent-place{
    font-size:13px;
    color:#0F9D8A;
    font-weight:500;
    margin-top:3px;
}


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

@media (max-width:768px){

    header .container{
        width:100%;
        padding:10px 12px;
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .logo{
        width:100%;
        justify-content:center;
        margin-bottom:8px;
    }

   .nav-links{
    width:100%;
    flex:none;
    display:flex !important;
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:center;
    gap:10px;
    overflow-x:auto;
    white-space:nowrap;
    padding:4px 0;
} 

    .nav-links a{
        font-size:12px;
        white-space:nowrap;
    }

    .pet-parent-location{
    width:auto;
    border-left:none;
    border-top:none;
    padding:0;
    margin:0;
    flex-direction:row;
    gap:12px;
    flex-shrink:0;
}

    .pet-parent-place{
        margin-top:0;
        font-size:12px;
    }

    .pet-parent-login-btn{
        font-size:13px;
    }

}
