/* =========================================================
   THEME VARIABLES
   ========================================================= */
:root {
    --primary:   #005d8f;
    --secondary: #003d66;
    --topbar:    #00405f;
    --accent:    #f7b500;
    --link:      #1f2a44;
    --line:      #e7edf3;

    --footer-top: #005681;
    --footer:     #003f5f;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    top: 0 !important;   /* stops shift when Google Translate loads */
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar { background: var(--topbar); color: #dbe7f1; font-size: 13.5px; padding: 7px 0; }

.top-bar .container,
.top-bar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;          /* desktop: sab kuch ek line me */
    gap: 12px;
}

.top-bar .top-contact,
.top-bar .top-right {
    flex: 0 0 auto;             /* ye dono apni size par rahein */
    white-space: nowrap;
}

.top-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.top-contact a { color: #dbe7f1; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: .2s; }
.top-contact a:hover { color: #fff; }

.top-right { display: flex; align-items: center; gap: 16px; }

.social-icons { display: flex; gap: 8px; }
.social-icons a {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #dbe7f1; border: 1px solid rgba(255, 255, 255, .25);
    text-decoration: none; font-size: 14px; transition: .25s;
}
.social-icons a:hover { background: #fff; color: var(--topbar); border-color: #fff; }

.language-switch a { color: #dbe7f1; text-decoration: none; font-weight: 600; padding: 0 4px; transition: .2s;
    box-shadow: none !important; text-shadow: none !important; outline: none !important; }
.language-switch a:hover, .language-switch a:focus, .language-switch a.active { color: var(--accent); }
.language-switch .divider { opacity: .4; margin: 0 2px; }

/* =========================================================
   TOP BAR NEWS TICKER
   ========================================================= */
.top-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;              /* 0 basis — tabhi bachi hui jagah leta hai, wrap nahi karta */
    min-width: 0;
    margin: 0 24px;
    overflow: hidden;
}

.tt-label {
    flex-shrink: 0;
    background: #f0a500;
    color: #07324a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    line-height: 1.4;
}

.tt-window {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
            mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.tt-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: tt-scroll 38s linear 2s infinite;   /* 2s ruk kar shuru hota hai */
}

.tt-window:hover .tt-track { animation-play-state: paused; }   /* padhne ke liye hover par rukta hai */

.tt-item a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    opacity: .92;
}
.tt-item a:hover { color: #ffd470; opacity: 1; }

.tt-dot { color: rgba(255, 255, 255, .45); font-size: 12px; }

@keyframes tt-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }   /* aadha = ek poora set */
}

@media (prefers-reduced-motion: reduce) {
    .tt-track { animation: none; }
    .tt-window { overflow-x: auto; }
}

@media (max-width: 991.98px) {
    .top-ticker { margin: 0 14px; }
    .tt-item a { font-size: 12.5px; }
}

/* Mobile: ticker apni alag line par */
@media (max-width: 767.98px) {
    .top-bar .container,
    .top-bar .container-fluid { flex-wrap: wrap; }

    .top-ticker {
        order: 3;
        flex: 0 0 100%;
        margin: 8px 0 0;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
    .tt-label { font-size: 10px; padding: 2px 8px; }
    .tt-item a { font-size: 12px; }
    .tt-track { animation-duration: 26s; }
}

/* =========================================================
   NAVBAR  (white, professional, sticky)
   ========================================================= */
.navbar-custom {
    background: #fff;
    box-shadow: 0 4px 20px -12px rgba(9, 30, 66, .35);
    padding: 0;
    position: sticky; top: 0; z-index: 1030;
}
.navbar-custom .container { align-items: stretch; }

.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.navbar-brand .brand-logo { height: 56px; width: auto; }
.navbar-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.navbar-brand .brand-text strong { font-size: 16px; color: var(--primary); font-weight: 800; letter-spacing: .2px; }
.navbar-brand .brand-text small  { font-size: 11.5px; color: #7d8aa0; font-weight: 600; }

.navbar-custom .navbar-nav { align-items: stretch; }
.navbar-custom .nav-item { display: flex; align-items: center; }
.navbar-custom .nav-link {
    color: var(--link) !important; font-weight: 600; font-size: 15px;
    padding: 26px 16px !important; position: relative; transition: color .2s;
}

/* animated underline via ::before  (::after is reserved for the caret) */
.navbar-custom .nav-link::before {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 18px;
    height: 3px; border-radius: 3px; background: var(--primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.navbar-custom .nav-link:hover::before,
.navbar-custom .nav-item:hover > .nav-link::before { transform: scaleX(1); }

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item:hover > .nav-link,
.navbar-custom .nav-item.open > .nav-link { color: var(--primary) !important; }

/* CTA button */
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff !important; font-weight: 700; font-size: 14.5px;
    padding: 11px 22px; border-radius: 8px; margin-left: 14px; align-self: center;
    transition: .2s; box-shadow: 0 8px 18px -8px rgba(0, 93, 143, .6);
}
.nav-cta:hover { background: var(--secondary); transform: translateY(-1px); color: #fff !important; }

.navbar-toggler { border: 1.5px solid var(--line); padding: 6px 9px; margin: 14px 0; }
.navbar-toggler:focus { box-shadow: none; }

/* =========================================================
   DROPDOWNS  (animated) + CARET INDICATORS
   ========================================================= */
.navbar-custom .dropdown-menu {
    border: none; border-radius: 12px; padding: 8px; min-width: 240px; background: #fff;
    box-shadow: 0 18px 44px -18px rgba(9, 30, 66, .35);
}
.navbar-custom .dropdown-item {
    border-radius: 8px; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--link);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: .15s;
}
.navbar-custom .dropdown-item:hover { background: #eef5fb; color: var(--primary); }
.navbar-custom .dropdown-item:focus { outline: none; }
.dropdown-submenu { position: relative; }

/* ---- CARET: top-level ▼ (pure CSS; class-independent; uses ::after) ---- */
.navbar-custom .nav-item.dropdown > .nav-link::after {
    content: ""; display: inline-block; width: 0; height: 0;
    margin-left: 8px; vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    border-bottom: 0;
    transition: transform .25s ease;
}
.navbar-custom .nav-item.dropdown:hover > .nav-link::after,
.navbar-custom .nav-item.dropdown.open  > .nav-link::after { transform: rotate(180deg); }

/* ---- CARET: submenu ▶ (desktop) ---- */
.navbar-custom .dropdown-submenu > .dropdown-item::after {
    content: ""; display: inline-block; width: 0; height: 0;
    margin-left: 8px; vertical-align: middle;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    border-right: 0;
    transition: transform .25s ease;
}

/* ---------- DESKTOP: animated hover flyouts ---------- */
@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown { position: relative; }

    /* top-level menu */
    .navbar-custom .nav-item.dropdown > .dropdown-menu {
        display: block; position: absolute; top: 100%; left: 0; right: auto; margin-top: 0;
        opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    .navbar-custom .nav-item.dropdown > .dropdown-menu::before {
        content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;   /* hover bridge */
    }
    .navbar-custom .nav-item.dropdown:hover > .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
    }

    /* submenu flyout */
    .dropdown-submenu > .dropdown-menu {
        display: block; position: absolute; top: -8px; left: 100%; margin-left: 8px; min-width: 240px;
        opacity: 0; visibility: hidden; transform: translateX(10px); pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .dropdown-submenu > .dropdown-menu::before {
        content: ""; position: absolute; top: 0; left: -10px; width: 10px; height: 100%;   /* hover bridge */
    }
    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto;
    }

    /* last 3 menus open leftwards so they never overflow the screen */
    .navbar-custom .navbar-nav > .nav-item.dropdown:nth-last-child(-n+3) > .dropdown-menu { left: auto; right: 0; }
    .navbar-custom .navbar-nav > .nav-item.dropdown:nth-last-child(-n+3) .dropdown-submenu > .dropdown-menu {
        left: auto; right: 100%; margin-left: 0; margin-right: 8px; transform: translateX(-10px);
    }
    .navbar-custom .navbar-nav > .nav-item.dropdown:nth-last-child(-n+3) .dropdown-submenu:hover > .dropdown-menu {
        transform: translateX(0);
    }

    .features { margin-top: -60px; }   /* pull hero-following section up */
}

/* =========================================================
   MOBILE  (navbar layout + accordion dropdowns)
   ========================================================= */
@media (max-width: 991px) {
    .navbar-custom { position: sticky; top: 0; }
    .navbar-custom .container { align-items: center; }

    .navbar-brand { padding: 8px 0; }
    .navbar-brand .brand-logo { height: 42px; }
    .navbar-brand .brand-text strong { font-size: 15px; }

    .navbar-toggler { margin: 0; }

    .navbar-collapse {
        background: #fff; border-top: 1px solid var(--line);
        margin-top: 8px; padding: 8px 0 14px;
    }
    .navbar-custom .navbar-nav { align-items: stretch; }
    .navbar-custom .nav-item { display: block; }
    .navbar-custom .nav-link { padding: 12px 8px !important; }
    .navbar-custom .nav-link::before { display: none; }   /* hide underline on mobile */

    .nav-cta { display: inline-flex; margin: 12px 8px 0; justify-content: center; }

    /* accordion dropdowns — expand via .open class (added by JS) */
    .navbar-custom .dropdown-menu {
        display: none; position: static; box-shadow: none; border-radius: 0;
        padding: 2px 0 2px 14px; min-width: 100%;
    }
    .navbar-custom .nav-item.dropdown.open > .dropdown-menu { display: block; }
    .dropdown-submenu.open > .dropdown-menu { display: block; }

    /* mobile: submenu caret points DOWN ▼ and rotates on open */
    .navbar-custom .dropdown-submenu > .dropdown-item::after {
        float: right; margin-top: 7px;
        border-top: 5px solid currentColor;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 0;
    }
    .dropdown-submenu.open > .dropdown-item::after { transform: rotate(180deg); }

    .features { margin-top: -60px; }
    .swiper { height: 350px; }
}

@media (max-width: 575px) {
    .navbar-brand .brand-text strong { font-size: 13px; }
    .navbar-brand .brand-text small  { font-size: 10.5px; }
    .navbar-brand .brand-logo { height: 38px; }
    .top-bar { font-size: 12.5px; }
    .top-contact { gap: 12px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-top { background: var(--footer-top); padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 0.8fr; gap: 40px; }
.footer-logo { max-width: 230px; margin-bottom: 30px; }
.footer-column h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 5px; }
.footer-column ul li a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px; transition: .3s; }
.footer-column ul li a:hover { color: #fff; padding-left: 5px; }
.footer-column p { color: #fff; font-size: 16px; margin-bottom: 8px; font-weight: 600; }
.phone-box { margin-top: 20px; color: #fff; font-size: 16px; font-weight: 600; }

.footer-top .social-icons { display: flex; gap: 15px; }
.footer-top .social-icons a {
    width: 55px; height: 55px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
    text-decoration: none; transition: .3s;
}
.footer-top .social-icons a:hover { background: #fff; color: var(--footer-top); }

@media (max-width: 1199px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-column ul li a, .footer-column p, .phone-box { font-size: 16px; }
}
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 15px; text-align: center; }
    .footer-logo { max-width: 180px; margin: auto auto 25px; }
    .footer-top .social-icons { justify-content: center; }
    .footer-column ul li a, .footer-column p, .phone-box { font-size: 14px; }
}

footer { background: var(--footer); color: #fff; text-align: center; padding: 30px 0 22px; }
footer .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.footer-disclaimer {
    font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .75);
    margin: 0 auto 18px; max-width: 1050px;
}
.footer-disclaimer strong { color: #fff; font-weight: 700; }

.footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 10px; margin-bottom: 14px;
}
.footer-links a { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; transition: .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-links .sep { color: rgba(255, 255, 255, .4); }

.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar .collapse a { font-size: 14px; padding: 6px 15px; display: block; color: #cbd5e1; }
.sidebar .collapse a.active { color: #fff; font-weight: 500; }
.sidebar-toggle { cursor: pointer; }

/* =========================================================
   FLOATING CONTACT BUTTONS
   ========================================================= */
.floating-contact { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.float-btn {
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 26px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.float-btn:hover { transform: scale(1.1); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.float-btn.call { background: #004f83; }
.float-btn.whatsapp { background: #25d366; animation: pulse 2s infinite; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70%  { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 767px) {
    .float-btn { width: 48px; height: 48px; font-size: 22px; }
    .floating-contact { right: 15px; bottom: 15px; }
}

/* =========================================================
   GOOGLE TRANSLATE — hide banner / logo / attribution
   ========================================================= */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.skiptranslate,
.goog-logo-link,
.goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }