/* 
   Royal Pet Clinic & Parlour - Stylesheet
   Color Palette:
   White: #FFFFFF
   Light Blue (Primary): #2196F3 (Medical Feel)
   Green (Accent): #4CAF50 (Pet/Nature)
   Backgrounds: #F8FAFC, #E3F2FD, #E8F5E9
   Text: #1E293B
*/

:root {
    --primary-color: #2196F3;
    --primary-light: #E3F2FD;
    --primary-dark: #1976D2;
    --secondary-color: #4CAF50;
    --secondary-light: #E8F5E9;
    --secondary-dark: #388E3C;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --accent-red: #EF4444;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Emergency & Top Bar */
.emergency-bar {
    background: var(--accent-red);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.top-shortcuts {
    display: flex;
    gap: 20px;
}

.top-shortcuts a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.top-shortcuts a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .emergency-bar .top-shortcuts { display: none; }
    .emergency-bar { text-align: center; }
}

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    line-height: 1;
}

.brand-name {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 0;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    padding: 100px 0 60px;
    background: radial-gradient(circle at top right, var(--primary-light), white 70%);
    overflow: hidden;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

#hero .highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

#hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--secondary-light);
    z-index: -1;
    opacity: 0.6;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-number i {
    color: #FFC107;
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: cover;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--primary-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -10%;
    left: -10%;
    z-index: 1;
    animation: blob-animate 20s infinite alternate;
}

@keyframes blob-animate {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 65% 35% 38% 62% / 46% 59% 41% 54%; }
}

/* --- Section Global --- */
section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title.align-left {
    text-align: left;
}

.section-title.align-left p {
    margin: 0;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #F1F5F9;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* --- Why Choose Us --- */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.features-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.list-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-light);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.features-list h4 {
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.features-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Reviews Section --- */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid #F1F5F9;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
}

.reviewer-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.google-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.google-logo {
    height: 30px;
    object-fit: contain;
}

/* --- CTA Section --- */
#cta {
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.4);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Footer --- */
footer {
    background: var(--bg-light);
    padding: 80px 0 30px;
    border-top: 1px solid #E2E8F0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

footer h4 {
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

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

.footer-contact ul li {
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #E2E8F0;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    font-weight: 600;
}

.floating-whatsapp i {
    font-size: 1.5rem;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    background: #128C7E;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    #hero h1 { font-size: 3rem; }
    #hero p { margin: 0 auto 35px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .why-us-image { order: 2; }
    .why-us-text { order: 1; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    
    section { padding: 60px 0; }
    
    #hero h1 { font-size: 2.5rem; }
    
    .cta-box { padding: 40px 20px; }
    .cta-btns { flex-direction: column; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp span { display: none; }
    .floating-whatsapp {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* --- New Sections --- */
/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 0; }
.team-card-info { padding: 25px; }
.team-card-info h3 { margin-bottom: 5px; font-size: 1.25rem; }
.team-card-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px; }
.experience-tag { display: inline-block; background: var(--secondary-light); color: var(--secondary-dark); padding: 4px 10px; border-radius: 5px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; }
.consult-fee { font-weight: 700 !important; color: var(--primary-color) !important; margin-bottom: 15px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a { color: var(--text-muted); font-size: 1.1rem; }
.team-social a:hover { color: var(--primary-color); }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid #F1F5F9; border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; transition: var(--transition); }
.faq-question:hover { background: var(--primary-light); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: var(--transition); color: var(--text-muted); font-size: 0.95rem; }
.faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 200px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* Newsletter */
.newsletter-box { background: var(--secondary-light); padding: 50px; border-radius: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.newsletter-text { max-width: 500px; }
.newsletter-text h3 { font-size: 1.75rem; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 300px; }
.newsletter-form input { flex: 1; border-radius: 50px; padding: 12px 25px; border: 1px solid #CBD5E1; }

@media (max-width: 768px) {
    .newsletter-box { text-align: center; justify-content: center; padding: 30px 20px; }
    .newsletter-form { flex-direction: column; width: 100%; min-width: auto; }
}

/* Tip Card Section Styles */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tip-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tip-image { height: 200px; overflow: hidden; }
.tip-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.tip-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.tip-tag { background: var(--primary-light); color: var(--primary-color); padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; display: inline-block; width: fit-content; margin-bottom: 15px; text-transform: uppercase; }
.tip-content h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.3; }
.tip-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.tip-content .learn-more { margin-top: auto; }

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

/* Homepage Main Gallery preview */
.gallery-grid-main {
    display: flex;
    gap: 20px;
    height: 600px;
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-item-alt {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1.5;
    box-shadow: var(--shadow-sm);
}

.gallery-item-alt.small { flex: 1; }
.gallery-item-alt.mid { flex: 1.25; }

.gallery-item-alt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33, 150, 243, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-weight: 700;
}

.gallery-item-alt:hover .gallery-overlay { opacity: 1; }
.gallery-item-alt:hover img { transform: scale(1.05); }

@media (max-width: 992px) {
    .gallery-grid-main { flex-direction: column; height: auto; }
    .gallery-column { flex-direction: row; height: 300px; }
}

@media (max-width: 600px) {
    .gallery-column { flex-direction: column; height: auto; }
    .gallery-item-alt { height: 250px; }
}

