:root {
    --primary: #000;
    --secondary: #800000;
    --primary-light: #ffe5e5;
    --accent: #fff;
    --accent-hover: #34522b;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #3b0000;
    --text: #d4af37;
    --text2:rgb(252, 221, 122);
    --text-light: #64748b;
    --bg: #fafbfc;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.16), 0 12px 24px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Almarai', sans-serif;
    --max-width: 1280px;
    --topbar-height: 42px;
    --navbar-height: 120px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* scroll-padding-top: calc(var(--navbar-height) + var(--topbar-height) + 10px); */
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
}

/* ========== PRELOADER / LOGO ANIMATION ========== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: all;
    direction: ltr;
}

.preloader-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #1a0000 0%, #0a0a0a 60%, #000000 100%);
    z-index: 0;
}

.preloader-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 0, 0, 0.05) 0%, transparent 50%);
    animation: preloaderAmbient 4s ease-in-out infinite alternate;
}

@keyframes preloaderAmbient {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.preloader-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Rings */
.preloader-rings {
    position: relative;
    width: 280px;
    height: 120px;
    margin-bottom: -20px;
}

.preloader-rings .ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ring-outer {
    filter: drop-shadow(0 0 12px rgba(168, 0, 0, 0.4));
}

.ring-inner {
    filter: drop-shadow(0 0 8px rgba(44, 44, 44, 0.3));
}

/* Title letters */
.preloader-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.preloader-title {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 10px;
}

.preloader-title .letter {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: #a80000;
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(90deg);
    text-shadow: 0 0 30px rgba(168, 0, 0, 0.3);
    letter-spacing: 0.04em;
}

/* Tagline */
.preloader-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.75rem, 2vw, 1.05rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    margin-top: 4px;
}

/* Loading bar */
.preloader-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-top: 36px;
    overflow: hidden;
    opacity: 0;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #a80000, #ff3333, #a80000);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: barShimmer 1.5s ease-in-out infinite;
}

@keyframes barShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Particles */
.preloader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.preloader-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #a80000;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(168, 0, 0, 0.6);
}

/* Preloader exit */
.preloader.exit {
    pointer-events: none;
}

/* Hide body scroll while preloader is active */
body.preloader-active {
    overflow: hidden;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--text);
}


/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========== TOPBAR ========== */
.topbar {
    /* background: linear-gradient(90deg, var(--dark-3), var(--primary), var(--dark-3)); */
    background: linear-gradient(0deg,  var(--accent) , var(--text2));
    background-size: 200% 100%;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 500;
    height: var(--topbar-height);
    position: relative;
    z-index: 1001;
    letter-spacing: 0.01em;
    animation: topbarGradient 8s ease-in-out infinite;
}

@keyframes topbarGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-left a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
/* .topbar-left a:hover {
    color: #fff;
} */
.topbar-left i {
    font-size: 0.75rem;
    color: var(--secondary);
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.topbar-right .social-icon {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-right .social-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.topbar-badge {
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 101, 67, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(240, 101, 67, 0);
    }
}

/* ========== NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.85); */
    background: #000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    height: var(--navbar-height);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.navbar-logo img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    /* transition: height var(--transition); */
}
.navbar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #7c5cfc);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.navbar-links a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.navbar-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar-links a:hover::before,
.navbar-links a.active::before {
    width: 80%;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text);
    transform: translateY(-2px);
}

.navbar-links li {
    position: relative;
}

.navbar-links .has-mega-menu > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    width: min(860px, calc(100vw - 64px));
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -4px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 1002;
}

/* الجسر الوهمي لمنع إغلاق القائمة عند تحريك الماوس */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 24px;
    align-items: start;
}

.mega-menu-column h4,
.mega-menu-feature h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column li + li {
    margin-top: 12px;
}

.mega-menu-column a {
    color: var(--text);
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}

/* .mega-menu-column a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
} */

.mega-menu-column a:hover {
    color: var(--primary);
    background: var(--primary-light);
    padding-left: 18px;
}

.mega-menu-column a:hover::before {
    width: 4px;
}

.mega-menu-feature {
    background: linear-gradient(180deg, rgba(248, 241, 239, 0.95), #ffffff);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: grid;
    gap: 16px;
}

.mega-menu-feature p {
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.mega-feature-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.mega-feature-card:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(168, 0, 0, 0.22);
}

@media (max-width: 1199.98px) {
    .mega-menu {
        width: min(760px, calc(100vw - 40px));
        padding: 20px;
    }
    .mega-menu-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .mega-menu {
        display: none;
    }
}

.navbar-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    transition: all var(--transition) !important;
    box-shadow: 0 4px 14px rgba(59, 93, 246, 0.35);
}
.navbar-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 6px 20px rgba(59, 93, 246, 0.5) !important;
    transform: translateY(-1px);
    color: #fff !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 3px;
    transition: all var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== SIDEBAR TOGGLE ========== */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--text));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    /* color: #fff; */
    font-size: 1.1rem;
    transition: all var(--transition);
    /* box-shadow: 0 4px 12px rgba(255, 255, 255, 0.9); */
    margin-left: 12px;
}

.sidebar-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(168, 0, 0, 0.4);
}

.sidebar-toggle:active {
    transform: scale(0.95);
}

/* Hide sidebar toggle on mobile */
@media (max-width: 991px) {
    .sidebar-toggle {
        display: none;
    }
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 10000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.sidebar-header .navbar-logo img {
    height: 50px;
    width: auto;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

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

.sidebar-links li {
    margin: 0;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-links a i {
    font-size: 1rem;
    color: var(--text-light);
    transition: all var(--transition);
    width: 20px;
    text-align: center;
}

.sidebar-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 28px;
}

.sidebar-links a:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.sidebar-links a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-links a.active i {
    color: var(--primary);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    margin: 16px 24px;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    border-left: none !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(168, 0, 0, 0.3);
}

.sidebar-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 0, 0, 0.4) !important;
}

.sidebar-cta i {
    color: #fff !important;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

/* ========== DROPPING TEXTS (Authorized Distributor) ========== */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');
.authorized-distributor {
    background: #ddd;
    padding: px 0 18px;
}
.authorized-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: var(--dark-2);
}
.dropping-texts {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    height: 48px;
}
.dropping-texts .static {
    font-family: 'Roboto', var(--font);
    font-size: 28px;
    font-weight: 500;
    color: var(--dark-2);
    opacity: 1;
}
.dropping-texts .animated-brands {
    position: relative;
    width: 180px;
    height: 34px;
    overflow: hidden;
}
.animated-brands > div {
    font-family: 'Roboto', var(--font);
    font-size: 28px;
    font-weight: 500;
    color: #d0021b;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: 0 6px 14px rgba(208, 2, 27, 0.18);
}
.animated-brands > div:nth-child(1) { animation: brand-roll 5s ease-in-out infinite 0s; }
.animated-brands > div:nth-child(2) { animation: brand-roll 5s ease-in-out infinite 2.5s; }
@keyframes brand-roll {
  0% { opacity: 0; transform: translateY(-100%) scale(0.95); }
  5% { opacity: 1; transform: translateY(0) scale(1); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  25% { opacity: 0; transform: translateY(100%) scale(0.9); }
  100% { opacity: 0; transform: translateY(100%) scale(0.9); }
}

@keyframes roll {
  0% { font-size:0px; opacity:0; margin-left:-30px; margin-top:0px; transform: rotate(-18deg); }
  3% { opacity:1; transform: rotate(0deg); }
  5% { font-size:28px; opacity:1; margin-left:0px; margin-top:0px; }
  20% { font-size:28px; opacity:1; margin-left:0px; margin-top:0px; transform: rotate(0deg); }
  27% { font-size:0px; opacity:0.5; margin-left:20px; margin-top:100px; }
 100% { font-size:0px; opacity:0; margin-left:-30px; margin-top:0px; transform: rotate(15deg); }
}

@keyframes roll2 {
  0% { font-size:0px; opacity:0; margin-left:-30px; margin-top:0px; transform: rotate(-18deg); }
  3% { opacity:1; transform: rotate(0deg); }
  5% { font-size:28px; opacity:1; margin-left:0px; margin-top:0px; }
  30% { font-size:28px; opacity:1; margin-left:0px; margin-top:0px; transform: rotate(0deg); }
  37% { font-size:1500px; opacity:0; margin-left:-1000px; margin-top:-800px; }
 100% { font-size:0px; opacity:0; margin-left:-30px; margin-top:0px; transform: rotate(15deg); }
}

@media (max-width: 767.98px) {
    .dropping-texts { height: 42px; gap: 8px; }
    .dropping-texts .static { font-size: 20px; }
    .animated-brands > div { font-size: 20px; }
    .animated-brands { width: 140px; height: 28px; }
}

.sidebar-social {
    display: flex;
    gap: 12px;
}

.sidebar-social .social-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.sidebar-social .social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ========== SIDEBAR OVERLAY ========== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== NAV CLOSE BUTTON ========== */
.nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
    color: var(--dark);
    background: var(--bg-alt);
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 50%;
    line-height: 1;
    transition: all var(--transition);
    z-index: 1001;
}
.nav-close:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(520px, 85vh, 800px);
    overflow: hidden;
}
.hero-slider .swiper {
    width: 100%;
    height: 100%;
}
.hero-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /*transform: scale(1.15);
    will-change: transform; */
}

.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 0 30px;
    color: #fff;
}

.hero-slider .slide-content .slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: none !important;
}

.hero-slider .slide-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: none !important;
}

.hero-slider .slide-content p {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(35px);
    transition: none !important;
}

.hero-slider .slide-content .slide-btns {
    opacity: 0;
    transform: translateY(30px);
    transition: none !important;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: var(--font);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 6px 20px rgba(168, 0, 0, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 10px 28px rgba(168, 0, 0, 0.55);
    transform: translateY(-2px);
}
.btn-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    color: var(--dark);
    border-color: #fff;
    transform: translateY(-2px);
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    box-shadow: 0 6px 20px rgba(67, 108, 55, 0.4);
}
.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    box-shadow: 0 10px 28px rgba(67, 108, 55, 0.55);
    transform: translateY(-2px);
}
.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: none !important;
}

/* Keep slider buttons with solid backgrounds */
.hero-slider .btn-primary {
    background: var(--primary);
}
.hero-slider .btn-primary:hover {
    background: var(--primary-dark);
}
.hero-slider .btn-outline {
    background: transparent;
}
.hero-slider .btn-outline:hover {
    background: #fff;
}
.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 10px;
    transition: none !important;
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    overflow: hidden !important;
    transition: background var(--transition), box-shadow var(--transition) !important;
}
.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: 700;
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 20px rgba(168, 0, 0, 0.5);
}

/* ========== WAVES ANIMATION ========== */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    pointer-events: none;
}

.waves-svg {
    width: 100%;
    height: 100%;
}

.wave {
    animation: wave-animation 10s linear infinite;
}

.wave1 {
    animation-delay: 0s;
}

.wave2 {
    animation-delay: 2s;
}

.wave3 {
    animation-delay: 4s;
}

.wave4 {
    animation-delay: 6s;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
    100% {
        transform: translateX(0);
    }
}

/* ========== SECTION STYLES ========== */
.section {
    padding: 90px 24px;
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 15px;
    border-radius: 30px;
    margin-bottom: 14px;
    transition: all var(--transition);
    animation: labelWave 2s ease-in-out infinite;
}

.section-label:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(168, 0, 0, 0.3);
    animation: none;
}

@keyframes labelWave {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(168, 0, 0, 0);
    }
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark-3);
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-subtitle {
    margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
    display: block;
    visibility: visible;
}
.about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 93, 246, 0.06) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: var(--primary);
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.1;
    animation: aboutShapePulse 4s ease-in-out infinite;
}

@keyframes aboutShapePulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.03); opacity: 0.15; }
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
    /* transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
}

.about-image-wrapper.revealed .about-image {
    /* animation: imageZoom 1s ease-out 0.3s both, floatImage 6s ease-in-out infinite 1.3s; */
}

@keyframes imageZoom {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.about-image-frame:hover .about-image {
    /* transform: scale(1.05); */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.about-dots {
    position: absolute;
    bottom: -30px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    z-index: 2;
}

.about-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: none !important;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}
.about-image-badge {
    position: absolute;
    bottom: 3rem;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    animation: none !important;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-image-badge .badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #7c5cfc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    background: var(--bg);
}
.about-feature:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
.about-feature i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-2);
    line-height: 1.4;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background: var(--bg-alt);
    position: relative;
}
.products-swiper {
    position: relative;
}
.products-swiper .swiper {
    padding: 10px 0;
}
.products-swiper .swiper-slide {
    height: auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
    position: relative;
    border: 1px solid transparent;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border);
}
.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
.product-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.product-card-body {
    padding: 20px 22px 24px;
}
.product-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.product-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
}
.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
    transition: gap var(--transition);
}
.product-card-link:hover {
    gap: 10px;
}
.product-card-link i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}
.product-card-link:hover i {
    transform: translateX(3px);
}

/* ========== VIDEO SECTION ========== */
.video-section {
    position: relative;
    padding: 120px 24px;
    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.3) 100%);
    z-index: 1;
}
.video-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}
.video-content .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.video-content .section-title {
    color: #fff;
}
.video-content .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 36px;
}
.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 12px 36px rgba(240, 101, 67, 0.5);
    animation: playPulse 2.5s ease-in-out infinite;
    border: none;
}
.play-btn i {
    font-size: 1.6rem;
    color: #fff;
    margin-left: 4px;
}
.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 18px 48px rgba(240, 101, 67, 0.65);
}
@keyframes playPulse {
    0%,
    100% {
        box-shadow: 0 12px 36px rgba(240, 101, 67, 0.5);
    }
    50% {
        box-shadow: 0 12px 36px rgba(240, 101, 67, 0.5), 0 0 0 24px rgba(240, 101, 67, 0);
    }
}
/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 20px;
}
.video-modal.active {
    opacity: 1;
    visibility: visible;
}
.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.video-modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ========== NEWSLETTER SECTION ========== */
.newsletter {
    background: var(--white);
    position: relative;
    overflow: hidden;
    display: none;
}
.newsletter::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.07) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}
.newsletter-card {
    position: relative;
    z-index: 1;
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}
.newsletter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 93, 246, 0.3) 0%, rgba(124, 92, 252, 0.15) 100%);
    pointer-events: none;
}
.newsletter-card>* {
    position: relative;
    z-index: 1;
}
.newsletter-card .section-title {
    color: #fff;
    margin-bottom: 8px;
}
.newsletter-card .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 28px;
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.newsletter-form input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
}
.newsletter-form .btn {
    white-space: nowrap;
}
.newsletter-success {
    display: none;
    color: #4ade80;
    font-weight: 600;
    margin-top: 16px;
    font-size: 0.9rem;
}
.newsletter-success.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== GALLERY SECTION ========== */
.gallery {
    /* background: var(--dark-3); */
    padding: 40px 0;
    color: #fff;
    overflow: hidden;
}
.gallery .section-header {
    padding: 0 24px;
    margin-bottom: 44px;
}
.gallery .section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 15px;
    border-radius: 30px;
    margin-bottom: 14px;
}
.gallery .section-title {
    color: #000;
}
.gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}
.gallery-carousel {
    width: 100%;
    padding: 0 60px;
}
.gallery-carousel .swiper-slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    opacity: 1;
    transform: scale(1);
}
.gallery-carousel .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-xl);
}
.gallery-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-carousel .swiper-slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
    object-fit: cover;
}
.gallery-carousel .swiper-button-next,
.gallery-carousel .swiper-button-prev {
    color: #fff;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent), #7c5cfc, var(--primary));
    background-size: 300% 300%;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    overflow: hidden !important;
    transition: none !important;
    animation: swiperButtonColor 4s ease-in-out infinite;
}
.gallery-carousel .swiper-button-next:after,
.gallery-carousel .swiper-button-prev:after {
    font-size: 0.9rem;
    font-weight: 700;
}
.gallery-carousel .swiper-button-next:hover,
.gallery-carousel .swiper-button-prev:hover {
    animation: swiperButtonColor 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(168, 0, 0, 0.5);
}

/* ========== PARTNERS SECTION ========== */
.partners {
    padding: 60px 0;
    background: var(--bg-alt);
}

.partners .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-carousel {
    width: 100%;
    padding: 0 40px;
}

.partners-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 120px;
    width: 200px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter var(--transition);
}

.partner-card:hover img {
    filter: grayscale(0%);
}

/* ========== CLIENTS SECTION ========== */
.clients {
    padding: 90px 24px;
    background: var(--bg);
}

.clients .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.client-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition);
}

.client-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .client-card {
        height: 120px;
        padding: 15px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: #080c16;
    color: #cbd5e1;
    padding: 70px 24px 0;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(3px);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #7c5cfc);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}
.footer-about p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 18px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.9rem;
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #94a3b8;
}
.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: #64748b;
}
.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-bottom a:hover {
    color: #fff;
}
/* guarantee footer columns have consistent spacing and original style integrity */
.footer .container {
    max-width: 1400px;
    padding: 0 24px;
}
.footer .footer-col {
    height: 100%;
    margin-bottom: 0;
}
.footer .footer-col ul li {
    word-break: break-word;
}
.footer iframe {
    width: 100%;
    min-height: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}
/* preserve original footer bottom styling */
.footer .footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
/* consistent social icon hover & spacing */
.footer-social a {
    transition: all 0.3s ease;
}
/* mobile fine-tuning */
@media (max-width: 991.98px) {
    .footer .footer-col {
        margin-bottom: 2rem;
    }
    .footer .container {
        padding: 0 20px;
    }
}
/* keep original footer background and typography */
.footer {
    /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(10, 14, 22, 0.85)), url(../img/slider/1.jpg); 
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(10, 14, 22, 0.3)), url(../img/slider/1.jpg);*/
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0.8)), url(../img/slider/5.jpg);
    /* background-image: radial-gradient(ellipse at center, #1a0000 0%, #0a0a0a 60%, #000000 100%), url(../img/slider/1.jpg); */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    color: var(--text-light, #e2e8f0);
}
.footer h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.2px;
    color: #fff;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: wave 2s ease-in-out infinite;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    animation: none;
}

@keyframes wave {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(168, 0, 0, 0);
    }
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    animation: whatsappWave 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappWave {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ========== SCROLL REVEAL ========== */
/* .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: none !important;
} */

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        gap: 40px;
    }
    .gallery-carousel {
        padding: 0 40px;
    }
}

@media (max-width: 991.98px) {
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 70px 30px 30px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 1000;
        display: none;
    }
    .navbar-links.active {
        right: 0;
        display: flex !important;
    }
    .navbar-links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .navbar-cta {
        text-align: center;
        margin-top: 8px;
    }
    .hamburger {
        display: flex;
    }
    .navbar-logo img {
        height: 72px;
    }
}

/* ===== Landscape mobile fix ===== */
@media (max-width: 991.98px) and (orientation: landscape) {
    .navbar {
        height: 64px;
    }
    .navbar-logo img {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
    .hero-slider {
        height: 500px;
    }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-badge {
        right: 0;
        bottom: -16px;
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .video-section {
        padding: 80px 24px;
        background-attachment: scroll;
    }
    .newsletter-card {
        padding: 40px 20px;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-form input {
        min-width: auto;
    }
    .gallery-carousel {
        padding: 0 20px;
    }
    .gallery-carousel .swiper-button-next,
    .gallery-carousel .swiper-button-prev {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .section {
        padding: 60px 16px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .gallery-carousel .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-slider .slide-content h1 {
        font-size: 1.7rem;
    }
    .hero-slider .slide-content p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .hero-slider .slide-content .slide-btns {
        flex-direction: column;
        align-items: center;
    }
    .about-image-badge {
        display: none;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Swiper navigation button custom hover background animation */
.swiper-button-next,
.swiper-button-prev {
    overflow: hidden !important;
    transition: none !important;
    color: var(--dark-3);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    display: inline-block;
    width: 100%;
}

.skeleton-text-sm {
    height: 0.8em;
    width: 60%;
}

.skeleton-text-lg {
    height: 1.5em;
    width: 80%;
}

.skeleton-image {
    width: 100%;
    height: 250px;
    border-radius: var(--radius);
}

.skeleton-card {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.button-anim-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}
