* {
    box-sizing: border-box;
}

:root {
    --bg-color: #150e20;
    --primary-accent: #b1379c;
    --secondary-accent: #7f4099;
    --text-color: #ffffff;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle background glow effect behind everything */
    background-image: radial-gradient(circle at 15% 50%, rgba(127, 64, 153, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(177, 55, 156, 0.1), transparent 40%);
}

/* ══ Header & Navigation ══ */

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    box-sizing: border-box;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

header.scrolled:not(.menu-open) {
    background: rgba(21, 14, 32, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(177, 55, 156, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    /* Adjust size if needed */
    width: auto;
    object-fit: contain;
    margin-left: 1rem;
}

header {
    flex-direction: row-reverse;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 102;
    /* Needs to sit above the menu overlay */
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Menu Open State (Hamburger to X) */
.menu-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 1001;
    /* Same as header items */
}

.login-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.login-link svg {
    width: 20px;
    height: 20px;
}

.login-link:hover {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
    background: rgba(177, 55, 156, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(177, 55, 156, 0.2);
}

@media (max-width: 480px) {
    header {
        padding: 1rem 3%;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .login-link {
        padding: 0.5rem 0.6rem;
    }

    .login-link span {
        display: none;
    }

    .logo img {
        height: 30px;
    }
}

.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Slide in from right */
    width: 100%;
    height: 100vh;
    /* Fallback for regular height */
    height: 100dvh;
    /* Modern dynamic height (handles mobile bars) */
    background-color: rgb(14 8 22 / 96%);
    backdrop-filter: blur(25px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 85px 0 0;
    /* Bottom cushion added separately below */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    opacity: 0;
}

.overlay-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.overlay-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 160px 0;
    /* Huge bottom margin to force scrolling past the last item */
    text-align: center;
    width: 100%;
}

.overlay-menu li {
    margin: 0.8rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.overlay-menu.active li {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered reveal for menu items */
.overlay-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.overlay-menu.active li:nth-child(2) {
    transition-delay: 0.15s;
}

.overlay-menu.active li:nth-child(3) {
    transition-delay: 0.2s;
}

.overlay-menu.active li:nth-child(4) {
    transition-delay: 0.25s;
}

.overlay-menu.active li:nth-child(5) {
    transition-delay: 0.3s;
}

.overlay-menu.active li:nth-child(6) {
    transition-delay: 0.35s;
}

.overlay-menu.active li:nth-child(7) {
    transition-delay: 0.4s;
}

.overlay-menu.active li:nth-child(8) {
    transition-delay: 0.45s;
}

.overlay-menu.active li:nth-child(9) {
    transition-delay: 0.5s;
}

.overlay-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
    display: inline-block;
    letter-spacing: -0.5px;
}

.overlay-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #ef60f3, var(--primary-accent));
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 10px rgba(239, 96, 243, 0.5);
}

.overlay-menu a:hover {
    color: #ffffff;
    transform: scale(1.08) translateY(-2px);
    text-shadow: 0 0 20px rgba(177, 55, 156, 0.4);
}

.overlay-menu a:hover::after {
    width: 100%;
}

header.menu-open {
    background: #0f0816 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* ══ Hero Section ══ */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 100vh;
    position: relative;
    /* overflow must NOT be hidden so the full-width canvas can bleed out */
}

/* Particles canvas container — breaks out of .container to fill full viewport width */
.hero-particles-container {
    position: absolute;
    left: 0;
    /* transform: translateX(-50%); */
    width: 100vw;
    max-width: 841px;
    height: 85%;
    pointer-events: none;
    z-index: 0;
}

.hero-particles-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure hero text/content is above the particles */
.hero-section>.text-content,
.hero-section>.hero-section-left-side {
    position: relative;
    z-index: 1;
}

.text-content {
    flex: 1;
    /* 1/3 width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Align items to the right in RTL */
    gap: 1.5rem;
    animation: fadeInRight 1s ease-out forwards;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: right;
    margin: 0;
    /* Gradient text effect */
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback for browsers that don't support text clipping */
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly muted white for readability */
    text-align: right;
    margin: 0;
    max-width: 90%;
}


.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200% auto;
    border-radius: 50px;
    box-shadow: 0px 10px 20px rgba(177, 55, 156, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
    border: 2px solid transparent;
    animation: gradientPan 4s linear infinite;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px rgba(177, 55, 156, 0.5);
    background: transparent;
    border: 2px solid var(--primary-accent);
    animation-play-state: paused;
}

@keyframes gradientPan {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-section-left-side {
    flex: 1;
    /* 2/3 width */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align man and SVG nicely at their baseline */
    position: relative;
}

.svg-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    min-height: 500px;
}

/* Responsive sizing and glow */

.svg-container svg {
    width: 60%;
    max-width: 225px;
    height: auto;
    position: absolute;
    top: 50%;
    margin-left: 310px;
    transform: translate(-40%, -40%);
    /* center it properly within the container instead of growing from the bottom up */
    z-index: 0;
    /* Applying the animated glow effect */
    filter: drop-shadow(0px 0px 30px rgba(177, 55, 156, 0.3));
    animation: glowSequence 5s 0.5s forwards;
    transition: transform 0.3s ease;
}

.man-image {
    width: 325px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.3));
    animation: fadeInLeft 1s ease-out forwards;
}


.man-image:hover {
    transform: translateY(-10px) scale(1.02);
}

#light {
    stroke: #ef60f3;
    stroke-width: 1.5;
    clip-path: inset(100% 0 0 0);
    animation: turnOnSequence 5s 0.5s forwards;
    /* Post-animation fill handled in keyframes */
}

.st0 {
    /* Starts solid, animate to URL referencing the gradient */
    animation: st0GlowSequence 5s 0.5s forwards;
}


/* ══ Services Section ══ */

.services-section {
    padding: 5rem 0 6rem;
    position: relative;
    background: transparent;
    overflow: hidden;
    z-index: 10;
}

.services-wrap {
    margin: 0 auto;
}

/* Header */
.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 5rem;
    gap: 2rem;
}

.services-eyebrow {
    font-size: 1em;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.8rem;
    display: block;
}

.services-title-main {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

.services-title-main .highlight {
    background: linear-gradient(100deg, #ef60f3, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-header-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 310px;
    text-align: right;
    line-height: 1.9;
    margin: 0;
}

.svc-deck {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2rem;
}

.svc-deck-stack {
    position: relative;
    width: 70%;
    height: 460px;
    cursor: grab;
    user-select: none;
}

.svc-deck-stack:active {
    cursor: grabbing;
}


.svc-card-deck {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 8, 35, 0.85);
    backdrop-filter: blur(16px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(177, 55, 156, 0.08);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease;
    will-change: transform;
}

/* Depth stacking — set via JS, but also default states */
.svc-card-deck[data-pos="0"] {
    transform: translateY(0) scale(1) rotate(0deg);
    z-index: 30;
    box-shadow:
        0 30px 80px rgba(177, 55, 156, 0.2),
        0 0 0 1px rgba(177, 55, 156, 0.15);
}

.svc-card-deck[data-pos="1"] {
    transform: translateY(18px) scale(0.97) rotate(-1.5deg);
    z-index: 20;
}

.svc-card-deck[data-pos="2"] {
    transform: translateY(34px) scale(0.94) rotate(1.5deg);
    z-index: 10;
}

/* Cards further back are hidden */
.svc-card-deck[data-pos="3"],
.svc-card-deck[data-pos="4"] {
    transform: translateY(44px) scale(0.91);
    z-index: 0;
    opacity: 0;
}

/* Dragging state — disable transition for real-time response */
.svc-card-deck.dragging {
    transition: none;
    cursor: grabbing;
}

.svc-card-deck.fly-left {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease;
    transform: translateX(-130%) rotate(-20deg) !important;
    opacity: 0;
}

.svc-card-deck.fly-right {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease;
    transform: translateX(130%) rotate(20deg) !important;
    opacity: 0;
}

/* Image half */
.svc-card-img {
    width: 40%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.svc-card-img img,
.svc-card-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.svc-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 40%, rgba(12, 4, 22, 0.75) 100%);
}

/* Content half */
.svc-card-info {
    flex: 1;
    padding: 3rem 2.8rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.svc-card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.svc-card-num {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(177, 55, 156, 0.55);
    user-select: none;
}

.svc-card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: linear-gradient(135deg, rgba(177, 55, 156, 0.18), rgba(127, 64, 153, 0.18));
    border: 1px solid rgba(177, 55, 156, 0.22);
}

.svc-card-icon-box svg {
    overflow: visible;
    max-width: 32px;
    max-height: 32px;
}

.svc-card-pill {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(177, 55, 156, 0.4);
    color: var(--primary-accent);
    background: rgba(177, 55, 156, 0.07);
}

.svc-card-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0.3rem 0 0;
    line-height: 2;
}

.svc-card-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(to left, var(--primary-accent), transparent);
    border-radius: 2px;
    margin: 0.2rem 0 0.6rem;
}

.svc-card-info p {
    font-size: 0.98rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    flex: 1;
}

.svc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200% auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(177, 55, 156, 0.3);
    align-self: flex-start;
    animation: gradientPan 4s linear infinite;
}

.svc-card-btn::after {
    content: '←';
}

.svc-card-btn:hover {
    box-shadow: 0 8px 28px rgba(177, 55, 156, 0.5);
    transform: translateY(-5px);
    background: transparent;
    border: 2px solid var(--primary-accent);
    animation-play-state: paused;
}

.svc-swipe-hint {
    text-align: center;
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.svc-swipe-hint span {
    display: inline-block;
    animation: swipeWiggle 2s ease-in-out infinite;
}

.svc-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.svc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(177, 55, 156, 0.25);
    border: 1px solid rgba(177, 55, 156, 0.3);
    cursor: pointer;
    transition: all 0.35s ease;
}

.svc-dot.active {
    width: 26px;
    border-radius: 4px;
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    box-shadow: 0 0 10px rgba(177, 55, 156, 0.5);
}


/* ══ Testimonials Section ══ */

.testimonials-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0 8rem 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.testimonials-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    gap: 4rem;
}

/* Swap flex layout for RTL so the video is on the physical left, stats physical right */
.testimonials-container {
    flex-direction: row-reverse;
}

.video-wrapper {
    flex: 1;
    display: flex;
    justify-content: right;
}

.stats-content {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 2rem;
}

.testimonials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 5rem;
    gap: 2rem;
}

.testimonials-eyebrow {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.8rem;
    display: block;
}

.testimonials-title-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

.testimonials-title-main .highlight {
    background: linear-gradient(100deg, #ef60f3, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials-header-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3.5rem !important;
    text-align: right;
    line-height: 1.9;
    margin: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--primary-accent);
}

.stats-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

.stat-item {
    background: linear-gradient(90deg, rgba(177, 55, 156, 0.3), rgba(127, 64, 153, 0.3), rgba(177, 55, 156, 0.3));
    background-size: 200% auto;
    border: 1px solid rgba(177, 55, 156, 0.3);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gradientPan 4s linear infinite;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(177, 55, 156, 0.3);
    border-color: var(--primary-accent);
}

.stat-number {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(177, 55, 156, 0.8);
    height: 3.5rem;
    overflow: hidden;
    direction: ltr;
    /* Ensure numbers and reels flow left-to-right */
}

.slot-reel {
    height: 100%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.slot-column {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    will-change: transform;
}

.slot-digit {
    height: 3.5rem;
    /* Must match .stat-number height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1px;
}

.stat-suffix,
.slot-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 1px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

/* ══ Video & Sliders ══ */

.video-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    /* Vertical video size */
    height: 560px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(177, 55, 156, 0.4);
    border: 2px solid rgba(177, 55, 156, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(177, 55, 156, 0.6);
    border-color: var(--primary-accent);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s ease;
}

.video-container.video-loaded iframe {
    opacity: 1;
}

.video-cover {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(177, 55, 156, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 0 30px rgba(177, 55, 156, 0.6);
    transition: all 0.3s ease;
}

.video-cover:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-accent);
    box-shadow: 0 0 40px rgba(177, 55, 156, 0.8);
}

.video-container.video-loaded .video-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.testimonials-slider-row {
    display: flex;
    gap: 3.5rem;
    /* Increased space between cards */
    width: 100%;
    overflow-x: auto;
    padding: 3rem 1rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.testimonials-slider-row::-webkit-scrollbar {
    display: none;
}

.testimonials-slider-row.active-dragging {
    cursor: grabbing;
    user-select: none;
}

.testimonials-slider-row.active-dragging .video-cover {
    pointer-events: none;
}

.slider-video-card {
    min-width: 440px;
    /* Wider for horizontal frame */
    max-width: 440px;
    flex-shrink: 0;
}

.slider-video-card .video-container {
    max-width: 100%;
    height: 250px;
    /* 16:9 approx height */
}

.slider-video-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-accent);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Cairo', sans-serif;
    opacity: 0.9;
}

#loginmsg{
    padding: 10px 30px;
    width: 100%;
    border-radius: 21px;
    margin-bottom: 34px;
    display: none;
}

.perror{
    background: #7b0404;
}

.success{
    background: #047b34;
}


.video-num-text {
    background: linear-gradient(100deg, #ef60f3, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.video-card-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0;
    font-weight: 700;
    margin-right: 0.5rem;
}

.slider-video-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(177, 55, 156, 0.3), transparent);
    border-radius: 2px;
    margin-right: 1rem;
}


.testimonials-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(177, 55, 156, 0.25);
    border: 1px solid rgba(177, 55, 156, 0.3);
    cursor: pointer;
    transition: all 0.35s ease;
}

.testimonials-dot.active {
    width: 26px;
    border-radius: 4px;
    background: var(--primary-accent);
    box-shadow: 0 0 10px rgba(177, 55, 156, 0.5);
}

/* ══ Clients Section ══ */

.clients-section {
    padding: 8rem 0 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.clients-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
    width: 100%;
    gap: 2rem;
    text-align: right;
}

.clients-marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    /* Fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-marquee-track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
    align-items: center;
}

.client-logo {
    height: 90px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    object-fit: contain;
}

.client-logo:hover {
    transform: scale(1.7);
}

.marquee-divider {
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary-accent);
    transform: rotate(45deg);
    border-radius: 2px;
    opacity: 0.3;
    flex-shrink: 0;
    margin: 0 1rem;
}


/* ══ Contact Section ══ */

.contact-section {
    padding: 10rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: right;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.15;

}

.contact-info h2 .highlight {
    background: linear-gradient(100deg, #ef60f3, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-sub {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: flex-end;
    /* Align to the right wrap */
}

.contact-info-sub p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
    max-width: 350px;
    text-align: right;
}

.asterisk-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.asterisk-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-accent);
    animation: slowRotate 15s infinite linear;
}

.contact-form-card {
    background: rgba(20, 8, 35, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(177, 55, 156, 0.5);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-form-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(177, 55, 156, 0.5);
    border-color: rgba(177, 55, 156, 0.5);
}

.contact-form-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(177, 55, 156, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 0 1rem;
}

.form-group-modern label {
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    text-align: right;
}

.form-group-modern input,
.form-group-modern textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.6rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-accent);
    box-shadow: 0 0 15px rgba(177, 55, 156, 0.3);
}

.submit-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200% auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(177, 55, 156, 0.3);
    align-self: flex-start;
    animation: gradientPan 4s linear infinite;
}

.submit-btn-modern::after {
    content: '←';
}

.submit-btn-modern:hover {
    box-shadow: 0 8px 28px rgba(177, 55, 156, 0.5);
    transform: translateY(-5px);
    background: transparent;
    border: 2px solid var(--primary-accent);
    animation-play-state: paused;
}

/* ══ Promo Section ══ */

.full-width-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.full-width-section .bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0;
    transform: translateX(-100%);
    transition: none;
}

.full-width-section.visible-slide .bg-img {
    animation: slideInLeftFast 0.4s ease-out forwards;
}

.section-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 10%;
    box-sizing: border-box;
    z-index: 2;
}

.overlay-img {
    max-width: 46%;
    height: auto;
    object-fit: contain;
    align-self: flex-end;
    opacity: 0;
}

.full-width-section.visible-slide .overlay-img {
    animation: fadeInScale 0.8s ease-out 0.4s forwards;
}

.overlay-text-content {
    flex: 1;
    text-align: right;
    padding-right: 5%;
    opacity: 0;
}

.full-width-section.visible-slide .overlay-text-content {
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
}

.promo-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.7;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.promo-title .highlight {
    color: var(--primary-accent);
    display: block;
}

/* ══ Packages Page Styles ══ */
.packages-hero-section {
    padding: 12rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.packages-hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: url('../imgs/logo2.webp') no-repeat center;
    background-size: contain;
    opacity: 0.15;
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}

.pkg-tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pkg-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Cairo', sans-serif;
    position: relative;
    z-index: 1;
}

.pkg-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pkg-tab.active {
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0px 10px 20px rgba(177, 55, 156, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: gradientPan 4s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pkg-tab .tab-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pkg-tab .tab-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 600;
}

.pkg-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 8rem;
    perspective: 1000px;
}

.pkg-card {
    flex: 0 1 358px;
    width: 100%;
    max-width: 380px;
    background: rgba(20, 8, 35, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 35px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.pkg-card:hover {
    transform: translateY(-20px) rotateX(2deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(239, 96, 243, 0.25);
    background: rgba(30, 12, 50, 0.6);
    z-index: 10;
}

.pkg-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
}

.pkg-card.highlight-pkg {
    border: none;
    background: rgba(35, 15, 60, 0.5);
}

.pkg-card.highlight-pkg::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-accent), #ff8a00, var(--secondary-accent));
    background-size: 200% 200%;
    animation: gradientBorderMove 4s ease infinite;
}

@keyframes gradientBorderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cat-section {
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.cat-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.cat-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 2px;
}

.best-seller-ribbon {
    position: absolute;
    top: -20px;
    right: 30px;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(229, 46, 113, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(229, 46, 113, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(229, 46, 113, 0.8);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 15px rgba(229, 46, 113, 0.4);
        transform: scale(1);
    }
}

.pkg-name {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pkg-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-accent);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-shadow: 0 5px 15px rgba(177, 55, 156, 0.3);
}

.pkg-price .currency {
    font-size: 1.3rem;
    opacity: 0.8;
    color: #fff;
    text-shadow: none;
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pkg-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    text-align: right;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
}

.pkg-feature:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-5px);
}

.pkg-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 5px;
    color: #ef60f3;
    filter: drop-shadow(0 0 5px rgba(239, 96, 243, 0.5));
}

.pkg-btn {
    margin-top: auto;
    width: 80%;
    padding: 0.9rem 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pkg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-accent), #ef60f3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pkg-btn:hover {
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(177, 55, 156, 0.4);
    transform: translateY(-3px);
}

.pkg-btn:hover::before {
    opacity: 1;
}

/* ══ Jobs Page Styles ══ */
.job-card {
    background: rgba(20, 8, 35, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.job-card:hover {
    transform: translateY(-15px);
    background: rgba(30, 12, 50, 0.6);
    border-color: var(--primary-accent);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(239, 96, 243, 0.2);
}

.job-info-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

.job-info-row svg {
    width: 24px;
    height: 24px;
    color: #ef60f3;
    filter: drop-shadow(0 0 5px rgba(239, 96, 243, 0.5));
    flex-shrink: 0;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ef60f3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apply-btn {
    margin-top: 1rem;
    width: 80%;
    padding: 0.5rem;
    margin-right: auto;
    margin-left: auto;
    background-size: 200% auto !important;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 10px 20px rgba(177, 55, 156, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
    border: 2px solid transparent;
    animation: gradientPan 4s linear infinite;
}

.apply-btn-ai-1 {
    margin-top: 1rem;
    width: 80%;
    padding: 0.5rem;
    margin-right: auto;
    margin-left: auto;
    background-size: 200% auto !important;
    border-radius: 50px;
    background: linear-gradient(90deg, #9063f9, #532fa7, #9063f9);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 10px 20px rgb(153 55 177 / 30%);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
    border: 2px solid transparent;
    animation: gradientPan 4s linear infinite;
}

.apply-btn-ai-2 {
    margin-top: 1rem;
    width: 80%;
    padding: 0.5rem;
    margin-right: auto;
    margin-left: auto;
    background-size: 200% auto !important;
    border-radius: 50px;
    background: linear-gradient(90deg, #5a91a1, #285765, #5a91a1);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 10px 20px rgb(55 166 177 / 30%);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
    border: 2px solid transparent;
    animation: gradientPan 4s linear infinite;
}

.apply-btn-ai-1:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(177, 55, 156, 0.4);
    filter: brightness(1.1);
}

.apply-btn-ai-2:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(177, 55, 156, 0.4);
    filter: brightness(1.1);
}

.apply-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(177, 55, 156, 0.4);
    filter: brightness(1.1);
}

/* ══ Clients Page Styles ══ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.logo-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.logo-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 96, 243, 0.15);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.logo-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* ══ Success Stories Page Styles ══ */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.story-card {
    background: rgba(30, 15, 60, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-card::before {
    content: "“";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(239, 96, 243, 0.1);
    font-family: serif;
    line-height: 1;
}

.story-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 22, 90, 0.6);
    border-color: var(--primary-accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.story-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
}

.story-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-author-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-accent), #ef60f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.story-video-container {
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.story-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ══ Privacy Policy & Terms Styles ══ */
.policy-container {
    max-width: 900px;
    margin: 0 auto 100px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.policy-content h2 {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(177, 55, 156, 0.2);
    padding-bottom: 0.8rem;
}

.policy-content h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.policy-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.policy-content li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.policy-content li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 2rem;
        border-radius: 20px;
    }
}

/* ══ Auth Section (Login/Sign Up) ══ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at 10% 10%, rgba(177, 55, 156, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(127, 64, 153, 0.05) 0%, transparent 50%);
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.auth-info {
    color: #fff;
}

.auth-info h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.auth-info p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.auth-features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.auth-feature-item i {
    width: 32px;
    height: 32px;
    background: rgba(177, 55, 156, 0.1);
    border: 1px solid rgba(177, 55, 156, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
}

.auth-card {
    width: 100%;
    max-width: 500px;
    /* Reduced from 600px */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(177, 55, 156, 0.15);
    border-radius: 35px;
    padding: 3rem;
    /* Reduced from 4rem */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(177, 55, 156, 0.05);
    position: relative;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    color: var(--primary-accent);
    transform: translateX(5px);
}

/* Responsive Auth */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .auth-info p {
        margin: 0 auto 3rem;
    }

    .auth-features {
        justify-content: center;
    }

    .auth-info h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .auth-card {
        padding: 2.5rem 1.5rem;
        border-radius: 25px;
    }

    .auth-section {
        padding-top: 6rem;
    }
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    padding: 0.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-tab {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 13px;
    font-size: 1.1rem;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary-accent), #7f4099);
    color: #fff;
    box-shadow: 0 8px 20px rgba(177, 55, 156, 0.3);
}

.auth-form {
    display: none;
    animation: authFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.auth-form.active {
    display: block;
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.5rem 1.25rem;
    /* Slightly reduced vertical padding */
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Explicitly set here too */
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(177, 55, 156, 0.08);
    box-shadow: 0 0 25px rgba(177, 55, 156, 0.15);
}

.social-login {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #1a1a1a;
    border-radius: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
}

.btn-google:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-google svg {
    width: 24px;
    height: 24px;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    font-weight: 600;
}

.auth-footer a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 800;
    margin-right: 0.5rem;
}

/* ══ AI Page Styles ══ */
.ai-hero {
    padding: 7rem 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ai-logo-gif {
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(177, 55, 156, 0.3));
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

main {
    position: relative;
    width: 100%;
}

.ai-hero h1 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .ai-hero h1 {
        font-size: 2rem;
    }

    .ai-hero {
        padding: 5rem 0 2rem;
    }

    .ai-logo-gif {
        width: 220px;
    }
}

.ai-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ai-video-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.ai-video-container {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
}

.ai-video-cover {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ai-video-container:hover .ai-video-cover {
    transform: scale(1.05);
}

.ai-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(177, 55, 156, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(177, 55, 156, 0.5);
    transition: all 0.3s ease;
}

.ai-video-container:hover .ai-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-accent);
}

.ai-services-grid {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.ai-services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .ai-services-wrapper {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .ai-services-grid {
        padding: 3rem 0;
    }
}

.ai-service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    position: relative;
}

.ai-service-card.interview-card {
    background-color: rgba(18, 0, 36, 0.75);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid #9f4edea8;
    box-shadow: inset -11px 12px 20px 9px #c070ff33, inset -4px -3px 8px 0px #c070ff5e, 7px -2px 14px 3px #c070ff40, 5px 5px 10px #c070ff2e;
}

.ai-service-card.resume-card {
    background-color: rgba(18, 0, 36, 0.75);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid #56b3daa8 !important;
    box-shadow: inset 10px -11px 20px 9px #56b3da33, inset 5px 5px 8px 0px #56b3da5e, -5px 6px 14px 3px #56b3da40, -5px -5px 10px #c070ff2e !important;
}



.ai-card-icon {
    width: 130px;
    height: 130px;
    margin-bottom: 2rem;
    object-fit: contain;
}

.ai-service-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #fff;
}

.ai-service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 115px;
}

/* Why Us Vanilla Classes */
#why-us {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.why-us-item {
    text-align: center;
}

.why-us-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
}

.icon-wrapper-whyus {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3.75rem;
    /* 60px */
    margin-top: 1.875rem;
    /* 30px */
}

.icon-border-whyus {
    border: 2px solid rgba(177, 55, 156, 0.2);
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.why-us-item:nth-child(1) .icon-border-whyus,
.why-us-item:nth-child(2) .icon-border-whyus {
    border-color: rgb(167, 83, 244);
}

.why-us-item:nth-child(3) .icon-border-whyus,
.why-us-item:nth-child(4) .icon-border-whyus {
    border-color: rgb(108, 185, 241);
}

.icon-border-whyus:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    background: rgba(177, 55, 156, 0.05);
}

.why-us-item h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.text-brand-light {
    color: var(--primary-accent);
}

.why-us-title .text-brand-light {
    color: #a753f4;
}

#particles-js {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.particles-js-canvas-el {
    width: 80% !important;
    height: 50% !important;
    position: absolute;
    top: 500px;
    z-index: 3;
    left: 10%;
}

@media (max-width: 768px) {
    .ai-hero h1 {
        font-size: 1.4rem;
    }

    .ai-hero p {
        font-size: 0.8rem;
    }

    .ai-service-card h2 {
        font-size: 1.4rem;
    }

    .ai-service-card p {
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.7;
        margin-bottom: 2.5rem;
        font-size: 0.9rem;
    }

    .ai-services-grid {
        grid-template-columns: 1fr;
    }

    .ai-service-card {
        padding: 3rem 2rem;
    }

    .ai-card-icon {
        width: 140px;
        height: 140px;
    }

    .why-us-title {
        font-size: 2rem;
    }
}

/* ══ Footer ══ */

.site-footer {
    background: linear-gradient(180deg, rgba(21, 14, 32, 0) 0%, rgba(21, 14, 32, 1) 20%);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    width: 100vw;
}

.container-center {
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 140px;
    height: auto;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(100deg, #ef60f3, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(177, 55, 156, 0.3);
    border-color: transparent;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 25px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li {
    text-align: right;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.contact-list .spacer {
    height: 1.2rem;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* ══ Floating Features ══ */

.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #ef60f3, var(--primary-accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(177, 55, 156, 0.5);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-fab:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(239, 96, 243, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-fab svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Themed Pulse Animation */
.whatsapp-fab::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-accent);
    z-index: -1;
    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


/* ══ Animations ══ */

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Neon light turn on sequence */
@keyframes turnOnSequence {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 1;
        fill: #ffffff;
    }

    40% {
        /* Takes 2s to fill */
        clip-path: inset(0% 0 0 0);
        opacity: 1;
        fill: #ffffff;
    }

    /* Slow Flashing */
    45% {
        opacity: 0.2;
        fill: #ffffff;
    }

    55% {
        opacity: 1;
        fill: #ffffff;
    }

    65% {
        opacity: 0.2;
        fill: #ffffff;
    }

    75% {
        opacity: 1;
        fill: #ffffff;
    }

    85% {
        opacity: 0.2;
        fill: #ffffff;
    }

    90% {
        opacity: 0.8;
        fill: #ffffff;
    }

    95% {
        opacity: 0.4;
        fill: #ffffff;
    }

    100% {
        clip-path: inset(0% 0 0 0);
        opacity: 1;
        fill: #ffffff;
    }
}

@keyframes st0GlowSequence {
    0% {
        fill: #3b1548;
    }

    40% {
        /* 2s */
        fill: url(#st0-glow);
    }

    /* Slow Flashing synced to light */
    45% {
        fill: #3b1548;
    }

    55% {
        fill: url(#st0-glow);
    }

    65% {
        fill: #3b1548;
    }

    75% {
        fill: url(#st0-glow);
    }

    85% {
        fill: #3b1548;
    }

    90% {
        fill: url(#st0-glow);
    }

    95% {
        fill: #3b1548;
    }

    100% {
        fill: url(#st0-glow);
    }
}

@keyframes glowSequence {
    0% {
        filter: drop-shadow(0px 0px 30px rgba(177, 55, 156, 0.3));
    }

    40% {
        /* 2s */
        filter: drop-shadow(0px 0px 60px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 20px rgba(177, 55, 156, 0.6));
    }

    /* Slow Flashing */
    45% {
        filter: drop-shadow(0px 0px 10px rgba(177, 55, 156, 0.3));
    }

    55% {
        filter: drop-shadow(0px 0px 60px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 20px rgba(177, 55, 156, 0.6));
    }

    65% {
        filter: drop-shadow(0px 0px 10px rgba(177, 55, 156, 0.3));
    }

    75% {
        filter: drop-shadow(0px 0px 60px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 20px rgba(177, 55, 156, 0.6));
    }

    85% {
        filter: drop-shadow(0px 0px 10px rgba(177, 55, 156, 0.3));
    }

    90% {
        filter: drop-shadow(0px 0px 40px rgba(255, 255, 255, 0.5)) drop-shadow(0px 0px 15px rgba(177, 55, 156, 0.4));
    }

    95% {
        filter: drop-shadow(0px 0px 20px rgba(177, 55, 156, 0.3));
    }

    100% {
        filter: drop-shadow(0px 0px 80px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 30px rgba(177, 55, 156, 0.6));
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 3rem));
    }
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes swipeWiggle {

    0%,
    100% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(-8px);
    }

    60% {
        transform: translateX(8px);
    }
}

@keyframes slideInLeftFast {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 0.7;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateX(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


/* ══ Media Queries ══ */

@media (min-width: 568px) {
    .container {
        width: 550px;
    }
}

@media (min-width: 750px) {
    .container {
        width: 700px;
    }
}

@media (min-width: 1024px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }

    .hero-section {
        width: 1170px !important;
    }

    .hero-description {
        max-width: 75%;
    }
}

@media (min-width: 1400px) {
    .hero-section {
        width: 1370px !important;
    }
}


@media (min-width: 4500px) {
    .hero-section {
        margin-top: 3%;
        width: 1370px;
    }

    .container {
        width: 1170px;
    }

    .svg-container {
        margin-left: 0px;
    }
}

@media (max-width: 1500px) {
    .hero-section {
        margin-top: 5%;
    }

    .svg-container {
        margin-left: 0px;
    }

    .promo-title {
        font-size: 2rem;
    }
}

@media (max-width: 1100px) {
    .svc-deck-stack {
        width: 88%;
    }

    .contact-form-card {
        padding: 2rem;
        width: 70%;
    }

    .contact-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 3.5rem;
    }



    .contact-info {
        align-items: center;
        text-align: center;
    }

    .contact-info-sub {
        justify-content: center;
    }

    .contact-info h2 {
        font-size: 2.8rem;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-header-sub {
        text-align: right;
        max-width: 100%;
    }

    .services-title-main {
        font-size: 2.6rem;
    }
}

@media (max-width: 1024px) {
    .video-container {
        max-width: 300px;
        min-width: 300px;
        height: 530px;
    }

    .testimonials-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-particles-container {
        left: -70px;
        top: 302px;
    }

    .stats-content {
        align-items: center;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-top: 100px;
    }

    .main-title {
        font-size: 2.5rem;
        text-align: center;
        width: 100%;
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
        padding: 0 5%;
    }

    .cta-button {
        align-self: center;
        /* Center the button in column view */
    }

    .hero-section-left-side {
        flex: unset;
        width: 100%;
    }

    .man-image {
        width: 325px;
    }

    .promo-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        display: none;
    }

    .footer-logo,
    .footer-socials {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto 2.5rem;
    }

    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links li {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-overlay-content {
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        text-align: center;
    }

    .overlay-text-content {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .promo-title {
        font-size: 2rem;
    }

    .overlay-text-content {
        display: none;
    }

    .overlay-img {
        max-width: 64%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-card {
        padding: 2rem;
        width: 80%;
    }

    .testimonials-section {
        padding: 3rem 1rem 6rem;
    }



    .hero-particles-container {
        left: -5px;
        top: 222px;
    }

    .asterisk-icon {
        width: 40px;
        height: 40px;
        margin-left: 20px;
    }

    .contact-info-sub p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .video-container {
        max-width: 300px;
        min-width: 300px;
        height: 530px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        margin-top: 8rem;
        margin-bottom: 3rem;
    }

    .text-content {
        text-align: center;
        margin-right: 0px;
        align-items: center;
        /* Center everything when wrapping */
    }

    .main-title {
        font-size: 2rem;
    }

    .hero-section-left-side {
        justify-content: center;
        width: 100%;
    }

    .man-image {
        width: 325px;
    }

    .svg-container {
        margin-left: 5rem;
    }

    .man-image {
        width: 250px;
    }

    .svg-container svg {
        max-width: 165px;
        margin-left: 240px;
    }

    .hero-description {
        padding: 0px 5%;
    }

    .whatsapp-fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-fab svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 750px) {
    .svc-deck-stack {
        width: 96%;
        height: 680px;
    }

    .svc-card-deck {
        flex-direction: column;
    }

    .svc-card-img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 549px) {
    .container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-section {
        padding: 5rem 0;
    }

    .login-link span {
        display: none;
    }

    .login-link {
        padding: 0.5rem;
        width: 32px;
        height: 28px;
        border-radius: 24%;
        /* Restoring the look from before text was added */
    }

    .hero-particles-container {
        left: -11px;
        top: 268px;
    }

    .testimonials-slider-row {
        gap: 1.2rem;
        padding-top: 1rem;
    }

    .slider-video-card {
        min-width: 260px;
        max-width: 260px;
    }

    .slider-video-card .video-container {
        height: 145px;
    }

    /* Main vertical testimonial video */
    .video-container {
        max-width: 260px;
        min-width: 260px;
        height: 480px;
    }

    .stat-number {
        font-size: 1.5rem;
        height: 2rem;
    }

    .slot-digit {
        height: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stats-grid {
        gap: 0.4rem;
    }

    .stat-item {
        padding: 1rem 0.2rem;
    }

    .testimonials-title-main {
        width: 100%;
        font-size: 1.8rem;
        text-align: right;
    }

    .testimonials-header-sub {
        width: 100%;
        margin-top: 1rem !important;
        text-align: right;
        font-size: 0.95rem;
        padding: 0;
    }

    .testimonials-header,
    .services-header,
    .clients-header {
        flex-direction: column !important;
        align-items: unset !important;
        text-align: right;
        margin-bottom: 2rem !important;
        gap: 1rem !important;
    }

    .testimonials-header>div,
    .services-header>div,
    .clients-header>div {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .text-content {
        margin-right: 0px;
        align-items: center;
    }

    .svc-deck-stack {
        width: 96%;
        height: 710px;
    }

    .svc-card-num {
        font-size: 3rem;
    }

    .main-title {
        font-size: 1.7rem;
    }

    .svg-container {
        margin-left: 10px;
    }

    .man-image {
        width: 250px;
    }

    .svg-container svg {
        max-width: 165px;
        margin-left: 240px;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0px 5%;
    }
}

/* ══ Loading Overlay ══ */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(21, 14, 32, 0.88);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading::after {
    content: "";
    display: block;
    position: absolute;
    top: 45%;
    left: 45%;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-accent);
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(177, 55, 156, 0.5);
}

@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}