:root {
    /* Color Palette */
    --primary: #0d9488; /* Teal */
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #f59e0b; /* Amber/Orange accent */
    --secondary-dark: #d97706;
    --dark: #1e293b;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --white: #ffffff;
    
    /* Variables */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08), 0 6px 6px rgba(0,0,0,0.06);
    --shadow-hover: 0 15px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.05);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-light-blue { background-color: var(--primary-light); }
.bg-dark { background-color: var(--dark); }
.mt-4 { margin-top: 2rem; }

/* Section Headers */
.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title.left-align {
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-title.left-align::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.secondary-btn:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    font-size: 1.1rem;
    padding: 14px 32px;
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 2px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition);
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

#navbar.scrolled .logo-text .title { color: var(--primary-dark); }
#navbar.scrolled .logo-text .subtitle { color: var(--text-light); }

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

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

#navbar.scrolled .nav-links a { color: var(--text-main); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-cta {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.nav-cta:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

#navbar.scrolled .hamburger { color: var(--dark); }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-text-box {
    max-width: 650px;
    color: var(--white);
}

.badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-text-box h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-bottom .shape-fill {
    fill: var(--bg-main);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-content {
    padding: 40px 30px 30px;
    position: relative;
}

.icon-box {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
    border: 4px solid var(--white);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 70px;
}

.service-list {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Split Layout (Grooming) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.split-img-wrapper {
    position: relative;
}

.split-img-wrapper .main-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.floating-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-box i {
    color: #ef4444; /* red */
    font-size: 2rem;
}

.floating-box span {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark);
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 500;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-block {
    display: flex;
    gap: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.icon-circle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.info-block h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-block p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Branches */
.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.branch-header h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.status-badge {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    text-align: left;
}

.branch-info-item i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.branch-body .info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.branch-body .info-text span {
    display: block;
    font-size: 0.93rem;
    color: var(--text-main);
    line-height: 1.45;
    text-align: left;
}

.branch-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.branch-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.hours-box {
    display: inline-block;
    background: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.hours-box h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* Pet Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--white);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.65), rgba(15, 23, 42, 0.15));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2.2rem;
    transform: scale(0.7);
    transition: transform 0.35s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 580px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.quote {
    font-style: italic;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.author-info h5 {
    color: var(--white);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* CTA */
.cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.brand-col h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; }
    .hero-text-box h1 { font-size: 2.8rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a {
        color: var(--dark) !important;
        font-size: 1.2rem;
    }
    
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active { color: var(--dark); }
    
    .nav-cta { display: none; }
    
    .hero-text-box h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    
    .footer-top { grid-template-columns: 1fr; }
}

/* ===== Floating Chat Widget Wrapper & Popup ===== */
.chat-widget-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.chat-popup {
    position: absolute;
    bottom: calc(100% + 0.8rem);
    right: 0;
    width: 310px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    transform-origin: bottom right;
}

.chat-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
}

.chat-popup-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-popup-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-popup-title i {
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.chat-popup-title h4 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.chat-popup-title p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 400;
}

.chat-popup-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem;
    line-height: 1;
    transition: color 0.2s;
}

.chat-popup-close:hover {
    color: var(--white);
}

.chat-popup-body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.22s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.chat-option:hover {
    transform: translateY(-2px);
    background: var(--white);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.option-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--white);
    flex-shrink: 0;
}

.messenger-icon {
    background: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.28);
}

.viber-icon {
    background: #7360f2;
    box-shadow: 0 4px 12px rgba(115, 96, 242, 0.28);
}

.option-info {
    flex: 1;
    min-width: 0;
}

.option-info strong {
    display: block;
    font-size: 0.92rem;
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
}

.option-info span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.arrow-icon {
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: transform 0.2s, color 0.2s;
}

.chat-option:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(3px);
}

/* Main Chat Toggle Button */
.chat-widget-toggle {
    background: var(--primary);
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--white);
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.38);
    transition: all 0.25s ease;
}

.chat-widget-toggle .close-icon {
    display: none;
}

.chat-widget-toggle:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.45);
    background: var(--primary-dark);
}

.chat-widget-toggle.active {
    background: var(--dark);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}

.chat-widget-toggle.active .main-icon {
    display: none;
}

.chat-widget-toggle.active .close-icon {
    display: inline-block;
    font-size: 1.1rem;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(13, 148, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.chat-widget-toggle {
    animation: pulse-ring 2.4s ease infinite;
}

/* Back to top position */
#back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
}

/* Floating button responsive */
@media (max-width: 480px) {
    .chat-widget-wrapper {
        right: 1rem;
        bottom: 1rem;
    }
    .chat-popup {
        width: calc(100vw - 2rem);
        max-width: 320px;
        right: 0;
        bottom: calc(100% + 0.6rem);
    }
    .chat-widget-toggle {
        padding: 0.72rem 1.1rem;
        font-size: 0.86rem;
        gap: 0.5rem;
    }
    #back-to-top {
        bottom: 4.8rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* ===== Viber Desktop Restriction Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    background: var(--white);
    width: min(100%, 400px);
    border-radius: 20px;
    padding: 2rem 1.6rem 1.6rem;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
    transform: scale(0.9) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1.1rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    transition: color 0.2s ease;
}

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

.modal-icon.viber-bg {
    width: 60px;
    height: 60px;
    background: #7360f2;
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    margin: 0 auto 1.1rem;
    box-shadow: 0 8px 24px rgba(115, 96, 242, 0.38);
}

.modal-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--dark);
}

.modal-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.viber-number-box {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px dashed rgba(115, 96, 242, 0.4);
}

.viber-number-box i {
    color: #7360f2;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.5rem;
}

.modal-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.modal-secondary-btn {
    background: #f1f5f9;
    color: var(--dark);
    border: 1px solid #cbd5e1;
}

.modal-secondary-btn:hover {
    background: #e2e8f0;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
}