/* 
=========================================
Future Root L.L.C. - Core Stylesheet
=========================================
Modern, Dynamic, and Premium Design System 
*/

/* ================== SCROLL PROGRESS BAR ================== */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-accent-dark, #E65C00), var(--clr-accent, #FF8C00), #FFD700);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
}

/* ================== CURSOR GLOW ================== */
#cursorGlow {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, rgba(255, 90, 0, 0.05) 40%, transparent 70%);
    z-index: 9990;
    transform: translate(-200px, -200px) translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    will-change: transform;
}

#cursorGlow.hovered {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, rgba(255, 90, 0, 0.08) 40%, transparent 70%);
}

/* Hide cursor glow on touch devices */
@media (pointer: coarse) {
    #cursorGlow {
        display: none;
    }
}

:root {
    /* Color Palette - Premium Dark Theme with Vibrant Accents */
    --clr-bg: #000000;
    --clr-bg-light: #0A0A0A;
    --clr-surface: rgba(255, 255, 255, 0.03);
    --clr-surface-hover: rgba(255, 255, 255, 0.06);
    --clr-border: rgba(255, 255, 255, 0.08);

    --clr-accent: #FF8C00;
    /* Vibrant Orange */
    --clr-accent-dark: #E65C00;
    /* Deep Orange */
    --clr-secondary: #FFCC00;
    /* Yellow Accent for elements */

    --clr-text: #E2E8F0;
    --clr-text-muted: #94A3B8;
    --clr-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 140, 0, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Global Interactive Particle Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Let clicks pass through to the real content */
    opacity: 0.8;
    /* Slightly tone it down so it doesn't overpower text */
}

/* Global Mouse Tracker Glow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 140, 0, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

/* ================== TYPOGRAPHY ================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-white);
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 24px;
    color: var(--clr-text-muted);
}

.lead {
    font-size: 1.25rem;
    color: var(--clr-text);
    font-weight: 400;
}

.accent-text {
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: block;
}

.accent-gradient {
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================== COMPONENTS ================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--clr-surface);
    color: var(--clr-white);
    border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
    background: var(--clr-surface-hover);
    border-color: var(--clr-accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--clr-white);
    border: 1px solid var(--clr-border);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.w-100 {
    width: 100%;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ================== HEADER & NAVIGATION ================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 128px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: screen;
    display: block;
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--clr-white);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--clr-white);
    transition: var(--transition);
}

/* ================== HERO SECTION ================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Background Blobs for Atmosphere */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--clr-accent-dark);
    top: -10%;
    right: -10%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--clr-accent);
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 2;
}

.scroll-indicator p {
    font-size: 0.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--clr-white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--clr-accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 6px;
    }

    50% {
        opacity: 0;
        top: 20px;
    }

    100% {
        opacity: 0;
        top: 6px;
    }
}

/* ================== HSE SECTION ================== */
.hse-section {
    background: var(--clr-bg-light);
    overflow: hidden;
    position: relative;
}

/* Decorative animated rings */
.hse-bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 140, 0, 0.08);
    pointer-events: none;
    animation: hse-ring-pulse 8s ease-in-out infinite;
}

.hse-ring-1 {
    width: 700px;
    height: 700px;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.hse-ring-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -12%;
    transform: translateY(-50%);
    border-color: rgba(255, 140, 0, 0.12);
    animation-delay: -2.5s;
}

.hse-ring-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
    border-color: rgba(255, 140, 0, 0.18);
    animation-delay: -5s;
}

@keyframes hse-ring-pulse {
    0%, 100% { transform: translateY(-50%) scale(1);   opacity: 0.6; }
    50%        { transform: translateY(-50%) scale(1.06); opacity: 1;   }
}

/* ---------- Header block ---------- */
.hse-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.hse-shield-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    font-size: 2.8rem;
    color: var(--clr-accent);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    animation: hse-shield-float 4s ease-in-out infinite;
}

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

.hse-shield-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.25);
    animation: hse-pulse-ring 2.5s ease-out infinite;
}

@keyframes hse-pulse-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.45); opacity: 0;   }
}

.hse-title {
    margin-bottom: 20px;
}

.hse-lead {
    font-size: 1.1rem;
    color: var(--clr-text);
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
}

.hse-lead strong {
    color: var(--clr-accent);
}

/* ---------- LSR Banner ---------- */
.hse-lsr-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 40px;
    margin-bottom: 48px;
    border: 1px solid rgba(255, 140, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hse-lsr-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hse-lsr-banner:hover {
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.1);
}

.hse-lsr-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-accent);
    background: rgba(255, 140, 0, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.hse-lsr-text {
    flex: 1;
}

.hse-lsr-text h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--clr-white);
}

.hse-lsr-text p {
    margin: 0;
    font-size: 0.95rem;
}

.hse-lsr-badge {
    flex-shrink: 0;
}

.hse-zero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1.2;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-glow);
    animation: hse-badge-glow 3s ease-in-out infinite;
}

@keyframes hse-badge-glow {
    0%, 100% { box-shadow: 0 0 18px rgba(255, 140, 0, 0.4); }
    50%       { box-shadow: 0 0 36px rgba(255, 140, 0, 0.75); }
}

/* ---------- Competency Cards ---------- */
.hse-competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.hse-comp-card {
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: default;
}

.hse-comp-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-accent-dark), var(--clr-accent), var(--clr-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.hse-comp-card:hover::after {
    transform: scaleX(1);
}

.hse-comp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 0, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 140, 0, 0.08);
}

.hse-comp-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 140, 0, 0.08);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--clr-accent);
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 140, 0, 0.15);
    transition: var(--transition);
}

.hse-comp-card:hover .hse-comp-icon {
    background: rgba(255, 140, 0, 0.18);
    border-color: rgba(255, 140, 0, 0.4);
    transform: scale(1.1);
}

.hse-comp-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hse-comp-card:hover .hse-comp-glow {
    opacity: 1;
}

.hse-comp-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--clr-white);
}

.hse-comp-abbr {
    color: var(--clr-accent);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px !important;
}

.hse-comp-card > p:last-child {
    font-size: 0.9rem;
    margin: 0;
    color: var(--clr-text-muted);
}

/* ---------- Closing quote ---------- */
.hse-closing {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
    border-top: 1px solid var(--clr-border);
}

.hse-quote-icon {
    font-size: 2rem;
    color: var(--clr-accent);
    opacity: 0.4;
    display: block;
    margin-bottom: 16px;
}

.hse-closing p {
    font-size: 1.05rem;
    color: var(--clr-text);
    margin: 0;
    font-style: italic;
    line-height: 1.8;
}

.hse-closing strong {
    color: var(--clr-white);
    font-style: normal;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hse-lsr-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }

    .hse-ring-1, .hse-ring-2, .hse-ring-3 {
        display: none;
    }
}

/* ================== ABOUT SECTION ================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Adding a visual pattern to the placeholder image area */
.image-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(var(--clr-border) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Certificate image inside the About section */
.cert-about-wrapper {
    aspect-ratio: 4 / 3;
    /* landscape to match the document shape */
}

.cert-about-wrapper::before {
    display: none;
    /* hide spinning dot pattern when real image is shown */
}

.cert-about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* show the whole certificate, no cropping */
    object-position: center center;
    border-radius: inherit;
    z-index: 1;
    transition: transform 0.6s ease;
    padding: 12px;
    /* small breathing room around the document */
    background: rgba(255, 255, 255, 0.03);
}

.cert-about-wrapper:hover .cert-about-img {
    transform: scale(1.03);
}

/* translucent overlay so text/badge remains readable */
.cert-about-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
}

.year-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    text-align: center;
    z-index: 2;
}

.year-badge .year {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.year-badge .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--clr-border);
}

.stat-item {
    padding: 24px;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--clr-border);
    transform: translateY(-5px);
    background: var(--clr-surface-hover);
}

.stat-icon {
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2rem;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    margin: 0;
}

/* ================== SERVICES SECTION ================== */
.services-section .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.service-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(255, 140, 0, 0.06), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--clr-accent);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ================== CERTIFICATIONS SECTION ================== */
.certifications-section {
    position: relative;
    overflow: hidden;
}

.cert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .cert-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    [dir="rtl"] .cert-content {
        text-align: right;
    }

    .cert-text {
        max-width: 50%;
    }
}

.cert-badge-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.cert-badge {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-surface);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--clr-accent));
    animation: rotate 10s linear infinite;
    opacity: 0.15;
}

.cert-badge::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--clr-surface);
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 1;
}

.cert-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    max-height: 120px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 140, 0, 0.2);
}

.cert-badge:hover .cert-img {
    transform: scale(1.05);
}

.cert-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--clr-accent);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ================== GALLERY SECTION ================== */
.gallery-section .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--clr-accent);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: var(--clr-white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--clr-accent);
    transform: rotate(90deg);
}

/* ================== CUSTOMERS SECTION ================== */
.customers-section {
    padding-bottom: 80px;
}

.customers-section .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /* Optional: Fading edges to make the scrolling smooth */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: scroll-marquee 30s linear infinite;
    gap: 40px;
    align-items: center;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: clamp(120px, 15vw, 180px);
    height: 100px;
    /* fixed height container */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 15px;
    transition: var(--transition);
    filter: invert(0.8) grayscale(100%) opacity(0.7);
}

.marquee-item:hover {
    filter: invert(0) grayscale(0%) opacity(1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(255, 140, 0, 0.3);
}

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

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move it left entirely by half the width of the track (since it is duplicated) */
        transform: translateX(calc(-50% - 20px));
    }
}

/* RTL (Arabic) marquee — scroll in the opposite direction */
@keyframes scroll-marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(50% + 20px));
    }
}

[dir="rtl"] .marquee-track {
    animation-name: scroll-marquee-rtl;
}

[dir="rtl"] .marquee-wrapper {
    mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent);
}


/* ================== CONTACT SECTION ================== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.blob-3 {
    width: 600px;
    height: 600px;
    background: var(--clr-secondary);
    bottom: -20%;
    right: -20%;
    opacity: 0.15;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--clr-accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .icon-box {
    background: var(--clr-accent);
    color: #fff;
    border-color: var(--clr-accent);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    margin: 0;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--clr-accent);
}

/* Form Styles */
.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--clr-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* ================== FOOTER ================== */
.footer {
    background: var(--clr-bg-light);
    border-top: 1px solid var(--clr-border);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: screen;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links a {
    display: inline-block;
    color: var(--clr-text-muted);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--clr-accent);
    transform: translateX(5px);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--clr-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--clr-border);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ================== ANIMATIONS (SCROLL INITIAL STATE) ================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animation triggers class */
.animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* For Service Cards staggering */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}


/* ================== SERVICE MODAL ================== */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.service-modal.active {
    opacity: 1;
    pointer-events: all;
}

.service-modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
}

.close-service-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-service-modal:hover {
    color: var(--clr-accent);
    transform: rotate(90deg);
}

.service-modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.service-modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 140, 0, 0.15);
    color: var(--clr-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-modal-header h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--clr-white);
}

.service-modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Custom scrollbar for modal body */
.service-modal-body::-webkit-scrollbar {
    width: 8px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--clr-accent);
}

.service-modal-text {
    line-height: 1.8;
    color: var(--clr-text);
    font-size: 1.05rem;
}

.service-modal-text p {
    margin-bottom: 16px;
}

.service-modal-text p:last-child {
    margin-bottom: 0;
}

.service-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.service-modal-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-modal-gallery img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .service-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .service-modal-header {
        padding: 20px 24px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .service-modal-body {
        padding: 20px 24px;
    }

    .close-service-modal {
        top: 15px;
        right: 15px;
    }

    .service-modal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ================== RESPONSIVE DESIGN ================== */
@media screen and (max-width: 992px) {

    .about-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .year-badge {
        right: 20px;
        bottom: 20px;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem !important;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .testimonial-card {
        padding: 24px;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* ================== LANGUAGE SWITCHER ================== */
.lang-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.lang-switcher {
    color: var(--clr-text-muted) !important;
    transition: var(--transition);
}

.lang-switcher:hover {
    color: var(--clr-white) !important;
}

.lang-switcher.active {
    color: var(--clr-accent) !important;
}

.lang-sep {
    color: var(--clr-border);
}

/* ================== RTL (ARABIC) SUPPORT ================== */
[dir="rtl"] {
    font-family: 'Cairo', var(--font-body);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .btn {
    font-family: 'Cairo', var(--font-heading);
}

[dir="rtl"] .hero p,
[dir="rtl"] .hero h1,
[dir="rtl"] .hero h4 {
    text-align: inherit;
}

/* Specific elements to align Right-to-Left */
@media screen and (min-width: 769px) {
    [dir="rtl"] .about-text {
        text-align: right;
    }

    [dir="rtl"] .contact-info {
        text-align: right;
    }

    [dir="rtl"] .hero-content {
        text-align: right;
    }

    [dir="rtl"] .hero-btns {
        justify-content: flex-start;
    }
}

[dir="rtl"] .contact-item .icon-box {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .contact-item {
    display: flex;
    flex-direction: row;
}

[dir="rtl"] .btn i {
    transform: scaleX(-1);
    /* Flips arrows if needed, or adjust spacing */
}

[dir="rtl"] .btn-secondary i {
    transform: scaleX(-1);
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .service-card,
[dir="rtl"] .stat-item {
    text-align: right;
}

/* Reset mobile menu RTL fixes */
@media screen and (max-width: 768px) {
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        transition: left 0.4s ease;
    }

    [dir="rtl"] .nav-links.active {
        left: 0;
        right: auto;
    }
}

/* ================== STATS GRID 2x2 ================== */
.stats-grid {
    grid-template-columns: 1fr 1fr;
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials-section {
    background: var(--clr-bg);
}

.testimonials-section .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.testimonials-carousel {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    min-height: 240px;
}

.testimonial-card {
    display: none;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    position: relative;
    animation: fadeSlide 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 16px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin: 0 0 2px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    color: var(--clr-text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.testimonial-btn:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--clr-accent);
    transform: scale(1.3);
}

/* ================== WHATSAPP FLOATING BUTTON ================== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 1000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.7);
        opacity: 0;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: #111;
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 28px;
}

[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: 68px;
}

/* ================== BACK TO TOP BUTTON ================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    color: var(--clr-text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 28px;
}

/* ================== CTA BANNER ================== */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1117 0%, #0d1117 40%, #1a0a00 100%);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%,
            rgba(255, 140, 0, 0.25) 0%,
            rgba(255, 90, 0, 0.1) 40%,
            transparent 70%);
    animation: cta-pulse 6s ease-in-out infinite alternate;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-banner-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Primary CTA button */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.7);
    color: #fff;
}

/* Secondary CTA button (WhatsApp) */
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.btn-cta-secondary:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-actions {
        justify-content: center;
    }

    [dir="rtl"] .cta-banner-content {
        text-align: center;
    }
}

/* RTL */
[dir="rtl"] .cta-banner-text {
    text-align: right;
}