/* ==========================================================================
   REXMYZE DIGITAL MARKETING INSTITUTE - MAIN STYLESHEET
   ========================================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #5192CC;
    --primary-dark: #3a7ab3;
    --foreground: #1a1a1a;
    --background: #ffffff;
    --muted: #f8f8f8;
    --muted-foreground: #666666;
    --border: #e5e5e5;
    --card-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 35px -12px rgba(81, 146, 204, 0.18);
    --transition-smooth: all 0.4s cubic-bezier(0.21, 0.47, 0.32, 0.98);
    --radius-sm: 8px;
    
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Universal Elementor & FontAwesome SVG Reset */
svg.e-font-icon-svg,
.elementor-icon svg,
.elementor-icon-list-icon svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    flex-shrink: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* WordPress Core Layout Alignment Classes */
.aligncenter {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}

/* ---------- LAYOUT CONTAINERS ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(81, 146, 204, 0.3);
}

.btn-primary i,
.btn-primary svg,
.btn-primary .e-font-icon-svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    font-size: 14px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(81, 146, 204, 0.35);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff !important;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background: #ffffff;
    color: var(--primary) !important;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pre-title {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header h2 span,
.section-header h1 span {
    color: var(--primary);
    font-style: italic;
    font-weight: 900;
}

.section-header .desc {
    color: var(--muted-foreground);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
}

/* ---------- TOP CONTACT BAR ---------- */
.top-bar {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar-left a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
    font-size: 13px;
}

.top-bar-left a i,
.top-bar-left a svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    font-size: 13px !important;
    fill: currentColor !important;
    color: inherit !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.top-bar-left a:hover {
    opacity: 0.85;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar-right a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    font-size: 13px;
}

.top-bar-right a:hover {
    opacity: 0.85;
}

/* =========================================================
   REXMYZE GLOBAL HEADER
========================================================= */
.rex-global-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    padding: 14px 24px;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.rex-global-header.rex-is-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.rex-header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.rex-header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rex-header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.rex-header-logo img {
    height: auto;
    max-height: 44px;
    width: 170px;
    display: block;
    object-fit: contain;
}

.rex-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.rex-logo-text span {
    color: #54A0D6;
    font-style: italic;
}

.rex-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.rex-header-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rex-header-nav-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rex-header-nav-list a {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
    display: inline-block;
}

.rex-header-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #54A0D6;
    transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.rex-header-nav-list a:hover,
.rex-header-nav-list li.current-menu-item > a {
    color: #54A0D6;
}

.rex-header-nav-list a:hover::after,
.rex-header-nav-list li.current-menu-item > a::after {
    width: 100%;
}

.rex-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.rex-header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #54A0D6;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(84, 160, 214, 0.25);
}

.rex-header-cta-btn:hover {
    background-color: #438FC5;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 160, 214, 0.35);
}

.rex-header-cta-btn svg,
.rex-header-cta-btn i {
    transition: transform 0.25s ease;
}

.rex-header-cta-btn:hover svg,
.rex-header-cta-btn:hover i {
    transform: translateX(3px);
}

.rex-mobile-hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #111827;
    padding: 6px;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.rex-mobile-hamburger-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Off-canvas mobile menu - Crystal Clear, Zero-Blur */
.rex-mobile-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(10, 15, 28, 0.65) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    z-index: 999990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none;
}

.rex-mobile-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.rex-mobile-panel {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 340px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25) !important;
    transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    isolation: isolate !important;
    transform: translateZ(0) !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.rex-mobile-panel.open {
    right: 0 !important;
    transform: translateZ(0) !important;
}

.rex-mobile-panel-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #E5E7EB !important;
    margin-bottom: 20px !important;
}

.rex-mobile-close-btn {
    background: transparent !important;
    border: none !important;
    font-size: 32px !important;
    line-height: 1 !important;
    color: #0A0F1C !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    opacity: 1 !important;
}

.rex-mobile-nav-body ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.rex-mobile-nav-body li {
    list-style: none !important;
    margin: 0 !important;
}

.rex-mobile-nav-body a {
    display: block !important;
    padding: 12px 16px !important;
    color: #0A0F1C !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    font-family: 'Poppins', sans-serif !important;
    opacity: 1 !important;
}

.rex-mobile-nav-body a:hover,
.rex-mobile-nav-body li.current-menu-item > a {
    background: #eef5fb !important;
    color: #5192CC !important;
}

.rex-mobile-cta-wrap {
    margin-top: auto !important;
    padding-top: 24px !important;
    border-top: 1px solid #E5E7EB !important;
}

.rex-mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px 20px !important;
    background-color: #5192CC !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(81, 146, 204, 0.35) !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    font-family: 'Poppins', sans-serif !important;
}

@media (max-width: 991px) {
    .rex-desktop-nav {
        display: none !important;
    }
    .rex-mobile-hamburger-btn {
        display: inline-flex !important;
    }
    .rex-header-cta-btn {
        display: none !important;
    }
    /* Disable all GPU backdrop blur on mobile to prevent WebKit blur errors */
    *, *::before, *::after {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    .main-nav {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* ---------- MAIN NAVIGATION ---------- */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    transition: var(--transition-smooth);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
    font-style: italic;
}

.logo img {
    max-height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links li.current-menu-item > a {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links li.current-menu-item > a::after {
    width: 100%;
}

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

.get-demo-btn {
    background: var(--primary);
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.get-demo-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 146, 204, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--foreground);
    padding: 4px 8px;
}

/* ---------- MOBILE NAVIGATION SLIDE-IN ---------- */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: #ffffff;
    z-index: 2000;
    padding: 30px 28px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    transition: left 0.35s cubic-bezier(0.21, 0.47, 0.32, 0.98);
    overflow-y: auto;
}

.mobile-nav-panel.open {
    left: 0;
}

.mobile-nav-panel .close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--foreground);
    cursor: pointer;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}

.mobile-nav-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-panel ul a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    transition: color 0.2s;
}

.mobile-nav-panel ul a:hover {
    color: var(--primary);
}

.mobile-nav-panel .mobile-demo-btn {
    margin-top: 24px;
    background: var(--primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    width: 100%;
    transition: var(--transition-smooth);
}

.mobile-nav-panel .mobile-demo-btn:hover {
    background: var(--primary-dark);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: var(--background);
    padding: 50px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background: linear-gradient(145deg, #f0f6fc 0%, #e6eff8 100%);
    clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1.2;
    min-width: 300px;
}

.hero-badge {
    background: #eef5ff;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    letter-spacing: 0.4px;
    max-width: fit-content;
}

.hero-badge i,
.hero-badge svg,
.hero-badge .elementor-icon,
.hero-badge .e-font-icon-svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    fill: #5192CC !important;
    color: #5192CC !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.hero-badge span {
    color: var(--primary);
    line-height: 1.2;
    display: inline-block;
}

.hero-left h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.2rem;
    color: #111827;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-left h1 span {
    color: var(--primary);
    font-style: italic;
    font-weight: 800;
}

.hero-left p {
    color: var(--muted-foreground);
    margin: 16px 0 24px;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 500;
    line-height: 1.7;
    max-width: 600px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 28px 0 10px;
    max-width: 580px;
}

.feature-tags span {
    background: #f1f5f9;
    padding: 7px 16px;
    border-radius: 40px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.feature-tags span i,
.feature-tags span svg,
.feature-tags span .elementor-icon,
.feature-tags span .e-font-icon-svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    fill: #1e293b !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.feature-tags span:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.feature-tags span:hover i,
.feature-tags span:hover svg,
.feature-tags span:hover .e-font-icon-svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.hero-right {
    flex: 1;
    min-width: 280px;
}

.video-card {
    background: #eef2f8;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-hover);
}

.video-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: grayscale(20%);
    aspect-ratio: 16/10;
    object-fit: cover;
}

.video-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 0 0 rgba(81, 146, 204, 0.7);
    animation: rexmyzePulse 2s infinite;
}

.play-overlay i,
.play-overlay svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    margin-left: 3px;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
}

@keyframes rexmyzePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(81, 146, 204, 0.5);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(81, 146, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(81, 146, 204, 0);
    }
}

/* Video Modal */
.rexmyze-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.rexmyze-video-modal.active {
    display: flex;
}
.rexmyze-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}
.rexmyze-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.rexmyze-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ---------- STATS RIBBON ---------- */
.stats-ribbon {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
}

.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 20px;
    text-align: center;
}

.stat-cell {
    padding: 8px 6px;
    transition: var(--transition-smooth);
    border-radius: 16px;
}

.stat-cell:hover {
    background: var(--muted);
    transform: translateY(-3px);
}

.stat-cell h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
    color: var(--primary);
    transition: color 0.2s;
    line-height: 1.2;
}

.stat-cell:hover h3 {
    color: var(--primary-dark);
}

.stat-cell p {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* ---------- INSIGHT CARDS ---------- */
.insight-grid {
    max-width: 1280px;
    margin: 44px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 24px;
}

.insight-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.insight-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.insight-card h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.insight-card h4 {
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    margin-top: 6px;
    font-weight: 700;
    color: var(--foreground);
}

.insight-card p {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* ---------- COURSES SECTION ---------- */
.courses-section {
    padding: 30px 24px 70px;
}

.courses-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.course-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.08);
}

.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 800;
    z-index: 2;
}

.course-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-info {
    padding: 20px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-info h4 {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 800;
    margin-bottom: 6px;
    transition: color 0.2s;
    color: var(--foreground);
}

.course-card:hover .course-info h4 {
    color: var(--primary);
}

.course-desc {
    font-size: 0.82rem;
    color: var(--muted-foreground);
    margin-bottom: 12px;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: auto 0 16px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted-foreground);
    padding-top: 8px;
}

.course-meta span i {
    margin-right: 4px;
    color: var(--primary);
}

.course-link {
    display: block;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.course-link:hover {
    letter-spacing: 0.5px;
    background: #fafcff;
}

/* ---------- WHY CHOOSE US ---------- */
.why-section {
    background: #ffffff;
    padding: 60px 24px 70px;
}

.why-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
}

.why-item {
    display: flex;
    gap: 18px;
    padding: 12px 14px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    align-items: flex-start;
}

.why-item:hover {
    transform: translateX(8px);
    background: var(--muted);
}

.why-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #eef5ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: #ffffff;
}

.why-icon i,
.why-icon svg,
.why-icon .elementor-icon,
.why-icon .e-font-icon-svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    font-size: 22px !important;
    fill: currentColor !important;
    color: inherit !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.why-item h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--foreground);
}

.why-item p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ---------- AGENCY SERVICES ---------- */
.agency-section {
    padding: 40px 24px 70px;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--muted);
    border: 2px solid var(--border);
    border-radius: 32px;
    padding: 28px 16px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: block;
}

.service-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 14px;
    transition: transform 0.3s;
    display: block;
}

.service-card h4 {
    font-weight: 800;
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--foreground);
}

.service-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover i {
    transform: scale(1.1);
}

.explore-text {
    display: block;
    margin-top: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
}

.service-card:hover .explore-text {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- CTA STRIPE ---------- */
.cta-stripe {
    background: var(--primary);
    text-align: center;
    padding: 60px 24px 64px;
    color: #ffffff;
}

.cta-stripe h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-stripe p {
    margin: 14px auto 24px;
    max-width: 580px;
    font-weight: 500;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    opacity: 0.95;
}

.cta-stripe .btn-wrap {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    padding: 60px 24px 70px;
    background: var(--muted);
}

.testi-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testi-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 28px 32px;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 42px;
    color: var(--primary);
    opacity: 0.12;
    transition: opacity 0.3s;
}

.testi-card:hover .quote-icon {
    opacity: 0.25;
}

.testi-card .stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testi-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--foreground);
    margin-bottom: 16px;
    font-style: italic;
}

.testi-card .author {
    margin-top: auto;
}

.testi-card .author strong {
    font-size: 0.95rem;
    display: block;
    color: var(--foreground);
}

.testi-card .author span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    display: block;
}

/* ---------- GRADUATE LOGOS STRIP ---------- */
.logos-section {
    background: #ffffff;
    text-align: center;
    padding: 44px 24px 48px;
    border-top: 1px solid var(--border);
}

.logos-section .label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px 48px;
    flex-wrap: wrap;
    margin-top: 24px;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.4s;
}

.logos-section:hover .logo-strip {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-strip span {
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--foreground);
}

.logo-strip span i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ---------- REXMYZE FAQ HERO ---------- */
.rexmyze-faq-hero {
    position: relative;
    background: #FFFFFF;
    padding: 80px 24px 40px;
    text-align: center;
    overflow: hidden;
}

.rexmyze-faq-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.rexmyze-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.rexmyze-faq-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rexmyze-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    color: #0066FF;
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.rexmyze-faq-heading {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
}

.rexmyze-faq-highlight {
    color: #0066FF;
    font-style: italic;
    font-weight: 800;
}

.rexmyze-faq-desc-wrap {
    text-align: left;
    display: inline-block;
    max-width: 680px;
}

.rexmyze-faq-hero-desc {
    font-size: 1.125rem;
    color: #475569;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    border-left: 3px solid #0066FF;
    padding-left: 18px;
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
    padding: 20px 24px 70px;
    background: #ffffff;
}
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-item:hover,
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(81, 146, 204, 0.08);
}
.faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #ffffff;
    color: var(--foreground);
}
.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px 18px;
    color: var(--muted-foreground);
    font-size: 0.92rem;
    line-height: 1.6;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}

/* ---------- CONTACT / FOOTER ---------- */
.footer-contact {
    background: #ffffff;
    text-align: center;
    padding: 50px 24px 56px;
    border-top: 1px solid var(--border);
}

.footer-contact h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-contact h2 span {
    color: var(--primary);
    font-style: italic;
}

.footer-phone {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 8px;
}

.footer-phone a {
    color: var(--primary);
}

.footer-phone i {
    margin-right: 10px;
}

.footer-contact .address {
    max-width: 550px;
    margin: 8px auto 16px;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact .btn-primary {
    margin-top: 12px;
}

.footer-contact .copyright {
    margin-top: 18px;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.footer-legal-links {
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #5192CC;
    text-decoration: underline;
}

.footer-legal-links .footer-legal-sep {
    color: #475569;
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

/* ---------- SINGLE COURSE & ARCHIVE STYLES ---------- */
.single-course-header {
    background: var(--muted);
    padding: 60px 24px;
    border-bottom: 1px solid var(--border);
}
.single-course-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 50px auto;
}
.course-syllabus-card,
.course-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}
.course-price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.course-price-tag del {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    margin-left: 10px;
    font-weight: 500;
}

/* ---------- SCROLL REVEAL & ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}
.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-parent > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.stagger-parent.revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger-parent > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-parent > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-parent > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-parent > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-parent > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-parent > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-parent > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-parent > *:nth-child(8) { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .insight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-course-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
    .nav-right .get-demo-btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }

    .hero-left h1 {
        font-size: clamp(1.8rem, 4vw, 2.6rem);
    }
    .hero-bg-shape {
        width: 30%;
    }
}

/* Mobile Phones (<= 768px) */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 8px 16px;
        gap: 6px;
    }
    .top-bar-left {
        justify-content: center;
        gap: 14px;
    }
    .top-bar-left a {
        font-size: 12px;
    }
    .top-bar-right {
        justify-content: center;
        gap: 12px;
    }

    .main-nav {
        padding: 12px 16px;
    }
    .logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 32px 16px 44px;
    }
    .hero-grid {
        flex-direction: column;
        gap: 28px;
    }
    .hero-left {
        text-align: center;
    }
    .hero-left .btn-primary {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
    .feature-tags {
        justify-content: center;
    }
    .hero-bg-shape {
        width: 100%;
        height: 40%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 80%);
        top: auto;
        bottom: 0;
    }
    .hero-right {
        width: 100%;
    }
    .play-overlay {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .stat-cell h3 {
        font-size: 1.1rem;
    }
    .stat-cell p {
        font-size: 0.55rem;
        letter-spacing: 0.8px;
    }

    .insight-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 16px;
        margin: 30px auto;
    }
    .insight-card {
        padding: 20px 12px;
    }
    .insight-card h2 {
        font-size: 1.6rem;
    }

    .courses-section {
        padding: 20px 16px 50px;
    }
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .course-img {
        height: 160px;
    }

    .why-section {
        padding: 40px 16px 50px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-item {
        padding: 8px 10px;
    }
    .why-item:hover {
        transform: translateX(4px);
    }

    .agency-section {
        padding: 30px 16px 50px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .service-card {
        padding: 20px 10px 18px;
        border-radius: 24px;
    }
    .service-card i {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .service-card h4 {
        font-size: 0.75rem;
    }
    .explore-text {
        font-size: 0.55rem;
        margin-top: 10px;
    }

    .cta-stripe {
        padding: 44px 16px 48px;
    }
    .cta-stripe .btn-wrap {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .cta-stripe .btn-outline-light,
    .cta-stripe .btn-white {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .testimonials-section {
        padding: 40px 16px 50px;
    }
    .testi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testi-card {
        padding: 24px 20px 28px;
    }
    .quote-icon {
        font-size: 34px;
        top: 16px;
        right: 18px;
    }

    .logos-section {
        padding: 32px 16px 36px;
    }
    .logo-strip {
        gap: 18px 28px;
    }
    .logo-strip span {
        font-size: 0.85rem;
    }
    .logo-strip span i {
        font-size: 1.1rem;
    }

    .footer-contact {
        padding: 36px 16px 40px;
    }
    .footer-contact .btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
    .section-header .desc {
        font-size: 0.9rem;
        padding: 0 8px;
    }
    .pre-title {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-cell {
        padding: 4px;
    }
    .stat-cell h3 {
        font-size: 1rem;
    }
    .stat-cell p {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }

    .insight-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .insight-card h2 {
        font-size: 1.3rem;
    }
    .insight-card h4 {
        font-size: 0.75rem;
    }
    .insight-card p {
        font-size: 0.65rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .service-card {
        padding: 16px 8px 14px;
        border-radius: 20px;
    }
    .service-card i {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .service-card h4 {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    .service-card .explore-text {
        font-size: 0.5rem;
        margin-top: 6px;
    }

    .hero-left h1 {
        font-size: 1.6rem;
    }
    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
    .feature-tags span {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
    .top-bar-left a,
    .top-bar-right a {
        font-size: 11px;
    }
}

/* =========================================================
   ELEMENTOR THEME BUILDER HEADER MOBILE MENU FIX
   Prevents mobile menu from being clipped or scrolling inside header
========================================================= */
header.elementor-location-header,
.elementor-location-header,
.elementor-location-header .elementor-container,
.elementor-location-header [class*="e-con"] {
    overflow: visible !important;
    z-index: 9999 !important;
}

.elementor-location-header .elementor-nav-menu--dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid #E5E7EB !important;
}

.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
    padding: 12px 20px !important;
    display: block !important;
}

