html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #243447;
    background: #f8fbfc;
    overflow-x: hidden;
}

.navbar {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

@media all and (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.brand-name {
    font-weight: 700;
    color: #087f8c;
    font-size: 1.15rem;
}

.brand-subtitle {
    font-size: .68rem;
    color: #666;
}

.hero {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(7,127,140,.95), rgba(36,168,163,.88));
    color: white;
    padding: 120px 0 80px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: .95;
}

.hero-card {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
}

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

.section-title {
    color: #087f8c;
    font-weight: 700;
}

.section-subtitle {
    color: #777;
    max-width: 700px;
    margin: auto;
}

.service-card {
    height: 100%;
    border: none;
    border-radius: 20px;
    background: white;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e5f7f7;
    color: #087f8c;
    font-size: 30px;
    margin-bottom: 20px;
}

.about-box {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,.07);
}

.feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature i {
    color: #087f8c;
    font-size: 22px;
}

.appointment {
    background: linear-gradient(135deg,#087f8c,#24a8a3);
    color: white;
    border-radius: 30px;
    padding: 60px 35px;
}

.contact-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
}

.contact-icon {
    font-size: 30px;
    color: #087f8c;
    margin-bottom: 15px;
}

.btn-main {
    background: white;
    color: #087f8c;
    border: none;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
}

.btn-main:hover {
    background: #f0ffff;
    color: #05646d;
}

.btn-teal {
    background: #087f8c;
    color: white;
    border-radius: 50px;
    padding: 12px 25px;
    border: none;
    font-weight: 600;
}

.btn-teal:hover {
    background: #05646d;
    color: white;
}

.quote-box {
    background: #eaf8f8;
    border-left: 5px solid #087f8c;
    padding: 25px;
    border-radius: 12px;
    font-style: italic;
}

footer {
    background: #102a32;
    color: #d9e6e8;
    padding: 50px 0 25px;
}

footer a {
    color: #d9e6e8;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

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

.floating-call {
    position: fixed;
    right: 22px;
    bottom: 92px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #087f8c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,.25);
    z-index: 999;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #087f8c;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 120px 15px 60px;
    }

    .hero-card {
        margin-top: 40px;
        padding: 25px 15px;
    }

    .section-padding {
        padding: 50px 15px;
    }
    
    .about-box, .service-card, .contact-card {
        padding: 25px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .floating-whatsapp, .floating-call {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .floating-call {
        bottom: 82px;
    }
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, rgba(7,127,140,0.46), rgba(36,168,163,0.65)), url('../img/page-hero.jpg') center/cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-weight: 700;
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.6);
}

.breadcrumb-item a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

/* Utilities and Hover Effects */
.bg-teal-light { background-color: rgba(8, 127, 140, 0.1) !important; }
.text-teal { color: #087f8c !important; }
.bg-teal { background-color: #087f8c !important; }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }

/* Responsive adjustments for extremely small screens (320px and below) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    .display-6 {
        font-size: 1.5rem;
    }
    .section-padding {
        padding: 40px 15px;
    }
    .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem;
    }
    .service-card h4 {
        font-size: 1.0rem;
    }
}
/* ================= MOBILE RESPONSIVENESS TWEAKS ================= */
@media (max-width: 767.98px) {
    /* Reduce inner page hero height */
    .page-hero {
        padding: 90px 0 50px !important;
    }
    .page-hero h1 {
        font-size: 2rem !important;
    }

                /* Make Google Translate Dropdown responsive via JS wrapper */
    .goog-te-menu-wrapper {
        position: fixed !important;
        bottom: 80px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: calc(100vw - 20px) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        z-index: 99999 !important;
        border-radius: 12px !important;
        box-shadow: 0 5px 25px rgba(0,0,0,0.3) !important;
        background: #fff;
        /* Custom scrollbar for wrapper */
        -webkit-overflow-scrolling: touch;
    }
    .goog-te-menu-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    .goog-te-menu-wrapper::-webkit-scrollbar-thumb {
        background: #087f8c;
        border-radius: 4px;
    }
    
    iframe.goog-te-menu-frame {
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: none !important; /* Let it stretch horizontally */
    }

    /* About Section Image - Keep it compact on mobile */
    .about-image-wrapper img {
        height: 250px !important;
        object-fit: cover;
    }
    .about-image-wrapper::before {
        display: none !important; /* Hide decorative background on mobile */
    }

    /* Compact Cards on Mobile */
    .card, .service-card {
        padding: 1.5rem !important; /* Reduce padding from p-4 (1.5rem) to something smaller? Actually p-4 is 1.5rem. Let's make it 1.25rem */
    }
    
    /* Make text in cards slightly smaller */
    .card p, .service-card p {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    .card h4, .service-card h4, .card h5, .service-card h5 {
        font-size: 1.15rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Reduce spacing */
    .section-padding {
        padding: 50px 0 !important;
    }

    /* CTA Section adjustments */
    .cta-section {
        padding: 40px 0 !important;
    }
    .cta-section p.lead {
        display: none !important; /* Hide some content on small screens to save space */
    }
    .cta-section .btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .cta-section .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Display CTA buttons horizontally if requested? "shows it hosrizontal as well" 
       Actually, if there are two buttons, stacking them or making them horizontal. 
       Let's make them flex-row with gap. */
    .cta-section .d-flex {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 10px !important;
    }
    .cta-section .btn {
        width: auto !important;
        flex: 1 1 auto;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
/* ================= REFINED MOBILE RESPONSIVENESS ================= */
@media (max-width: 767.98px) {
    /* Make CTA buttons horizontal and hide large text */
    .d-flex.flex-wrap.gap-3 a.btn {
        flex: 1 1 45% !important; /* Force them side-by-side */
        font-size: 0.85rem !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        text-align: center;
    }
    
    /* Hide some text in CTAs to save space */
    .cta-help-box p.lead,
    .bg-teal.text-white p.lead,
    .bg-teal.text-white p.fs-5 {
        display: none !important;
    }

    /* Reduce CTA padding */
    .cta-help-box .card-body,
    .bg-teal.text-white {
        padding: 1.5rem !important;
    }

    /* Cards don't stretch fully vertically if content is small */
    .card.h-100, .service-card.h-100 {
        height: auto !important;
    }
}



