/**
 * Ravian Pharmaceuticals Limited
 * Dedicated Header & Footer Stylesheet (header-footer.css)
 * Logo Brand Approach: Corporate Royal Blue + Light/Warm Yellow & Gold (Light, Airy & Modern)
 */

:root {
    /* Logo-Based Primary Colors */
    --rp-navy: #16335C;          /* Deep Corporate Blue from Logo */
    --rp-navy-dark: #0F223D;     /* Darker Navy tone */
    --rp-navy-light: #20457A;    /* Medium Navy */
    
    /* Vibrant Royal Blue (Primary Accent) */
    --rp-blue: #1534a6;          /* Vibrant Royal Blue */
    --rp-blue-hover: #1E40AF;    /* Royal Blue Hover */
    --rp-blue-light: #EFF6FF;    /* Light Sky/Ice Blue Tint */
    --rp-blue-border: #DBEAFE;   /* Soft Blue Border */
    --rp-blue-gradient: linear-gradient(135deg, #16335C 0%, #1E40AF 50%, #2563EB 100%);
    
    /* Warm Yellow / Gold (From Logo Circular Rim & Since 1996) */
    --rp-yellow: #F59E0B;        /* Warm Golden Yellow */
    --rp-yellow-hover: #D97706;  /* Deep Golden Amber */
    --rp-yellow-light: #FEF3C7;  /* Soft Warm Yellow Tint */
    --rp-yellow-soft: #FFFDF0;   /* Creamy Light Yellow Ground */
    --rp-yellow-dark: #B45309;   /* Readable Dark Gold for text */
    --rp-yellow-border: rgba(245, 158, 11, 0.28);
    --rp-gold: #D4AF37;          /* Champagne Gold */
    --rp-gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #FBBF24 100%);
    
    /* Accent Red (From Logo Center Dot) */
    --rp-red: #DC2626;
    --rp-red-light: #FEF2F2;
    
    /* Backward compatibility mapping for teal -> blue/gold */
    --rp-teal: #1D4ED8;
    --rp-teal-hover: #1E40AF;
    --rp-teal-light: #EFF6FF;
    --rp-teal-gradient: linear-gradient(135deg, #16335C 0%, #1D4ED8 100%);
    
    /* Surfaces, Typography & Neutrals */
    --rp-surface: #FFFFFF;
    --rp-bg-soft: #F8FAFC;
    --rp-border: #E2E8F0;
    --rp-text-main: #1E293B;
    --rp-text-muted: #64748B;
    
    --rp-font-main: 'Plus Jakarta Sans', sans-serif;
    --rp-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    --rp-radius-sm: 8px;
    --rp-radius-md: 14px;
    --rp-radius-lg: 20px;
    --rp-radius-pill: 50px;
    
    --rp-shadow-soft: 0 4px 20px rgba(22, 51, 92, 0.05);
    --rp-shadow-hover: 0 10px 30px rgba(22, 51, 92, 0.10);
}

/* Global Reset */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--rp-font-main);
    color: var(--rp-text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rp-font-heading);
    color: var(--rp-navy);
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Theme Color Utilities */
.text-navy {
    color: var(--rp-navy) !important;
}

.text-blue {
    color: var(--rp-blue) !important;
}

.text-gold {
    color: var(--rp-yellow-dark) !important;
}

.text-yellow-brand {
    color: var(--rp-yellow) !important;
}

/* Backward compatibility for teal */
.text-teal {
    color: var(--rp-blue) !important;
}

.bg-teal-subtle {
    background-color: var(--rp-blue-light) !important;
    color: var(--rp-blue) !important;
}

/* .bg-blue-subtle {
    background-color: var(--rp-blue-light) !important;
    color: var(--rp-blue) !important;
} */
.bg-yellow-subtle {
    background-color: #f3df9142 !important;
    color: #161515 !important;
}
.bg-blue-subtle {
    background-color: #fffaef !important;
    color: #2b2c30 !important;
}
.bgsb-1 {
    background-color: #f5f5dc42 !important;
}

/* ==========================================================================
   SCREENSHOT-INSPIRED MODERN HEADER & NAVIGATION
   Clean single-row navbar with active underline bar & rich dropdown
   ========================================================================== */
.medinova-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 14px rgba(22, 51, 92, 0.06);
    transition: all 0.3s ease;
}

.medinova-header.is-scrolled {
    box-shadow: 0 6px 25px rgba(22, 51, 92, 0.10);
}

.navbar-modern-container {
    padding: 1px 0;
    background: #FFFFFF;
}

.medinova-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo-main {
    height: 62px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-logo-main:hover {
    transform: scale(1.02);
}

/* Screenshot-Style Nav Links with Active Underline Bar */
.modern-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-screenshot {
    font-family: var(--rp-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: #334155 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 9px 14px !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-link-screenshot:hover {
    color: var(--rp-blue) !important;
}

/* Active Underline Bar (Matching Screenshot) */
.nav-link-screenshot::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 3.5px;
    background: var(--rp-blue);
    border-radius: 4px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.25s ease;
}

.nav-link-screenshot.active {
    color: var(--rp-blue) !important;
}

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

.dropdown-caret-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-caret-icon {
    transform: rotate(180deg);
}

/* Hover-activated Dropdown Menu */
@media (min-width: 1200px) {
    .nav-item.dropdown:hover .modern-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.modern-dropdown-menu {
    border-radius: 18px;
    padding: 10px;
    min-width: 290px;
    border: 1px solid var(--rp-border);
    box-shadow: 0 18px 45px rgba(22, 51, 92, 0.12);
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    display: block;
    background: #FFFFFF;
}

.modern-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: inherit;
    text-decoration: none;
    margin-bottom: 2px;
}

.modern-drop-item:hover {
    background: #fdecd48f;
    transform: translateX(4px);
}
.modern-drop-item.active-drop {
    background: #fdecd48f;
    /* border-left: 3px solid var(--rp-blue); */
}
.drop-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.drop-title {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--rp-navy);
}

.drop-desc {
    display: block;
    font-size: 11.5px;
    color: var(--rp-text-muted);
}

.nav-badge-new {
    background: var(--rp-yellow);
    color: #16335C;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sleek Compact Search Box & Live Products Dropdown */
.nav-search-wrapper {
    position: relative;
}

.nav-search-input-box {
    position: relative;
    width: 220px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-search-input-box:focus-within {
    width: 280px;
}
.nav-search-field {
    width: 100%;
    background: #f7f0dc7a;
    border: 1.5px solid #f3c5ae;
    border-radius: 50px;
    padding: 8px 38px 8px 16px;
    font-size: 13px;
    color: #0e0f0f;
    transition: all 0.25s ease;
}
.nav-search-field:focus {
    background: #FFFFFF;
    border-color: #da5319;
    outline: none;
    /* box-shadow: 0 0 0 3.5px rgba(29, 78, 216, 0.14); */
}

.nav-search-submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b97d18;
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-search-submit-btn:hover {
    background: var(--rp-blue-hover);
}

/* ==========================================================================
   LIVE NAVBAR PRODUCTS SEARCH DROPDOWN MENU
   ========================================================================== */
.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.22), 0 8px 20px -5px rgba(15, 23, 42, 0.08);
    display: none;
    z-index: 1060;
    overflow: hidden;
    text-align: left;
}

.nav-search-dropdown.show {
    display: block;
    animation: searchDropFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchDropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-drop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px 10px;
    background: #FAFBFD;
    border-bottom: 1px solid #EEF2F6;
}

.search-drop-title {
    font-size: 12px;
    font-weight: 700;
    color: #1E3A8A;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}
.search-drop-count-badge {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #e27423;
    /* border: 1px solid #BFDBFE; */
    padding: 2px 10px;
    border-radius: 50px;
}
.nav-search-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F8FAFC;
}

.nav-search-results-list::-webkit-scrollbar {
    width: 5px;
}

.nav-search-results-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.search-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-bottom: 3px;
}

.search-drop-item:hover, .search-drop-item.active-item {
    background: #f3f5e7d1;
    /* border-left-color: #2563EB; */
    transform: translateX(3px);
}

.search-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.search-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-item-info {
    flex-grow: 1;
    min-width: 0;
}

.search-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.search-item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0b0b0a;
    background: #f6c737;
    padding: 1px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

.search-item-salt {
    font-size: 11.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-arrow {
    color: #94A3B8;
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    margin-left: 4px;
}

.search-drop-item:hover .search-item-arrow {
    color: #2563EB;
    transform: translateX(3px);
}

.search-drop-empty {
    padding: 30px 20px;
    text-align: center;
    color: #64748B;
}

.empty-icon {
    font-size: 32px;
    color: #CBD5E1;
    margin-bottom: 8px;
    display: block;
}

.search-drop-footer {
    padding: 10px 16px;
    background: #F8FAFC;
    border-top: 1px solid #EEF2F6;
    text-align: center;
}
.search-view-all-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #feffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    background: #ff5800;
    padding: 8px;
    border-radius: 7px;
}

.search-view-all-link:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

/* Mobile search dropdown */
.mobile-search-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    border-radius: 16px;
}

/* Screenshot-Style Circular Phone Helpline Badge */
.header-phone-widget {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.phone-widget-circle-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1.8px solid var(--rp-blue);
    color: var(--rp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.header-phone-widget:hover .phone-widget-circle-icon {
    background: var(--rp-blue);
    color: #FFFFFF;
    transform: scale(1.06);
}

.phone-widget-meta {
    line-height: 1.25;
}

.phone-widget-label {
    font-size: 11px;
    color: var(--rp-text-muted);
    font-weight: 600;
    display: block;
}

.phone-widget-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--rp-navy);
    display: block;
    letter-spacing: -0.2px;
}

.header-phone-widget:hover .phone-widget-number {
    color: var(--rp-blue);
}

/* Partner Pill Button (Warm Yellow / Gold with Navy Text - Inspired by Logo Rim) */
.btn-partner-pill {
    background: linear-gradient(135deg, #f0b92f 0%, #f0e70f 100%);
    color: #020202;
    /* font-family: var(--rp-font-heading); */
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--rp-radius-pill);
    border: none;
    display: inline-flex;
    align-items: center;
    /* box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30); */
    transition: all 0.25s ease;
}
.btn-medinova-primary{
    background: linear-gradient(
164deg, #2551d6 0%, #2696db 100%);
    color: #fff;
    /* font-family: var(--rp-font-heading); */
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--rp-radius-pill);
    border: none;
    /* display: inline-flex; */
    align-items: center;
    /* box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30); */
    transition: all 0.25s ease;
}

.btn-partner-pill:hover {
    color: #0F223D;
    background: linear-gradient(135deg, #FBBF24 0%, #E5A91A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-mobile-search-toggle,
.btn-mobile-phone {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--rp-blue);
    color: var(--rp-blue);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.modern-toggler {
    background: #F8FAFD;
    border: 1px solid var(--rp-border);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    color: var(--rp-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ==========================================================================
/* ==========================================================================
   EXECUTIVE CORPORATE FOOTER (Luxury Dark Midnight & 3D Glassmorphic Theme)
   ========================================================================== */
.medinova-footer {
    background: linear-gradient(45deg, #1b2f52, #1d3d9f);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    padding-top: 30px;
    position: relative;
    overflow: hidden;
}

/* Ambient Radial Glows */
.footer-glow-left {
    position: absolute;
    top: -120px;
    left: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(30, 58, 138, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.footer-glow-right {
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(201, 26, 35, 0.08) 0%, rgba(225, 29, 72, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* 1. PRE-FOOTER VIP ACTION RIBBON */
.footer-pre-ribbon {
    background: linear-gradient(135deg, rgba(22, 51, 92, 0.95) 0%, rgba(30, 58, 138, 0.9) 50%, rgba(2, 132, 199, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
}

.pre-ribbon-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pre-ribbon-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #F59E0B;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pre-ribbon-tag {
    font-size: 11px;
    font-weight: 600;
    color: #FDE047;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: inline-block;
}

.pre-ribbon-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.pre-ribbon-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

.pre-ribbon-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-pre-catalogue {
    background: #FFFFFF;
    color: #16335C;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.btn-pre-catalogue:hover {
    background: #F8FAFC;
    color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.btn-pre-whatsapp {
    background: #10B981;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.btn-pre-whatsapp:hover {
    background: #059669;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

/* 2. BRAND & HERITAGE COLUMN */
.footer-brand-card {
    background: #FFFFFF;
    padding: 7px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    color: #94A3B8;
    font-size: 13.8px;
    line-height: 1.65;
    margin: 16px 0 18px;
}

.footer-brand-desc strong {
    color: #F1F5F9;
}

.footer-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cert-pill .text-gold { color: #F59E0B; }
.cert-pill .text-cyan { color: #38BDF8; }
.cert-pill .text-emerald { color: #10B981; }
.cert-pill .text-blue { color: #60A5FA; }

/* 3D Social Buttons */
.footer-social-3d {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-btn-3d {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-btn-3d:hover {
    transform: translateY(-3px) scale(1.1);
    color: #FFFFFF;
}

.social-btn-3d.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
}

.social-btn-3d.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45);
}

.social-btn-3d.twitter:hover {
    background: #0F1419;
    border-color: #38BDF8;
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.35);
}

.social-btn-3d.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    border-color: #DD2A7B;
    box-shadow: 0 6px 16px rgba(221, 42, 123, 0.45);
}

.social-btn-3d.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.45);
}

.social-btn-3d.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* 3. NAVIGATION & THERAPY COLUMNS */
.footer-nav-title {
    font-family: var(--rp-font-heading);
    font-size: 17.5px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: -0.2px;
}

.title-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: linear-gradient(90deg, #38BDF8, #F59E0B);
    border-radius: 2px;
}

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

.footer-links-clean li {
    margin-bottom: 3px;
}
.footer-links-clean a {
    color: #ffffff;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-links-clean a i {
    font-size: 10px;
    color: #38BDF8;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-links-clean a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-links-clean a:hover i {
    color: #F59E0B;
    transform: translateX(2px);
}

/* 4. CORPORATE CONTACT HUB */
.footer-glass-contact {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease;
}

.footer-glass-contact:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.contact-pill-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
}

.contact-pill-item:last-of-type {
    margin-bottom: 14px;
}

.pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.pill-meta-text {
    font-size: 13.5px;
    line-height: 1.45;
}

.pill-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.active-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    margin: 0 2px 1px 3px;
    box-shadow: 0 0 6px #10B981;
}

.pill-val {
    color: #CBD5E1;
    font-size: 13px;
}

.footer-contact-link {
    font-size: 14px;
    font-weight: 600;
    color: #fdffff;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: #F59E0B;
}

.pill-timing {
    font-size: 11.5px;
    color: #64748B;
    display: block;
    margin-top: 2px;
}
.btn-footer-chat-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #1ba24d;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    /* box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); */
    transition: all 0.25s ease;
}
.btn-footer-chat-wa:hover {
    background: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* 5. FOOTER BOTTOM ROW */
.footer-bottom-row {
    margin-top: 10px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    color: #94A3B8;
}

.footer-copyright-text strong {
    color: #E2E8F0;
}

.footer-lic-text {
    color: #64748B;
    font-size: 12.5px;
}

.footer-visitor-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    color: #E2E8F0;
}

.footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.footer-legal-links a:hover {
    color: #38BDF8;
}

.divider-dot {
    color: #475569;
    margin: 0 8px;
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
    .pre-ribbon-actions {
        justify-content: flex-start;
        width: 100%;
    }
    .footer-pre-ribbon {
        padding: 20px 22px;
    }
    .pre-ribbon-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .medinova-footer {
        padding-top: 45px;
    }
    .footer-pre-ribbon {
        padding: 16px 18px;
        border-radius: 16px;
    }
    .pre-ribbon-title {
        font-size: 17px;
    }
    .btn-pre-catalogue,
    .btn-pre-whatsapp {
        flex: 1;
        justify-content: center;
        padding: 9px 19px;
        font-size: 12.5px;
        white-space: nowrap;
    }
    .footer-glass-contact {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   BODY BLUR & MODAL FROSTED GLASS EFFECT
   ========================================================================== */
/* Smooth transition for body blur on open & close */
#mainHeader,
main,
footer,
section,
.inner-page-hero,
.contact-hub-section,
.map-embed-wrapper {
    transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), -webkit-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #faf8ee40;
}


/* When any modal is opened, blur background content */
body.modal-open > header,
body.modal-open > main,
body.modal-open > footer,
body.modal-open > section,
body.modal-open > div:not(.modal):not(.modal-backdrop):not(.ravian-floating-actions) {
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
}

/* Frosted Glass Backdrop with Smooth Ease */
.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.modal-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(11, 28, 54, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Smooth Modal Dialog Scale & Fade Transition */
.modal.fade {
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(24px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   SCREENSHOT-MATCHED MODAL FORM STYLING
   ========================================================================== */
.custom-screenshot-modal .modal-dialog {
    max-width: 480px;
    width: 92%;
    margin: 1.75rem auto;
}

.screenshot-modal-card {
    background: #FFFFFF;
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

/* Floating Circular Dark Close Button (X) */
.btn-modal-close-circle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1B4D3E; /* Dark emerald / slate tone from screenshot */
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 20;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.btn-modal-close-circle:hover {
    background: #0E2B22;
    transform: scale(1.08) rotate(90deg);
    color: #FFFFFF;
}
.screenshot-modal-body {
    padding: 24px 21px 17px;
    overflow-y: auto;
    max-height: calc(94vh - 20px);
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

.screenshot-modal-body::-webkit-scrollbar {
    width: 6px;
}

.screenshot-modal-body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 999px;
}

/* Centered Framed Brand Logo */
.modal-brand-frame-wrap {
    display: flex;
    justify-content: center;
}


.modal-brand-logo {
    height: 42px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

/* Title & Subtitle */
.modal-inq-title {
    font-size: 21px;
    font-weight: 600;
    color: #16335C;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.modal-inq-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.45;
    margin-bottom: 20px;
    padding: 0 6px;
}

/* Form Groups & Inputs (Clean, border-rounded, no labels) */
.modal-form-group {
    margin-bottom: 12px;
}

.screenshot-input,
.screenshot-select {
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14.5px;
    color: #1E293B;
    transition: all 0.2s ease;
}

.screenshot-input::placeholder {
    color: #64748B;
    font-weight: 400;
}

.screenshot-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

.screenshot-input:focus,
.screenshot-select:focus,
.screenshot-textarea:focus {
    border-color: #028476;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 118, 0.15);
}

.screenshot-textarea {
    width: 100%;
    min-height: 82px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14.5px;
    color: #1E293B;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
    display: block;
}

.screenshot-textarea::placeholder {
    color: #64748B;
    font-weight: 400;
}

/* Solid Rich Teal Apply Button */
.btn-screenshot-apply {
    background: #ebc91f;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    height: 44px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* box-shadow: 0 4px 14px rgba(2, 132, 118, 0.25); */
    transition: all 0.25s ease;
}
.btn-screenshot-apply:hover {
    background: #006F63;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 118, 0.35);
}

.btn-screenshot-apply:active {
    transform: translateY(0);
}

/* Supporting classic ravian-modal classes if used elsewhere */
.ravian-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 65px rgba(22, 51, 92, 0.25);
    overflow: hidden;
}

.ravian-modal-header {
    background: linear-gradient(45deg, #2347b4, #1f74c9ed);
    color: #FFFFFF;
    padding: 11px 23px;
    /* border-bottom: 3px solid var(--rp-yellow); */
}

.ravian-modal-header .modal-title {
    color: #FFFFFF;
    font-size: 20px;
}

.ravian-form-control {
    background: #F8FAFD;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14.5px;
    transition: all 0.2s;
}

.ravian-form-control:focus {
    background: #FFFFFF;
    border-color: var(--rp-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

@media (max-width: 575px) {
    .screenshot-modal-body {
        padding: 28px 20px 22px;
    }
    .modal-inq-title {
        font-size: 19px;
    }
    .modal-brand-logo {
        height: 36px;
    }
}

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.ravian-floating-actions {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.float-btn:hover {
    transform: scale(1.08);
    color: #FFFFFF;
}

.float-whatsapp {
    background: #25D366;
}
.float-phone {
    background: #fff;
    /* border: 2px solid var(--rp-yellow); */
    color: #1fa41f;
}
.float-top {
    background: #475569;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.float-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Navigation */
@media (max-width: 1199px) {
    .navbar-collapse {
        background: #FFFFFF;
        padding: 18px;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(22, 51, 92, 0.12);
        margin-top: 12px;
        border: 1px solid var(--rp-border);
    }
    
    .modern-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 2px;
    }
    
    .nav-link-screenshot {
        width: 100%;
        padding: 10px 14px !important;
        border-radius: 8px;
    }
    
    .nav-link-screenshot::after {
        display: none;
    }
    
    .nav-link-screenshot.active {
        background: var(--rp-blue-light);
        /* border-left: 3px solid var(--rp-blue); */
    }
    
    .modern-dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid var(--rp-border) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 8px;
        background: #F8FAFD;
    }
    
    .modern-dropdown-menu.show {
        display: block !important;
    }
    
    .header-right-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start !important;
        padding-top: 15px;
        border-top: 1px solid var(--rp-border);
    }
    
    .nav-search-input-box {
        width: 100%;
    }
    
    .nav-search-field:focus {
        width: 100%;
    }
    
    .btn-partner-pill {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .brand-logo-main {
        height: 38px;
    }
}

/* ==============================
   RAVIAN PHARMACEUTICALS TOP BAR
============================== */
.rp-topbar {
    background: #192457;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    position: relative;
    z-index: 1001;
}
.rp-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 32px;
}

.rp-topbar-contact,
.rp-topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rp-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rp-topbar-item i {
    color: #fff;
    font-size: 13px;
}

.rp-topbar-item:hover {
    color: #fff;
}

.rp-topbar-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rp-topbar-enquiry i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.rp-topbar-enquiry:hover {
    color: #fff;
}

.rp-topbar-enquiry:hover i {
    transform: translateX(4px);
}

.rp-topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.rp-topbar-social a {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    text-decoration: none;
    transition: all 0.3s ease;
}

.rp-topbar-social a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 991px) {
    .rp-topbar-inner {
        gap: 12px;
    }

    .rp-topbar-contact,
    .rp-topbar-right {
        gap: 14px;
    }

    .rp-topbar {
        font-size: 11px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .rp-topbar-inner {
        min-height: auto;
        padding-top: 9px;
        padding-bottom: 9px;
        flex-direction: column;
        gap: 10px;
    }

    .rp-topbar-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .rp-topbar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .rp-topbar-social {
        padding-left: 12px;
    }
}

/* SMALL MOBILE */
@media (max-width: 400px) {
    .rp-topbar-contact {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .rp-topbar-inner {
        align-items: center;
    }

    .rp-topbar-right {
        gap: 12px;
    }
}
.inner-breadcrumb-nav{
    padding: 12px 0px;
}