/**
 * ICPA Auto Responsive Header & Ticker Plugin
 * 100% Exact to https://icpa.co.in/ & Device Auto-Fit Engine
 */

/* ==========================================================================
   1. RESET & CSS VARIABLES
   ========================================================================== */
:root {
    --icpa-primary: #155ea2;
    --icpa-primary-dark: #0f4880;
    --icpa-primary-light: #1e70be;
    --icpa-accent-yellow: #ffcc00;
    --icpa-accent-gold: #fcb900;
    --icpa-highlight-orange: #e88735;
    --icpa-highlight-orange-hover: #d37322;
    --icpa-highlight-orange-light: #f59e0b;
    --icpa-text-dark: #0f172a;
    --icpa-text-muted: #64748b;
    --icpa-white: #ffffff;
    --icpa-ticker-gradient: linear-gradient(90deg, #8b2f00 0%, #a84300 50%, #c05600 100%);
    --icpa-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --icpa-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --icpa-shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --icpa-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Zero Horizontal Shake - Lock Viewport Width */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
}

/* Theme Breakout - ensure full-width presentation on any theme */
body.elementor-page .site-content,
body.elementor-page #content,
body.elementor-page .wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Automatically hide old duplicate theme / Elementor notice bar */
body .notice-bar:not(.icpa-ticker-wrap),
body .elementor-widget-container > .notice-bar,
body div.notice-bar:not(.icpa-ticker-wrap),
body .elementor-element-7474ba7,
body [data-id="7474ba7"] {
    display: none !important;
}

#icpa-header-root {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 99990 !important;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#icpa-header-root *,
#icpa-header-root *::before,
#icpa-header-root *::after {
    box-sizing: border-box !important;
}

/* Unified Container Grid - 100% Exact Left/Right Alignment across all rows */
.icpa-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. DESKTOP TOP HEADER SECTION (Screens > 1024px)
   ========================================================================== */
.icpa-desktop-top-wrapper {
    background-color: var(--icpa-white);
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 0 14px 0;
    transition: var(--icpa-transition);
}

.icpa-desktop-top-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 2a. Left Column: Logo & Legal Subtitle */
.icpa-logo-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
}

.icpa-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: var(--icpa-transition);
}

.icpa-logo-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.icpa-main-logo-img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    display: block;
}

.icpa-sub-act-note {
    font-size: 13px;
    color: var(--icpa-primary);
    font-style: italic;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 5px;
    padding-left: 2px;
    letter-spacing: 0.1px;
}

/* 2b. Right Column: Social Row & Typewriter Slogan */
.icpa-top-right-block {
    display: flex;
    flex-direction: column;
    align-items: center; /* Perfectly centers both social row and yellow pill together */
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    margin-left: auto;
    width: 420px; /* Rock solid fixed width prevents any icon movement */
    max-width: 100%;
}

/* Social media round buttons */
.icpa-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}

.icpa-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: var(--icpa-transition);
    flex-shrink: 0;
}

.icpa-social-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.icpa-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.icpa-social-fb { background-color: #3b5998; }
.icpa-social-x  { background-color: #0f172a; }
.icpa-social-yt { background-color: #ff0000; }
.icpa-social-in { background-color: #0077b5; }
.icpa-social-ig { background-color: #e1306c; }

/* Yellow/Gold Typewriter Pill Slogan */
.icpa-slogan-pill {
    background: linear-gradient(180deg, #ffd726 0%, #ffc000 100%);
    background-color: var(--icpa-accent-yellow);
    color: #9e0000;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 420px; /* Full slogan fits completely without cutting off 'Profession' */
    max-width: 100%;
    min-height: 33px;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 3px 10px rgba(255, 192, 0, 0.28);
    letter-spacing: 0.1px;
    text-align: center;
    flex-shrink: 0;
}

.icpa-slogan-typing {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.icpa-cursor {
    font-weight: 300;
    color: #9e0000;
    animation: icpaBlinkCursor 0.9s infinite step-end;
    margin-left: 2px;
}

@keyframes icpaBlinkCursor {
    from, to { color: transparent; }
    50% { color: #9e0000; }
}

/* ==========================================================================
   3. DESKTOP NAVIGATION BAR (Screens > 1024px)
   ========================================================================== */
nav.icpa-navbar {
    background-color: var(--icpa-primary);
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.icpa-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    max-width: 1240px; /* Aligns 100% perfectly with Top Header & Ticker grid */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Sticky left branding (shown only on scroll) */
.icpa-sticky-left {
    display: none;
    align-items: center;
    gap: 12px;
    margin-right: 14px;
    flex-shrink: 0;
}

.icpa-sticky-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    height: 32px;
    box-sizing: border-box;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: var(--icpa-transition);
}

.icpa-sticky-logo-badge:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.icpa-sticky-logo {
    max-height: 26px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
}

.icpa-sticky-drawer-btn {
    display: none !important;
}
}

.icpa-sticky-drawer-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Nav Menu List */
.icpa-nav-menu-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

ul.icpa-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

ul.icpa-nav-list > li {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Vertical Separator Divider "|" between standard menu items */
ul.icpa-nav-list > li::after {
    content: "|";
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
    font-weight: 400;
    margin: 0 2px;
    pointer-events: none;
}

ul.icpa-nav-list > li:last-child::after,
ul.icpa-nav-list > li.icpa-tab-highlight::after,
ul.icpa-nav-list > li.icpa-tab-highlight + li::before {
    display: none !important;
}

/* Base Top-Level Menu Link */
ul.icpa-nav-list > li > a {
    color: var(--icpa-white) !important;
    text-decoration: none !important;
    padding: 14px 7px !important;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: var(--icpa-transition);
    position: relative;
    cursor: pointer;
    letter-spacing: 0px;
}

ul.icpa-nav-list > li > a:hover {
    color: var(--icpa-accent-yellow) !important;
}

/* Underline slide effect on hover (ONLY for single links without submenus or highlight tabs) */
ul.icpa-nav-list > li:not(.menu-item-has-children):not(.icpa-tab-highlight) > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: var(--icpa-accent-yellow);
    transition: var(--icpa-transition);
    transform: translateX(-50%);
}

ul.icpa-nav-list > li:not(.menu-item-has-children):not(.icpa-tab-highlight):hover > a::after {
    width: 60%;
}

/* Chevron arrow for submenu - clean 6px border arrow without any background */
ul.icpa-nav-list > li.menu-item-has-children > a::after {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    width: 6px !important;
    height: 6px !important;
    background: transparent !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    border-top: none !important;
    border-left: none !important;
    transform: rotate(45deg) !important;
    margin-left: 6px !important;
    margin-bottom: 2px !important;
    transition: transform 0.2s ease !important;
    vertical-align: middle !important;
}

ul.icpa-nav-list > li.menu-item-has-children:hover > a::after {
    width: 6px !important;
    height: 6px !important;
    background: transparent !important;
    transform: rotate(-135deg) !important;
}

/* ==========================================================================
   3a. EXACT HIGHLIGHTED TABS ("Award" & "Membership") - MATCHING SCREENSHOT
   ========================================================================== */
ul.icpa-nav-list > li.icpa-tab-highlight {
    background: linear-gradient(180deg, #f59e0b 0%, #e88735 100%) !important;
    background-color: var(--icpa-highlight-orange) !important;
    border-radius: 6px 6px 0 0 !important;
    margin: 0 4px !important;
    box-shadow: 0 2px 8px rgba(232, 135, 53, 0.35) !important;
    transition: var(--icpa-transition) !important;
}

ul.icpa-nav-list > li.icpa-tab-highlight > a {
    color: #ffffff !important;
    padding: 15px 16px !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

ul.icpa-nav-list > li.icpa-tab-highlight:hover {
    background: linear-gradient(180deg, #f97316 0%, #d97724 100%) !important;
    box-shadow: 0 4px 12px rgba(232, 135, 53, 0.5) !important;
    transform: translateY(-1px);
}

ul.icpa-nav-list > li.icpa-tab-highlight:hover > a {
    color: #ffffff !important;
}

/* 3b. Dropdown Submenu */
ul.icpa-nav-list li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--icpa-primary);
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    border-radius: 0 0 6px 6px;
    border-top: 2px solid var(--icpa-accent-yellow);
    list-style: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    z-index: 999999;
    animation: icpaDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes icpaDropdownFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

ul.icpa-nav-list li:hover > ul.sub-menu {
    display: flex;
    flex-direction: column;
}

ul.icpa-nav-list li ul.sub-menu li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

ul.icpa-nav-list li ul.sub-menu li::after {
    display: none !important;
}

ul.icpa-nav-list li ul.sub-menu li a {
    display: block;
    width: 100%;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--icpa-transition);
    text-align: left;
}

ul.icpa-nav-list li ul.sub-menu li:last-child a {
    border-bottom: none;
}

ul.icpa-nav-list li ul.sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--icpa-accent-yellow) !important;
    padding-left: 22px !important;
}

/* 3c. Search Trigger */
.icpa-search-trigger {
    color: #ffffff;
    cursor: pointer;
    padding: 14px 10px 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--icpa-transition);
    flex-shrink: 0;
    margin-left: auto;
}

.icpa-search-trigger:hover {
    color: var(--icpa-accent-yellow);
    transform: scale(1.1);
}

.icpa-search-trigger svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    display: block;
}

/* ==========================================================================
   4. STICKY HEADER STATE (Active on scroll)
   ========================================================================== */
#icpa-header-root.is-sticky-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16) !important;
    animation: icpaStickySlideDown 0.25s ease-out !important;
}

@keyframes icpaStickySlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

#icpa-header-root.is-sticky-active .icpa-desktop-top-wrapper {
    display: none !important;
}

/* Hide ticker in sticky mode so image/hero banner below is completely visible */
#icpa-header-root.is-sticky-active .icpa-ticker-wrap {
    display: none !important;
}

#icpa-header-root.is-sticky-active .icpa-sticky-left {
    display: flex !important;
}

#icpa-header-root.is-sticky-active .icpa-navbar-container {
    padding: 0 16px !important;
}

#icpa-header-root.is-sticky-active ul.icpa-nav-list > li > a {
    font-size: 13.5px !important;
    padding: 12px 6px !important;
    letter-spacing: 0px !important;
}

#icpa-header-root.is-sticky-active ul.icpa-nav-list > li.icpa-tab-highlight > a {
    padding: 12px 10px !important;
}

/* ==========================================================================
   5. NOTICE / NEWS TICKER BAR (Matching Screenshot)
   ========================================================================== */
.icpa-ticker-wrap {
    background: var(--icpa-ticker-gradient);
    color: #ffffff;
    padding: 9px 0;
    font-size: 14.5px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.icpa-ticker-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Left Social Badge (Facebook icon in screenshot) */
.icpa-ticker-social-badge {
    background-color: #3b5998;
    color: #ffffff !important;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--icpa-transition);
}

.icpa-ticker-social-badge:hover {
    transform: scale(1.08);
}

.icpa-ticker-social-badge svg {
    width: 15px;
    height: 15px;
    fill: #ffffff;
}

/* Continuous Marquee Ticker Track */
.icpa-ticker-track-container {
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.icpa-ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: icpaScrollLeft 32s linear infinite;
    cursor: pointer;
}

.icpa-ticker-wrap:hover .icpa-ticker-track {
    animation-play-state: paused;
}

@keyframes icpaScrollLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.icpa-ticker-item-link {
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.15px;
}

.icpa-ticker-item-link:hover {
    text-decoration: underline !important;
    color: #fff9c4 !important;
}

.icpa-blink-badge {
    animation: icpaBlinkAnimation 1s steps(2, start) infinite;
    color: #ffeb3b;
    font-weight: 800;
    margin-right: 6px;
    letter-spacing: 0.5px;
}

@keyframes icpaBlinkAnimation {
    to { visibility: hidden; }
}

/* ==========================================================================
   6. MOBILE & TABLET HEADER SECTION (Screens <= 1024px)
   ========================================================================== */
.icpa-mobile-header-bar {
    display: none;
    width: 100%;
    background-color: var(--icpa-white);
    padding: 10px 16px 8px 16px;
    border-bottom: 1.5px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.icpa-mobile-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Hamburger button */
.icpa-mobile-hamburger {
    background: transparent;
    border: none;
    color: var(--icpa-primary);
    font-size: 26px;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--icpa-transition);
}

.icpa-mobile-hamburger:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* Center mobile logo */
.icpa-mobile-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 0 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.icpa-mobile-logo-wrap img {
    max-height: 48px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Right mobile action buttons */
.icpa-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icpa-mobile-btn-icon {
    color: var(--icpa-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--icpa-transition);
    text-decoration: none !important;
}

.icpa-mobile-btn-icon:hover {
    background: #f1f5f9;
    transform: scale(1.08);
}

.icpa-mobile-btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Mobile subtitle note below the logo row */
.icpa-mobile-legal-subtitle {
    width: 100%;
    text-align: center;
    font-size: 9.5px;
    color: #475569;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 4px;
    letter-spacing: 0.1px;
}

/* ==========================================================================
   7. MOBILE SLIDE-IN DRAWER & OVERLAY
   ========================================================================== */
.icpa-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    z-index: 999998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.icpa-drawer-overlay.active {
    display: block;
}

.icpa-mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #111827 0%, #030712 100%);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    z-index: 999999;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 18px 80px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 1.5px solid rgba(255, 255, 255, 0.08);
}

.icpa-mobile-drawer.active {
    left: 0;
}

/* Drawer Header */
.icpa-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.icpa-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
}

.icpa-drawer-brand img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

.icpa-drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--icpa-transition);
}

.icpa-drawer-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

/* Drawer Slogan Badge */
.icpa-drawer-slogan {
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: #ffcc00;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
}

/* Drawer Menu List */
ul.icpa-drawer-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

ul.icpa-drawer-nav-list li {
    position: relative;
    margin: 0;
    padding: 0;
}

ul.icpa-drawer-nav-list li a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    padding: 12px 42px 12px 14px !important;
    font-size: 14.5px;
    font-weight: 700;
    display: block;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: var(--icpa-transition);
}

ul.icpa-drawer-nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.09);
    color: var(--icpa-accent-yellow) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Highlighted tabs inside drawer */
ul.icpa-drawer-nav-list li.icpa-drawer-highlight a {
    background: linear-gradient(135deg, #e88735 0%, #b85d14 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(232, 135, 53, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Accordion Submenu Toggle (+) */
.icpa-drawer-toggle-sub {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, color 0.25s ease;
}

ul.icpa-drawer-nav-list li.sub-open > .icpa-drawer-toggle-sub {
    transform: rotate(45deg);
    color: var(--icpa-accent-yellow);
    background: rgba(255, 255, 255, 0.12);
}

ul.icpa-drawer-nav-list li ul.sub-menu {
    display: none;
    list-style: none !important;
    margin: 4px 0 0 10px !important;
    padding: 6px 0 6px 14px !important;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    gap: 4px;
}

ul.icpa-drawer-nav-list li.sub-open > ul.sub-menu {
    display: flex;
}

ul.icpa-drawer-nav-list li ul.sub-menu li a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    background: transparent;
}

ul.icpa-drawer-nav-list li ul.sub-menu li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
}

/* Drawer Quick Action Buttons */
.icpa-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.icpa-drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--icpa-transition);
}

.icpa-btn-member {
    background: var(--icpa-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(21, 94, 162, 0.3);
}

.icpa-btn-member:hover {
    background: var(--icpa-primary-light);
}

.icpa-btn-award {
    background: var(--icpa-highlight-orange);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(232, 135, 53, 0.3);
}

.icpa-btn-award:hover {
    background: var(--icpa-highlight-orange-hover);
}

/* Drawer Social Row */
.icpa-drawer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* ==========================================================================
   8. SEARCH FULLSCREEN MODAL
   ========================================================================== */
.icpa-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.icpa-search-overlay.active {
    display: flex;
}

.icpa-search-close-btn {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 38px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: var(--icpa-transition);
    background: none;
    border: none;
}

.icpa-search-close-btn:hover {
    transform: scale(1.15);
    color: var(--icpa-accent-yellow);
}

.icpa-search-form {
    width: 100%;
    max-width: 620px;
    text-align: center;
}

.icpa-search-input {
    width: 100%;
    padding: 18px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    font-size: 20px;
    color: #ffffff;
    outline: none;
    text-align: center;
    transition: var(--icpa-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.icpa-search-input:focus {
    border-color: var(--icpa-accent-yellow);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(255, 204, 0, 0.3);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (Auto Fit For Every Device)
   ========================================================================== */

/* Laptops & Intermediate Screens (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .icpa-container {
        padding: 0 12px;
    }
    .icpa-main-logo-img {
        max-height: 72px;
    }
    .icpa-sub-act-note {
        font-size: 11.5px;
    }
    .icpa-top-right-block {
        width: 350px;
    }
    .icpa-slogan-pill {
        width: 340px;
        font-size: 12px;
        padding: 5px 12px;
    }
    ul.icpa-nav-list > li > a {
        font-size: 13px !important;
        padding: 13px 5px !important;
        letter-spacing: 0px !important;
    }
    ul.icpa-nav-list > li.icpa-tab-highlight > a {
        padding: 13px 9px !important;
    }
}

/* Tablets (Screens <= 1024px) */
@media (max-width: 1024px) {
    .icpa-desktop-top-wrapper,
    nav.icpa-navbar {
        display: none !important;
    }
    .icpa-mobile-header-bar {
        display: block !important;
    }
    .icpa-ticker-wrap {
        font-size: 13px;
        padding: 7px 0;
    }
    .icpa-ticker-social-badge {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
}

/* Small Mobiles (Screens <= 480px) */
@media (max-width: 480px) {
    .icpa-mobile-header-bar {
        padding: 8px 12px 6px 12px;
    }
    .icpa-mobile-logo-wrap img {
        max-height: 42px;
    }
    .icpa-mobile-legal-subtitle {
        font-size: 8.5px;
    }
    .icpa-ticker-wrap {
        font-size: 12px;
    }
}
