/* =================================================================
   site-shell.css — shared navbar / top-header / footer / copyright
   styles. Loaded by every page so the chrome stays consistent.
   Extracted from index.html on 2026-05-27.
   ================================================================= */

/* ---------- Page-level overflow guard ----------
   Several sub-pages have wide multi-column tables and long unbreakable
   strings (e.g. "G.O.Ms.No.443_dt.18-12-2017"). Without this guard those
   force horizontal overflow, which mobile browsers compensate for by
   shrinking the whole page (the "zoomed-out" look on planning / who-is
   etc. while the home page renders correctly). */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}
img, video, iframe {
    max-width: 100%;
    height: auto;
}
table { max-width: 100%; }
/* Long unbreakable tokens (URLs, _dt.18-12-2017_ strings) must wrap */
.outbreak-content,
.outbreak-content p,
.outbreak-content li,
.timeline-content,
.timeline-content p,
.page-title-content h2,
.page-title-content ul li {
    word-break: break-word;
    overflow-wrap: anywhere;
}
/* Tables inside .table-responsive must scroll inside their own area,
   not push the whole page wider. */
.table-responsive {
    max-width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Sticky nav with depth ---------- */
.navbar-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
}
.top-header {
    background: linear-gradient(135deg, #0d2c52 0%, #1565c0 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.top-header .city-temperature,
.top-header .top-nav a,
.top-header .top-social a,
.top-header .top-social span { color: #ffffff !important; }

/* All-caps, denser, with a sliding underline accent */
.poxo-nav .navbar .navbar-nav .nav-item .nav-link {
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    font-size: 12px !important;
    color: #1f2937 !important;
    padding: 24px 9px !important;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap !important;
}
/* Keep all nav items on a single row at desktop widths and let them shrink */
.poxo-nav .navbar .navbar-nav {
    flex-wrap: nowrap !important;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}
.poxo-nav .navbar .navbar-collapse {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px;
    min-width: 0;
}
.poxo-nav .navbar-brand { flex: 0 0 auto; }
.poxo-nav .others-option { flex: 0 0 auto; margin-left: auto; }
.poxo-nav .navbar .navbar-nav .nav-item .nav-link:hover,
.poxo-nav .navbar .navbar-nav .nav-item .nav-link.active {
    color: #1565c0 !important;
}
.poxo-nav .navbar .navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1565c0, #f57c00);
    transition: width 0.25s ease;
    border-radius: 1px;
}
.poxo-nav .navbar .navbar-nav .nav-item .nav-link:hover::after,
.poxo-nav .navbar .navbar-nav .nav-item .nav-link.active::after {
    width: 65%;
}
.poxo-nav .navbar .navbar-nav .nav-item .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid #e3e8ef;
    padding: 8px 0;
    margin-top: 0;
}
.poxo-nav .navbar .navbar-nav .nav-item .dropdown-menu .nav-link {
    padding: 10px 22px !important;
    font-size: 12px !important;
}
.poxo-nav .navbar .navbar-nav .nav-item .dropdown-menu .nav-link::after { display: none; }

/* Contact button — pill-shaped, brand-blue gradient */
.navbar-area .others-option .btn {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%) !important;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding: 10px 26px 10px 22px !important;
    border-radius: 999px !important;
    border-color: #1565c0 !important;
    margin: 0 !important;
}
.navbar-area .others-option .btn::before { background: rgba(255,255,255,0.2) !important; }
.navbar-area .others-option .btn:hover { box-shadow: 0 4px 14px rgba(21, 101, 192, 0.45) !important; }

/* Compact desktop nav at 992–1199px: hide nav icons + shrink padding/font
   so all 11 items + Contact button fit on a single row without overlap. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .poxo-nav .navbar .navbar-nav .nav-item .nav-link {
        font-size: 11px !important;
        padding: 24px 6px !important;
        letter-spacing: 0.2px !important;
    }
    .poxo-nav .navbar .navbar-nav .nav-item .nav-link .nav-ic { display: none !important; }
    .poxo-nav .navbar .navbar-nav .nav-item .nav-link .nav-caret { margin-left: 3px; }
    .navbar-area .navbar-brand img { max-height: 46px; }
    .navbar-area .others-option .btn {
        font-size: 11px !important;
        padding: 8px 16px !important;
    }
}

/* Slightly compact between 1200–1399px so we keep breathing room */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .poxo-nav .navbar .navbar-nav .nav-item .nav-link { padding: 24px 8px !important; }
    .poxo-nav .navbar .navbar-nav .nav-item .nav-link .nav-ic {
        font-size: 14px !important;
        margin-right: 5px;
    }
}

/* Mobile: hide desktop bar, style the MeanMenu output (≤991px) */
@media (max-width: 991.98px) {
    .poxo-nav { display: none !important; }
    .poxo-responsive-nav {
        display: block !important;
        padding: 10px 0;
        position: relative;
    }
    .poxo-responsive-nav .container { position: relative; }
    .poxo-responsive-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 56px;
    }
    .poxo-responsive-menu .logo { flex: 0 0 auto; }
    .poxo-responsive-menu .logo img { max-height: 50px; width: auto; display: block; }

    /* Hamburger / close button: pin to the right of the logo row, vertically
       centered. z-index keeps the X visible above the expanded nav list. */
    .mean-container .meanmenu-reveal {
        color: #1565c0 !important;
        font-size: 24px !important;
        top: 50% !important;
        right: 15px !important;
        padding: 6px 10px !important;
        margin-top: -22px !important;
        border: 1px solid rgba(21, 101, 192, 0.25) !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        z-index: 1100 !important;
    }
    .mean-container .meanmenu-reveal.meanclose {
        z-index: 1200 !important;
        background: #ffffff !important;
        color: #1565c0 !important;
    }
    .mean-container .meanmenu-reveal span {
        background: #1565c0 !important;
        border-radius: 2px !important;
        height: 3px !important;
        margin: 4px 0 !important;
    }
    /* Mobile nav panel: generous breathing room so items don't sit
       directly under the logo row, and the panel feels separated from
       the top of the screen. */
    .mean-container .mean-nav {
        background: #ffffff !important;
        margin-top: 40px !important;
        /* padding-top: 28px !important; */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1000;
        border-top: 1px solid #f1f4f8;
    }
    .mean-container .mean-nav > ul { margin-top: 12px !important; }
    .mean-container .mean-nav > ul > li:first-child > a {
        border-top: 0 !important;
        padding-top: 18px !important;
    }
    .mean-container .mean-nav ul li a {
        color: #1f2937 !important;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 13px;
        border-top: 1px solid #f1f4f8 !important;
        padding: 14px 18px !important;
    }
    .mean-container .mean-nav ul li a:hover { background: #f5f7fa !important; color: #1565c0 !important; }
    .mean-container .mean-nav ul li a.active { color: #1565c0 !important; }

    /* Hide the desktop navbar-brand logo (the responsive-nav already shows it) */
    .navbar-area .navbar-brand { display: none !important; }
}

/* Very small screens: shrink top header pills so they don't overlap */
@media (max-width: 575.98px) {
    .top-header { font-size: 11px; padding: 6px 0; }
    .top-header .top-nav li a { padding: 0 4px; }
    .top-header .top-social { gap: 6px; }
    .poxo-responsive-menu .logo img { max-height: 42px; }
}

/* ---------- Nav icons ---------- */
.poxo-nav .navbar .navbar-nav .nav-item .nav-link .nav-ic {
    font-size: 15px !important;
    margin-right: 6px;
    color: #1565c0 !important;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    vertical-align: middle;
    display: inline-block;
}
.poxo-nav .navbar .navbar-nav .nav-item .nav-link:hover .nav-ic,
.poxo-nav .navbar .navbar-nav .nav-item .nav-link.active .nav-ic {
    opacity: 1;
    transform: translateY(-1px);
}
.poxo-nav .navbar .navbar-nav .nav-item .nav-link .nav-caret {
    font-size: 11px !important;
    margin-left: 5px;
    opacity: 0.6;
}
/* Dropdown items: keep icons sized too */
.poxo-nav .navbar .navbar-nav .nav-item .dropdown-menu .nav-link .nav-ic {
    font-size: 15px !important;
    margin-right: 8px;
}
/* Mobile menu inherits the same icons via MeanMenu clone */
.mean-container .mean-nav ul li a .nav-ic {
    font-size: 18px !important;
    margin-right: 10px;
    color: #1565c0 !important;
    vertical-align: middle;
}

/* ---------- Footer (icon size + RUDA watermark) ---------- */
.footer-area {
    padding-top: 60px !important;
    padding-bottom: 0 !important;
    background-color: #0d2c52 !important;
    position: relative;
    overflow: hidden;
}
/* Replace the world-map / Godavari image with a giant translucent
   RUDA watermark sitting behind the footer content. */
.footer-area::before {
    content: 'RUDA' !important;
    background: none !important;
    background-image: none !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    -webkit-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    font-family: 'Raleway', 'Arial', sans-serif !important;
    font-size: clamp(220px, 28vw, 520px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.045) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 0 !important;
}
.footer-area .container { position: relative; z-index: 1; }
/* Thin gradient strip across the very top */
.footer-area::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c0 0%, #1e88e5 35%, #4caf50 65%, #f57c00 100%);
    z-index: 2;
}
.footer-area .single-footer-widget h3 {
    font-weight: 700;
    font-size: 19px !important;
    letter-spacing: 0.4px;
    margin-bottom: 28px !important;
}
.footer-area .footer-quick-links li a:hover { color: #4caf50 !important; }

/* Footer icons — bigger */
.footer-area .footer-contact-info > li > i,
.footer-area .footer-contact-info i.flaticon-phone-call,
.footer-area .footer-contact-info i.flaticon-email,
.footer-area .footer-contact-info i.flaticon-map-location {
    font-size: 26px !important;
    color: #4caf50 !important;
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    background: rgba(76, 175, 80, 0.12) !important;
    border-radius: 50% !important;
    text-align: center;
    margin-right: 12px;
}
.footer-area .social li a,
.footer-area .footer-contact-info .social li a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-area .social li a i,
.footer-area .footer-contact-info .social li a i { color: #ffffff !important; transition: color 0.2s ease; }
.footer-area .social li a:hover,
.footer-area .footer-contact-info .social li a:hover {
    background: #4caf50 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.footer-area .social li a:hover i,
.footer-area .footer-contact-info .social li a:hover i { color: #ffffff !important; }

/* Footer first column: keep logo + social in a single horizontal row */
.footer-area .row > div:first-child .single-footer-widget {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    flex-wrap: wrap;
}
.footer-area .row > div:first-child .single-footer-widget > a {
    flex: 0 0 auto;
    margin: 0 !important;
}
.footer-area .row > div:first-child .single-footer-widget > a img {
    max-height: 70px;
    width: auto;
}
.footer-area .row > div:first-child .single-footer-widget .footer-contact-info {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    flex: 0 0 auto;
}
.footer-area .row > div:first-child .single-footer-widget .footer-contact-info > li {
    margin: 0;
    padding: 0;
}
.footer-area .row > div:first-child .single-footer-widget .social {
    display: inline-flex !important;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}
.footer-area .row > div:first-child .single-footer-widget .social li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0.15) !important;
    padding: 14px 0 !important;
    margin-top: 30px !important;
    position: relative;
    z-index: 1;
}

/* =====================================================
   Universal mobile responsive improvements applied to
   every page (home + inner pages). Mirrors the cleanup
   the home page got — so inner pages also render as a
   proper mobile layout instead of a compressed desktop.
   ===================================================== */

@media (max-width: 767.98px) {
    /* Reduce excessive section padding (.ptb-100 = 100px top/bottom is way
       too much on a 360px-tall mobile fold) */
    .ptb-100 { padding-top: 40px !important; padding-bottom: 40px !important; }
    .pt-100  { padding-top: 40px !important; }
    .pb-100  { padding-bottom: 40px !important; }
    .pb-70   { padding-bottom: 30px !important; }
    .pt-70   { padding-top: 30px !important; }

    /* Page title (hero) area on inner pages — shrink the 40px heading
       and tighten the breadcrumb */
    .page-title-area { padding: 60px 0 50px !important; }
    .page-title-content h2 { font-size: 26px !important; line-height: 1.25; }
    .page-title-content ul li { font-size: 13px !important; margin: 0 8px !important; }

    /* Section title h2 across the site */
    .section-title h2 { font-size: 22px !important; line-height: 1.3; }
    .section-title p  { font-size: 14px !important; }

    /* Generic Bootstrap rows with only `col-lg-* col-md-*` (no xs default)
       collapse to flex-auto on mobile and look cramped. Force 1-up. */
    .outbreak-area .row > [class*="col-"],
    .about-area .row > [class*="col-"] {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    /* Tables: shrink padding/font on mobile so scroll content is denser */
    .table-responsive table { font-size: 12px; }
    .table-responsive table th,
    .table-responsive table td { padding: 8px 6px !important; }

    /* Container padding — keep cards using full visible width */
    .container, .container-fluid { padding-left: 12px; padding-right: 12px; }

    /* Marquees inside .annunce_tab can render very large text on mobile */
    .annunce_tab marquee,
    .annunce_tab marquee h5,
    .annunce_tab marquee a { font-size: 14px !important; line-height: 1.4 !important; }
    .annoucement_cls { font-size: 16px !important; padding: 8px !important; }

    /* Heading-only sections like "PLANNING" intro h2 — shrink */
    section .container > div > h2,
    section .container h2[style*="center"] { font-size: 22px !important; }

    /* Cards with fixed pixel widths (e.g. .event-imgs) should be fluid */
    .event-imgs { width: 100% !important; height: auto !important; max-width: 100%; }
}

/* Small tablet (576–767px): show 2-up grids where reasonable */
@media (min-width: 576px) and (max-width: 767.98px) {
    .outbreak-area .row > [class*="col-md-6"],
    .about-area .row > [class*="col-md-6"] {
        width: 50%;
        max-width: 50%;
    }
}
