/* Yashaswi Group global redesign overrides */
:root {
    --yg-green: #08752f;
    --yg-green-dark: #005b25;
    --yg-green-deep: #003f24;
    --yg-gold: #e5aa00;
    --yg-yellow: #ffbe18;
    --yg-orange: #f36b0b;
    --yg-blue: #073764;
    --yg-blue-soft: #1566b6;
    --yg-ink: #1f2933;
    --yg-muted: #667085;
    --yg-light: #f6f8f5;
    --yg-white: #ffffff;
    --yg-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--yg-ink);
    background: #ffffff;
}

/* Global buttons */
.btn {
    border-radius: 999px;
}

/* Top strip */
.site-topbar.nav_mob_email {
    background: linear-gradient(90deg, var(--yg-green-dark), var(--yg-green)) !important;
    color: #fff;
    padding: 8px 0;
    font-size: 0.88rem;
    line-height: 1.2;
    position: relative !important;
    top: auto !important;
    z-index: 1040;
}

.site-topbar a,
.site-topbar span {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-topbar a:hover {
    color: var(--yg-yellow);
}

.site-topbar i {
    color: #fff;
    margin-right: 5px;
}

.topbar-tagline {
    letter-spacing: 0.02em;
    font-size: 0.78rem;
    font-weight: 700;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #fff;
}

/* Header */
.site-navbar.nav_menu.navbar {
    background: #fff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
    padding: 12px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 260px;
}

.site-logo {
    height: 54px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.site-navbar .navbar-toggler {
    border: 1px solid rgba(8, 117, 47, 0.25);
    padding: 8px 10px;
    border-radius: 10px;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(8, 117, 47, 0.15);
}

.site-navbar .nav-link {
    color: #111827 !important;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 10px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--yg-green) !important;
}

.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 3px;
    border-radius: 3px;
    background: var(--yg-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.site-enquiry-btn {
    background: linear-gradient(135deg, var(--yg-orange), #ff8a00);
    color: #fff !important;
    border: 0;
    padding: 11px 24px !important;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(243, 107, 11, 0.25);
}

.site-enquiry-btn:hover {
    background: linear-gradient(135deg, #e15e00, var(--yg-orange));
    transform: translateY(-1px);
    color: #fff !important;
}

/* Improve standard inner page headers to align with the new identity */
.page-header,
.contact_page_section1,
.associate_page_section1 {
    background: linear-gradient(135deg, rgba(0, 91, 37, 0.95), rgba(7, 55, 100, 0.88)) !important;
}

.aboutus_section1 .as1_hero,
.amenities_page_section1 .amenities_hero {
    background: linear-gradient(135deg, rgba(0, 91, 37, 0.82), rgba(7, 55, 100, 0.62)) !important;
}

/* Footer */
.site-footer {
    background: #111827 !important;
    color: #ffffff;
    padding: 0 !important;
}

.footer-main {
    background: radial-gradient(circle at top left, rgba(8, 117, 47, 0.28), transparent 35%), linear-gradient(135deg, #1c252c, #111827 55%, #0b1320);
    padding: 42px 0 32px;
}

.footer-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.footer-tagline {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.72);
    max-width: 350px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.site-footer h6 {
    color: var(--yg-yellow) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
    color: var(--yg-yellow) !important;
}

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

.footer-contact i {
    color: var(--yg-yellow);
    min-width: 18px;
    margin-top: 2px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.09);
    color: #fff !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-social a:hover {
    background: var(--yg-green);
    color: #fff !important;
}

.footer-bottom {
    background: var(--yg-gold);
    color: #1f2933;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.84rem;
}

.footer-bottom a {
    color: #1f2933 !important;
    text-decoration: none;
}

.footer-bottom span {
    opacity: 0.6;
    margin: 0 8px;
}

.whatsapp-float {
    background: #25d366 !important;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3) !important;
}

@media (max-width: 991px) {
    .site-navbar.nav_menu.navbar {
        padding: 10px 0 !important;
    }

    .site-brand {
        min-width: 0;
    }

    .site-logo {
        height: 42px;
        max-width: 245px;
    }

    .site-navbar .navbar-collapse {
        background: #fff;
        margin-top: 14px;
        padding: 12px 0 8px;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .site-navbar .nav-link {
        padding: 11px 0 !important;
    }

    .site-navbar .nav-link::after {
        left: 0;
        right: auto;
        width: 42px;
    }

    .site-enquiry-btn {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .site-topbar.nav_mob_email,
    .site-navbar.nav_menu {
        position: relative !important;
        top: auto !important;
        width: 100%;
        z-index: 1030;
    }

    section.contact_page,
    .amenities_page,
    .associate_page,
    .aboutus_page,
    .homepage,
    .homepage-redesign,
    .project_page {
        padding-top: 0 !important;
    }

    .site-topbar {
        font-size: 0.78rem;
    }

    .topbar-contact {
        gap: 10px !important;
    }

    .site-logo {
        height: 36px;
        max-width: 215px;
    }

    .footer-main {
        padding: 34px 0 24px;
    }

    .footer-bottom .container {
        justify-content: center !important;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 26px !important;
        bottom: 18px !important;
        right: 18px !important;
    }
}

/* About dropdown navigation */
.site-navbar .dropdown-menu.site-dropdown-menu {
    border: 0;
    border-radius: 16px;
    padding: 10px;
    margin-top: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    min-width: 220px;
}

.site-navbar .dropdown-menu.site-dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 10px 14px;
    color: #111827;
    font-weight: 800;
    font-size: 0.92rem;
}

.site-navbar .dropdown-menu.site-dropdown-menu .dropdown-item:hover,
.site-navbar .dropdown-menu.site-dropdown-menu .dropdown-item.active {
    background: rgba(8, 117, 47, 0.09);
    color: var(--yg-green, #08752f);
}

@media (min-width: 992px) {
    .site-navbar .nav-item.dropdown:hover .dropdown-menu.site-dropdown-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    .site-navbar .dropdown-menu.site-dropdown-menu {
        box-shadow: none;
        border: 1px solid rgba(15, 23, 42, 0.08);
        margin: 4px 0 10px;
    }
}
