/* =============================================
   CSS Variables & Properties
   ============================================= */
   :root {
    /* Color Palette: Clean Medical Theme */
    --primary-color: #0b6fb8; /* Professional Blue */
    --primary-light: #e6f4ff;
    --primary-dark: #004d80;
    --secondary-color: #00a878; /* Trust/Health Green */
    --secondary-light: #e6fcf5;
    --accent-color: #25d366; /* WhatsApp Green */
    
    /* Text Colors */
    --text-main: #2b3a4a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Background Colors */
    --bg-main: #ffffff;
    --bg-light: #f5fafe;
    
    /* Utility */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* =============================================
   Base Styles & Reset
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 100px 0;
    }
}

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

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

.mt-4 {
    margin-top: 1.5rem;
}

/* =============================================
   Typography & Utilities
   ============================================= */
.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.sm-btn {
    padding: 10px 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(11, 111, 184, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 111, 184, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-whatsapp {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1cbf5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.w-100 {
    width: 100%;
}

/* =============================================
   Header & Navigation
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

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

.dr-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.dr-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar {
    display: none;
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

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

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

.nav-actions .btn {
    display: none;
}

.mobile-menu-btn {
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    display: block;
}

@media (min-width: 992px) {
    .navbar {
        display: block;
    }
    .nav-actions .btn {
        display: inline-flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    padding: 30px;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-header .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6fcf5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 111, 184, 0.1) 0%, rgba(255,255,255,0) 70%);
}

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

@media (min-width: 992px) {
    .hero {
        padding-top: 80px;
    }
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--secondary-light);
    color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero h1 span {
    color: var(--primary-color);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background-color: rgba(0, 168, 120, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

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

.stat i {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
}

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

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

.hero-image {
    position: relative;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
}

.main-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 500px;
    width: 100%;
    border: 8px solid white;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.card-text strong {
    color: var(--text-main);
    font-size: 1rem;
}

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

/* =============================================
   About Section
   ============================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.rounded-image {
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 168, 120, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.profession-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.about-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-main);
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* =============================================
   Services Section
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
}

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

.service-card:hover::after {
    width: 100%;
}

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

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

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

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

/* =============================================
   Appointment Section
   ============================================= */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .appointment-container {
        grid-template-columns: 1fr 1fr;
    }
}

.booking-options {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.booking-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white;
}

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

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

.booking-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.booking-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.form-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* =============================================
   Reviews Section
   ============================================= */
.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.stars {
    color: #ffb800;
    font-size: 1.2rem;
}

.sm-stars {
    font-size: 0.8rem;
}

.reviews-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 100%;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    opacity: 0.5;
    transition: opacity 0.3s;
    user-select: none;
}

.review-card.active {
    opacity: 1;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.8;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.reviewer-details h4 {
    margin-bottom: 2px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* =============================================
   Contact & Location
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

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

.info-content p {
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.social-icon.whatsapp { background-color: #25d366; }
.social-icon.facebook { background-color: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .map-container {
        height: 100%;
        min-height: 400px;
    }
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background-color: #05263d;
    color: #e2e8f0;
    padding-top: 80px;
}

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

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-desc {
    color: #94a3b8;
    max-width: 350px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #94a3b8;
}

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

.footer-bottom {
    background-color: #031b2c;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* =============================================
   Floating Elements
   ============================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #1cbf5a;
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 900;
    display: block;
}

@media (min-width: 768px) {
    .mobile-sticky-cta {
        display: none;
    }
}

/* =============================================
   Animations
   ============================================= */
.reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(50px); }

.reveal-left.active, .reveal-right.active, .reveal-bottom.active {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   Gallery Section
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-normal);
}

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

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

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

/* =============================================
   Mobile Optimization Overrides
   ============================================= */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .main-img {
        height: 350px;
        border-width: 5px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .floating-card {
        padding: 10px 15px;
    }
    
    .icon-box {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .rounded-image {
        height: 300px;
        object-fit: cover;
    }
    
    .experience-badge {
        padding: 15px;
        bottom: 15px;
        right: 0;
    }
    
    .experience-badge .number {
        font-size: 1.8rem;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .quote-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* Ensure the logo container aligns items horizontally */
.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo image and text */
    text-decoration: none;
}

/* Style the logo image */
.logo-img {
    height: 130px;    /* Adjust height to fit your navbar */
    width: auto;     /* Maintains aspect ratio */
    display: block;
    object-fit: contain;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 65px; /* Smaller logo for mobile screens */
    }
}
/* New Location Tabs Styles */
.location-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-light);
    background: white;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.mb-4 { margin-bottom: 1.5rem; }
/* Ensure this is in your styles.css */
.tab-btn.active {
    background: var(--primary-color) !important; /* Forces the blue color */
    color: white !important;
    border-color: var(--primary-color) !important;
}