@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary: #d32f2f;
    /* Premium Red */
    --dark: #ffffff;
    --darker-gray: #f9f9f9;
    --light: #222222;
    --gray: #e8e8e8;
    --text-color: #555555;
    --transition: all 0.4s ease;
}

/* Custom Scrollbar Styles */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 47, 47, 0.4) #0d0d0d;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: rgba(211, 47, 47, 0.4);
    border: 2px solid #0d0d0d;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #222;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo a {
    color: var(--light);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    padding: 10px 24px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--primary);
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.5)), url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 0 5%;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
    color: #eeeeee;
}

.hero-content .btn-primary {
    opacity: 0;
    animation: fadeUp 1s forwards 1.1s;
}

/* Page Header for Inner Pages */
.page-header {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: var(--darker-gray);
    border-bottom: 1px solid #333;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Formatting */
.section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Assistance Banner */
.assistance {
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    color: var(--light);
    text-align: center;
    padding: 5rem 10%;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.assistance h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.assistance p {
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--darker-gray);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #ddd;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.15);
    border-color: var(--primary);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* New Site Footer */
.site-footer {
    background-color: #e6e6e6;
    /* Light gray from image */
    padding: 3rem 5% 1rem;
    color: #111;
    font-family: 'Montserrat', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.join-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: transparent;
    color: #111;
    font-size: 1.1rem;
    border: 1px solid #111;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px);
}

.footer-divider,
.footer-divider-bottom {
    height: 1px;
    background-color: #ccc;
    margin-bottom: 3rem;
}

.footer-divider-bottom {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
    text-transform: none;
    letter-spacing: normal;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #444;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #555;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    gap: 1rem;
    /* start hidden, fades in via JS */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.footer-bottom.footer-bottom-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-legal a {
    color: #555;
    text-decoration: none;
    margin: 0 0.2rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Social icons in footer-bottom (right-aligned) */
.footer-social {
    gap: 0.7rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

/* Footer column entrance animation */
.footer-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease calc(var(--delay, 0s)), transform 0.6s ease calc(var(--delay, 0s));
}

.footer-animate.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer column heading hover accent */
.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 100%;
}

@media(max-width: 900px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .footer-top {
        justify-content: center;
    }
}

@media(max-width: 500px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}


/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Hero Section */
.video-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    margin-top: 0;
    background-color: #0c0c0c;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.hero-overlay>* {
    pointer-events: auto;
}




.top-logo .site-logo {
    max-width: 150px;
    height: auto;
    display: block;
    /* Convert to vivid Royal Enfield red */
    filter: brightness(0) saturate(100%) invert(18%) sepia(93%) saturate(2496%) hue-rotate(348deg) brightness(95%) contrast(102%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-logo .site-logo:hover {
    transform: scale(1.05);
}

.bottom-nav-container {
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    /* Page-load slide-up fade animation */
    opacity: 0;
    transform: translateY(40px);
    animation: navBarEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes navBarEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) perspective(600px) rotateX(8deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) perspective(600px) rotateX(0deg);
    }
}

.bottom-nav-bar {
    display: flex;
    /* Frosted glass fade matching the reference */
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.90) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 0;
    padding: 0;
    box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.10);
    width: 100%;
    border-top: 1px solid rgba(200, 200, 200, 0.6);
    perspective: 1000px;
}

/* Staggered entrance per item */
.bottom-nav-bar .nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 1.6rem 1rem;
    color: #2a2a2a;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    position: relative;
    /* 3D transform base */
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: color 0.3s ease, background 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    opacity: 0;
    animation: itemEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bottom-nav-bar .nav-item:nth-child(1) {
    animation-delay: 0.7s;
}

.bottom-nav-bar .nav-item:nth-child(3) {
    animation-delay: 0.85s;
}

.bottom-nav-bar .nav-item:nth-child(5) {
    animation-delay: 1.0s;
}

.bottom-nav-bar .nav-item:nth-child(7) {
    animation-delay: 1.15s;
}

@keyframes itemEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) translateZ(-30px) rotateX(15deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0deg);
    }
}

/* Red underline sweep on hover */
.bottom-nav-bar .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px 2px 0 0;
}

.bottom-nav-bar .nav-item:hover::after {
    width: 70%;
}

/* 3D hover — lifts the card toward viewer */
.bottom-nav-bar .nav-item:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 1);
    transform: translateZ(12px) translateY(-3px);
    box-shadow: 0 10px 28px rgba(211, 47, 47, 0.15);
    z-index: 1;
}

/* ---- Icon: standalone large red, no circle ---- */
.nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.4rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(211, 47, 47, 0.25));
}

.bottom-nav-bar .nav-item:hover .nav-icon-wrap {
    transform: scale(1.25) rotateY(15deg);
    filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.45));
}

/* RE badge icon — outlined circle with RE text, no solid fill */
.nav-re-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2.5px solid var(--primary);
    background: transparent;
    font-size: 0;
    /* let re-badge-text control size */
}

.re-badge-text {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-bar .nav-item:hover .re-badge-text {
    transform: scale(1.2);
}

.bottom-nav-bar .nav-item:hover .nav-re-badge {
    transform: scale(1.25) rotateY(15deg);
    filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.45));
}

/* Vertical divider */
.bottom-nav-bar .divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.12), transparent);
    margin: 1rem 0;
    flex-shrink: 0;
}

/* Nav label animation */
.nav-label {
    transition: letter-spacing 0.3s ease;
}

.bottom-nav-bar .nav-item:hover .nav-label {
    letter-spacing: 0.18em;
}

/* --- Top logo load animation --- */
.top-logo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
    padding: 2.5rem 5% !important;
    box-sizing: border-box;
    opacity: 0;
    animation: logoEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
    pointer-events: none;
}

.top-logo a {
    pointer-events: auto;
    display: inline-block;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media(max-width: 768px) {
    .top-logo {
        padding: 1.5rem 5% !important;
    }

    .top-logo .site-logo {
        max-width: 110px;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .bottom-nav-bar {
        flex-wrap: wrap;
    }

    .bottom-nav-bar .nav-item {
        flex: 1 1 45%;
        padding: 1.2rem 0.8rem;
        font-size: 0.7rem;
    }

    .nav-icon-wrap {
        font-size: 1.8rem;
    }

    .bottom-nav-bar .divider {
        display: none;
    }
}

/* ============================================
   RIGHT SIDE NAV — Icon Strip → Full Expand
   ============================================ */

.side-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    /* Reset global nav styles */
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: block;
    padding: 0;
    width: auto;
    box-shadow: none;
    border-bottom: none;
    /* Always visible — page-load entrance */
    opacity: 0;
    animation: sideNavIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes sideNavIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Frosted glass pill — collapses to icon width by default */
.side-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-right: none;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35),
        inset 1px 0 0 rgba(255, 255, 255, 0.08);
    /* Collapsed: wide enough for 36px icon + padding on both sides */
    width: 60px;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* On hover over the whole div, expand */
.side-nav:hover .side-nav-inner {
    width: 230px;
    background: rgba(10, 10, 10, 0.72);
    box-shadow: -12px 0 60px rgba(0, 0, 0, 0.45),
        inset 1px 0 0 rgba(255, 255, 255, 0.1);
}


/* Each nav item */
.side-nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0.85rem 0 0.85rem 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

/* Hover: slight left shift + highlight */
.side-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(-3px);
}

/* Red left-edge accent bar */
.side-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 0;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.side-nav-item:hover::before {
    width: 3px;
}

/* Separator */
.side-nav-line {
    position: absolute;
    bottom: 0;
    left: 14%;
    width: 72%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.side-nav-item:last-child .side-nav-line {
    display: none;
}

/* Icon — always visible */
.side-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.side-nav-item:hover .side-nav-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.55);
}

/* Label — hidden when collapsed, slides in on expand */
.side-nav-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    /* Hidden in collapsed state */
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    margin-left: 0;
    transition:
        opacity 0.3s ease 0.1s,
        max-width 0.35s ease,
        margin-left 0.3s ease,
        letter-spacing 0.3s ease,
        color 0.3s ease;
}

/* Show label when nav is hovered (expanded) */
.side-nav:hover .side-nav-label {
    opacity: 1;
    max-width: 160px;
    margin-left: 12px;
}

/* Stagger label appearance per item */
.side-nav:hover .side-nav-item:nth-child(1) .side-nav-label {
    transition-delay: 0.05s;
}

.side-nav:hover .side-nav-item:nth-child(2) .side-nav-label {
    transition-delay: 0.10s;
}

.side-nav:hover .side-nav-item:nth-child(3) .side-nav-label {
    transition-delay: 0.15s;
}

.side-nav:hover .side-nav-item:nth-child(4) .side-nav-label {
    transition-delay: 0.20s;
}

.side-nav:hover .side-nav-item:nth-child(5) .side-nav-label {
    transition-delay: 0.25s;
}

.side-nav:hover .side-nav-item:nth-child(6) .side-nav-label {
    transition-delay: 0.30s;
}

.side-nav:hover .side-nav-item:nth-child(7) .side-nav-label {
    transition-delay: 0.35s;
}

.side-nav-item:hover .side-nav-label {
    letter-spacing: 0.16em;
    color: #fff;
}

/* ============================================
   ABOUT VIDEO HERO
   ============================================ */
.about-video-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero-overlay-center {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 5%;
}

.glitch-text {
    font-size: 6rem;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 10px;
    position: relative;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 4px 20px rgba(0,0,0,0.5); transform: scale(1); }
    100% { text-shadow: 0 6px 30px rgba(0,0,0,0.85); transform: scale(1.02); }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* ============================================
   NEW ABOUT US SPLIT LAYOUT
   ============================================ */
.about-main {
    width: 100%;
}

.split-section {
    padding: 6rem 5%;
    width: 100%;
}

.dark-bg {
    background: radial-gradient(circle at top right, #110000 0%, #000000 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255,0,0,0.1);
}

.light-bg {
    background-color: #ffffff;
    color: #000000;
}

.split-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;
}

.reverse-layout {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary); /* Bright Red */
    position: relative;
    display: inline-block;
}

.sub-heading::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    top: 50%;
    margin-left: 15px;
    transition: width 0.3s ease;
}

.split-section:hover .sub-heading::after {
    width: 80px;
}

.main-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    transition: transform 0.4s ease, color 0.4s ease;
}

.text-red {
    color: var(--primary);
    text-shadow: 0 4px 15px rgba(211,47,47,0.3);
}

.text-dark .main-heading {
    color: #000000;
}

.text-dark .main-heading:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.split-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.split-text:hover p {
    opacity: 1;
}

.text-bold {
    font-weight: 600;
    color: #ffffff;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    background: linear-gradient(to right, rgba(211,47,47,0.1), transparent);
    padding: 1rem;
}

.text-dark .text-bold {
    color: #000000;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

/* 3D Image Effects */
.3d-wrapper {
    perspective: 1200px;
    width: 100%;
}

.image-card {
    border-radius: 0px; /* Sharp corners for modern brutalist feel */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    width: 100%;
    position: relative;
}

.image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: border-color 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.3d-card-effect:hover::before {
    border-color: var(--primary);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

.3d-card-effect:hover {
    transform: rotateY(-8deg) rotateX(8deg) translateZ(30px);
    box-shadow: -20px 30px 60px rgba(211,47,47,0.25), 0 30px 50px rgba(0,0,0,0.6);
}

.3d-card-effect:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(120%);
}

/* Overlapping Dynamic 3D Image Grid */
.overlapping-images-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.overlapping-image {
    position: absolute;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.8s ease;
    transform-style: preserve-3d;
}

.img-back {
    top: 0;
    right: 0;
    width: 75%;
    z-index: 1;
    transform: translateZ(-50px) rotateY(-5deg);
}

.img-front {
    bottom: 0;
    left: 0;
    width: 65%;
    z-index: 2;
    transform: translateZ(50px) rotateY(5deg);
    border: 5px solid #ffffff;
}

.overlapping-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(30%) contrast(110%);
}

.overlapping-images-wrapper:hover .img-back {
    transform: translateZ(-100px) rotateY(-10deg) translateX(30px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.overlapping-images-wrapper:hover .img-front {
    transform: translateZ(100px) rotateY(15deg) translateX(-30px);
    box-shadow: -30px 50px 80px rgba(211,47,47,0.3);
}

.overlapping-images-wrapper:hover img {
    filter: grayscale(0%) contrast(120%);
    transform: scale(1.05);
}

/* Feature Cards (Why Choose Us) */
.why-choose-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 500;
    color: #444;
}

.feature-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    perspective: 1200px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateX(-15px) translateZ(30px) rotateY(2deg);
    box-shadow: 20px 30px 50px rgba(211,47,47,0.15), 0 20px 40px rgba(0,0,0,0.1);
    border-left-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: #111;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    color: var(--primary);
    transform: scale(1.2) rotate(-5deg);
}

.feature-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #000;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
    color: var(--primary);
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 10rem 5%;
    text-align: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(211,47,47,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.giant-cta-text {
    font-size: 6rem;
    line-height: 1.05;
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    margin-bottom: 4rem;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    perspective: 1200px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.giant-cta-text .line {
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.6s ease, color 0.6s ease, -webkit-text-stroke 0.6s ease;
}

.3d-text-hover:hover {
    color: #ffffff;
    -webkit-text-stroke: 0px transparent;
}

.3d-text-hover:hover .line:nth-child(1) { transform: translateZ(30px) rotateX(5deg); text-shadow: 0 15px 30px rgba(211,47,47,0.6); color: var(--primary); }
.3d-text-hover:hover .line:nth-child(2) { transform: translateZ(50px) rotateX(10deg); text-shadow: 0 20px 40px rgba(211,47,47,0.8); }
.3d-text-hover:hover .line:nth-child(3) { transform: translateZ(70px) rotateX(15deg); text-shadow: 0 25px 50px rgba(211,47,47,1); color: var(--primary); }

.cta-contact-box {
    position: relative;
    z-index: 1;
}

.cta-contact-box p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hover-number {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), letter-spacing 0.4s ease;
    display: inline-block;
}

.hover-number:hover {
    color: var(--primary);
    transform: scale(1.15) rotate(-3deg);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(211,47,47,0.5);
}

@media(max-width: 992px) {
    .split-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .reverse-layout {
        flex-direction: column;
    }

    .about-video-hero {
        height: 50vh;
    }

    .glitch-text {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .split-section {
        padding: 4rem 5%;
    }

    .main-heading {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    /* Adjust overlapping images for tablet/mobile */
    .overlapping-images-wrapper {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }

    .img-back {
        width: 80%;
    }

    .img-front {
        width: 70%;
    }

    .feature-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .giant-cta-text {
        font-size: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .hover-number {
        font-size: 2.5rem;
    }
}

.mobile-nav-toggle {
    display: none;
}

@media(max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .main-heading {
        font-size: 2rem;
    }

    .overlapping-images-wrapper {
        height: 300px;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-10px) translateZ(10px);
    }

    .feature-icon {
        margin-bottom: 0.5rem;
    }

    .cta-section {
        padding: 6rem 5%;
    }

    .giant-cta-text {
        font-size: 2.5rem;
        -webkit-text-stroke: 1px #ffffff;
    }

    .hover-number {
        font-size: 1.8rem;
    }
}

/* ============================================
   BLOGS PAGE STYLES
   ============================================ */
.blogs-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5% 6rem;
}

.featured-card-wrapper {
    display: flex;
    align-items: stretch;
    background: var(--darker-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    transition: var(--transition);
    margin-bottom: 4rem;
}

.featured-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.1);
    border-color: var(--primary);
}

.featured-image {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    align-self: stretch;
    min-height: 350px;
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card-wrapper:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.blog-tag {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--light);
}

.featured-excerpt {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    width: 100%;
}

.author-name {
    font-weight: 600;
    color: var(--light);
}

/* Category Filters */
.category-filters-section {
    text-align: center;
    margin-bottom: 3rem;
}

.category-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--darker-gray);
    padding: 8px;
    border-radius: 40px;
    border: 1px solid #ddd;
}

.filter-btn {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* Blog Cards */
.blog-card {
    background: var(--darker-gray);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.1);
    border-color: var(--primary);
}

.blog-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--light);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more i {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    border-radius: 15px;
    padding: 5rem 3rem;
    text-align: center;
    margin-top: 5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #222;
}

.newsletter-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 24px;
    border-radius: 30px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    white-space: nowrap;
}

@media(max-width: 900px) {
    .featured-card-wrapper {
        flex-direction: column;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-content {
        padding: 2.5rem;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 0;
        gap: 15px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

/* Contact Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-card {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    position: relative;
}

.contact-modal-overlay.active .contact-modal-card {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
}

.contact-modal-close:hover {
    color: var(--primary);
}

.contact-modal-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-modal-card p {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1.5rem;
}

.contact-form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.contact-form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ddd;
    margin-bottom: 0.5rem;
}

.contact-form-group input,
.contact-form-group textarea {
    background: #1e1e1e;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

.contact-modal-submit {
    background: var(--primary);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.contact-modal-submit:hover {
    background: #b71c1c;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.contact-success-screen {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.contact-success-screen i {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.contact-success-screen h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-success-screen p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Full Article Reader Modal */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
}

.article-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.article-modal-content {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    width: 100%;
    max-width: 850px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-modal.active .article-modal-content {
    transform: translateY(0);
}

.article-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.article-modal-close:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    transform: rotate(90deg);
}

.article-modal-hero {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.article-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.article-modal-hero-overlay h2 {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 2.0rem;
    margin: 0;
    line-height: 1.3;
}

.article-modal-hero-overlay .blog-meta {
    border-top: none;
    margin-bottom: 0;
    padding-top: 0;
    color: #ccc;
}

.article-modal-body {
    padding: 3rem 2.5rem;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-modal-body p {
    margin-bottom: 1.5rem;
}

.article-modal-body h3 {
    font-family: 'Cinzel', serif;
    color: #222;
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
}

.article-modal-body ul, .article-modal-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-modal-body li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .article-modal {
        padding: 1rem;
    }
    .article-modal-hero {
        height: 220px;
    }
    .article-modal-hero-overlay {
        padding: 1.5rem;
    }
    .article-modal-hero-overlay h2 {
        font-size: 1.4rem;
    }
    .article-modal-body {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
}

/* Embedded Image Styling in Articles */
.article-modal-body img,
.rte-embedded-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.rte-embedded-image {
    text-align: center;
    width: 100%;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 120px; /* Above the bottom navigation bar on desktop */
    left: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: whatsappEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.5s; /* Load slightly after other elements */
}

@keyframes whatsappEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-floating-btn i {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
}

.whatsapp-floating-btn span {
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    transition: max-width 0.4s ease;
}

.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.25);
    background: linear-gradient(135deg, #2ebd6f 0%, #16a08f 100%);
}

.whatsapp-floating-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Pulse ring animation */
.whatsapp-floating-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid #25D366;
    opacity: 0;
    animation: whatsappPulse 2s infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* Responsive adjustment for Mobile (768px and down) */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 180px; /* Above the mobile bottom navigation bar */
        left: 20px;
        padding: 0;
        width: 55px;
        height: 55px;
        justify-content: center;
        border-radius: 50%;
    }
    .whatsapp-floating-btn span {
        display: none; /* Hide label on mobile */
    }
    .whatsapp-floating-btn i {
        font-size: 1.8rem;
    }
    .whatsapp-floating-btn::before {
        border-radius: 50%;
    }
}

/* ============================================
   MOBILE OVERRIDES FOR RIGHT SIDE NAV
   ============================================ */
@media (max-width: 768px) {
    .side-nav {
        right: -190px !important;
        top: 50%;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        display: flex !important;
        align-items: center;
        z-index: 1000;
        opacity: 1 !important;
        animation: none !important;
    }

    .side-nav.mobile-active {
        right: 0 !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        position: absolute;
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 50px;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-right: none;
        border-radius: 12px 0 0 12px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
    }

    .mobile-nav-toggle:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .mobile-nav-toggle .close-icon { display: none; }
    .side-nav.mobile-active .mobile-nav-toggle .arrow-icon { display: none; }
    .side-nav.mobile-active .mobile-nav-toggle .close-icon { display: block; }

    /* Always expanded on mobile — show labels like desktop hover */
    .side-nav-inner {
        width: 190px !important;
        padding: 0.5rem 0 !important;
        gap: 0;
        overflow: visible !important;
        transition: none !important;
        border-radius: 18px 0 0 18px;
    }

    .side-nav:hover .side-nav-inner {
        width: 190px !important;
    }

    /* Show labels on mobile */
    .side-nav-label {
        display: block !important;
        opacity: 1 !important;
        max-width: 130px !important;
        margin-left: 10px !important;
        font-size: 0.7rem !important;
        overflow: visible !important;
        transition: none !important;
    }

    .side-nav:hover .side-nav-label {
        opacity: 1 !important;
        max-width: 130px !important;
        margin-left: 10px !important;
    }

    .side-nav-item {
        width: 190px !important;
        height: 45px !important;
        padding: 0 0 0 15px !important;
        justify-content: flex-start !important;
    }
}