/* ==========================================
   GLOBAL STYLES - Shared across all pages
   ========================================== */

:root {
    --primary: #1B2A4A;
    --primary-light: #1565C0;
    --teal: #0097A7;
    --teal-light: #00BCD4;
    --secondary: #C62828;
    --accent: #F39C12;
    --orange: #E67E22;
    --dark: #162336;
    --light-bg: #EEF2F7;
    --form-bg: #D6E4F0;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Targeted Reset (don't strip Bootstrap defaults) --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.top-bar a:hover {
    color: var(--accent);
}
.top-bar .social-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.top-bar .social-icons a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}
.top-bar .social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* ==================== NAVBAR ==================== */
.main-navbar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 0;
    z-index: 1050;
    transition: box-shadow 0.3s ease;
}
.main-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0;
}
.main-navbar .navbar-brand .brand-icon {
    width: 45px;
    height: 45px;
    background: var(--teal);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.main-navbar .nav-link {
    font-weight: 600;
    color: #333 !important;
    padding: 25px 18px !important;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--teal) !important;
}
/* Underline animation - only on non-dropdown nav links */
.main-navbar .nav-item:not(.dropdown) > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    transition: var(--transition);
}
.main-navbar .nav-item:not(.dropdown) > .nav-link:hover::after {
    width: 60%;
}

/* --- Dropdown Menu --- */
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 0;
    min-width: 220px;
}
.main-navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    transition: var(--transition);
}
.main-navbar .dropdown-item:hover {
    background: rgba(0,151,167,0.08);
    color: var(--teal);
    padding-left: 25px;
}

/* Phone CTA Button */
.phone-btn {
    background: var(--secondary);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 24px !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(198,40,40,0.3);
    white-space: nowrap;
    flex-shrink: 0;
}
.phone-btn:hover {
    background: #9B1B1B;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198,40,40,0.4);
}

/* ==================== SECTION TITLE ==================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .badge-label {
    display: inline-block;
    background: rgba(0,151,167,0.1);
    color: var(--teal);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title h2 {
    font-weight: 800;
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BOOK NOW BUTTON ==================== */
.btn-book-now {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(27,42,74,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-book-now:hover {
    background: #0f1e38;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,42,74,0.4);
}

/* ==================== FORM CONTROLS (Shared) ==================== */
.form-control {
    border: 1px solid #c5d5e5;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,151,167,0.12);
    outline: none;
}
textarea.form-control {
    resize: none;
}

/* ==================== CITY LINKS ==================== */
.city-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.city-links a:hover {
    color: var(--teal-light);
    padding-left: 5px;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--dark);
    color: #fff;
}
.footer-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0;
}
.footer-brand-icon {
    width: 40px;
    height: 40px;
    background: var(--teal);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--teal-light);
    padding-left: 5px;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    font-size: 1rem;
}
.footer-social a:hover {
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-3px);
}
.footer-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: #fff;
}

/* ==================== FLOATING ELEMENTS ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    background: #20ba56;
}
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.sticky-call-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 15px;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: none;
}

/* ==================== FADE-UP ANIMATION ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE (SHARED) ==================== */
@media (max-width: 1199px) {
    .main-navbar .nav-link {
        padding: 25px 12px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .main-navbar .nav-link {
        padding: 12px 0 !important;
        font-size: 0.95rem;
    }
    .main-navbar .nav-item:not(.dropdown) > .nav-link::after {
        display: none;
    }
    .main-navbar .navbar-collapse {
        padding: 15px 0;
        border-top: 1px solid #eee;
    }
    .main-navbar .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
        padding-left: 15px;
        background: #f8f9fa;
    }
    .section-title h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .sticky-call-btn {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
    .whatsapp-float {
        bottom: 85px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    .section-title h2 {
        font-size: 1.7rem;
    }
    .section-title p {
        font-size: 0.95rem;
    }
    .main-footer .row {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.78rem;
        padding: 6px 0;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .btn-book-now {
        padding: 12px;
        font-size: 0.95rem;
    }
}
