/* ===================================================================
   RASP INTERNATIONAL - Component Styles
   =================================================================== */

/* ===== NOTIFICATION BAR ===== */
.notif-bar {
    background: var(--rasp-deep);
    color: white;
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
    position: relative;
    z-index: 110;
}
.notif-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.notif-bar a {
    color: white;
    font-weight: 500;
}
.notif-bar a:hover { color: var(--rasp-pale); }
.notif-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

/* ===== DGFT TICKER ===== */
.dgft-ticker {
    background: var(--rasp-surface);
    border-bottom: 1px solid rgba(65,89,161,.06);
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
    z-index: 100;
}
.ticker-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--rasp-brand);
    background: rgba(65,89,161,.08);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    overflow: hidden;
    flex: 1;
}
.ticker-scroll {
    display: flex;
    gap: 48px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    font-size: 12px;
    color: var(--rasp-text-mid);
    flex-shrink: 0;
}
.ticker-item a {
    color: var(--rasp-text-mid);
}
.ticker-item a:hover {
    color: var(--rasp-brand);
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(65,89,161,.06);
    transition: all .3s;
}
[data-theme="dark"] .nav {
    background: rgba(15,17,24,.9);
    border-bottom-color: rgba(255,255,255,.05);
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-wordmark {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    color: var(--rasp-deep);
    letter-spacing: 1px;
}
[data-theme="dark"] .nav-wordmark { color: white; }

.nav-center { display: flex; align-items: center; }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
    color: var(--rasp-text-mid);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
    padding: 8px 0;
    display: block;
}
.nav-links a:hover { color: var(--rasp-brand); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
    color: var(--rasp-brand);
}

/* Dropdown */
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--rasp-white);
    border: 1px solid rgba(65,89,161,.08);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    list-style: none;
}
.nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-links .sub-menu a {
    padding: 8px 20px;
    font-size: 13px;
}
.nav-links .sub-menu a:hover {
    background: var(--rasp-surface);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Dark mode toggle */
.dark-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rasp-text-mid);
    transition: all .3s;
    background: transparent;
}
.dark-toggle:hover {
    background: var(--rasp-surface);
    color: var(--rasp-brand);
}
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--rasp-text);
    border-radius: 2px;
    transition: all .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav CTA */
.nav-cta {
    font-size: 12px !important;
    padding: 10px 24px !important;
    letter-spacing: .5px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--rasp-white);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    padding: 100px 24px 40px;
    overflow-y: auto;
}
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-links li {
    border-bottom: 1px solid var(--rasp-surface-2);
}
.mobile-nav-links a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--rasp-text);
}
.mobile-contact {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-contact a {
    font-size: 14px;
    color: var(--rasp-brand);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--rasp-black);
    padding: 80px 0 40px;
    color: rgba(255,255,255,.4);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 280px;
}
.footer-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
}
.f-badge {
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    font-size: 10px;
    color: rgba(255,255,255,.5);
    font-weight: 600;
    letter-spacing: .5px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a,
.footer-links li {
    display: block;
    color: rgba(255,255,255,.35);
    font-size: 13px;
    padding: 4px 0;
    transition: color .2s;
}
.footer-links a:hover { color: var(--rasp-light); }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    line-height: 1.5;
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: rgba(255,255,255,.3);
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    transition: all .3s;
}
.footer-social a:hover {
    background: var(--rasp-brand);
    color: white;
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--rasp-light); }
.footer-tagline {
    font-style: italic;
    letter-spacing: .5px;
    color: rgba(255,255,255,.25);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(37,211,102,.35);
    transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav { padding: 0 24px; }
    .nav-center { display: none; }
    .nav-cta { display: none !important; }
    .mobile-toggle { display: flex; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .dgft-ticker { padding: 8px 16px; }
    .ticker-label { font-size: 9px; padding: 3px 8px; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}


/* ================================================================
   FOOTER LINKS ROW LAYOUT
   ================================================================ */
.footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 48px;
}

@media (max-width: 1024px) {
    .footer-links-row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 640px) {
    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-badges {
        flex-wrap: wrap;
    }
}




/* ===== BHARAT BADGE ===== */
.bharat-badge {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.bharat-badge-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.bharat-stripe-bar {
    width: 40px;
    height: 3px;
    border-radius: 2px;
}
.bharat-stripe-bar.saffron {
    background: #FF9933;
}
.bharat-stripe-bar.green {
    background: #138808;
}
.bharat-badge-core {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}
.ashoka-chakra {
    flex-shrink: 0;
    opacity: .85;
}
.bharat-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .bharat-stripe-bar { width: 24px; }
    .bharat-label { font-size: 10px; letter-spacing: 1px; }
    .ashoka-chakra { width: 24px; height: 24px; }
}