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

:root {
    /* Colors */
    --bg-primary: #130F25;
    /* Lightened from #0A0118 for better visibility */
    --bg-secondary: #F8F9FA;
    --text-primary: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --purple-primary: #7C3AED;
    --purple-dark: #5B21B6;
    --purple-light: #A78BFA;
    --accent-pink: #EC4899;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-bg-main: radial-gradient(circle at 50% 0%, #1e1635 0%, #130F25 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==================== CUSTOM CURSOR ==================== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform var(--transition-fast);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    position: fixed;
    top: -16px;
    left: -16px;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, background var(--transition-fast), border-color var(--transition-fast);
}

.cursor-active .cursor-follower {
    transform: scale(1.5);
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--purple-primary);
}

@media (max-width: 1024px) {

    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

/* ==================== BACKGROUND BLOBS ==================== */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-primary);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: moveBlobs 20s infinite alternate;
}

.blob-1 {
    background: var(--purple-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    background: var(--accent-pink);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    background: #4f46e5;
    top: 40%;
    left: 20%;
    width: 300px;
    height: 300px;
    animation-delay: -10s;
}

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

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    background-image: var(--gradient-bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 0;
}

header .container.nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

header.scrolled .nav-container {
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: url('../img/logo-1-16be91.png') center/contain no-repeat;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

/* Mobile Toggle Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--purple-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Toggle Animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-only-btn {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

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

    .desktop-only-btn {
        display: none;
    }

    .mobile-only-btn {
        display: block;
        margin-top: 1rem;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--purple-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #1e1b4b 0%, #0a0118 50%);
}

.hero-background-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: url('../img/hero-bg-41177a.png') bottom center/cover no-repeat;
    z-index: 1;
    opacity: 0.4;
    mask-image: linear-gradient(to top, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

.hero-top-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.typewriter-text {
    border-right: 3px solid var(--purple-primary);
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--purple-primary)
    }
}

.hero-description {
    font-size: 1.5rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==================== VISION & VALUES ==================== */
.vision-values {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
}

.vision-values-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/vision-values-bg-1f86d8.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.vision-values .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Top Grid: Vision & Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 991px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

.main-card {
    background: linear-gradient(135deg, rgba(23, 16, 48, 0.9) 0%, rgba(32, 22, 58, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .main-card {
        padding: 2.5rem 1.5rem;
        min-height: auto;
    }

    .main-card p {
        font-size: 1.1rem;
        margin-top: 3.5rem;
    }
}

/* Badge Style for Vision/Mission/Values Headers */
.card-badge,
.values-header-badge {
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    z-index: 2;
}

@media (max-width: 768px) {

    .card-badge,
    .values-header-badge {
        padding: 0.4rem 1rem;
        top: 1.5rem;
    }

    .card-badge h3,
    .values-header-badge h3 {
        font-size: 1rem;
    }
}

/* RTL is now default - badges positioned to right */

.card-badge h3,
.values-header-badge h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.card-badge i,
.values-header-badge i {
    font-size: 1.2rem;
}

.main-card p {
    margin-top: 4rem;
    /* Space for the badge */
    font-size: 1.2rem;
    line-height: 1.8;
    color: #FFFFFF;
    font-weight: 500;
    text-align: right;
}

/* Values Container (Bottom) */
.values-container {
    background: linear-gradient(135deg, rgba(23, 16, 48, 0.9) 0%, rgba(32, 22, 58, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 2rem 2rem;
    /* Top padding for the absolute badge */
    position: relative;
}

.values-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

@media (max-width: 1024px) {
    .values-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-items-grid {
        grid-template-columns: 1fr;
    }

    .value-box:not(:last-child)::after {
        display: none;
    }
}

.value-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    /* Removed individual background to match the "clean row" look in image, or keep subtle? Image shows them as columns. */
    position: relative;
}

/* Vertical separators between value items */
.value-box:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -0.75rem;
    /* Adjust based on gap */
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Adjust for RTL separators */
body[dir="rtl"] .value-box:not(:last-child)::after {
    left: auto;
    right: -0.75rem;
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.value-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.value-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .values-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-box:nth-child(2)::after {
        display: none;
        /* Remove separator on grid wrap */
    }
}

@media (max-width: 768px) {
    .values-items-grid {
        grid-template-columns: 1fr;
    }

    .value-box::after {
        display: none;
    }
}


/* ==================== STRATEGIC GOALS ==================== */
.strategic-goals {
    padding: 4rem 0 6rem;
    background: #FFFFFF;
    /* Changed to white */
    position: relative;
    overflow: hidden;
}

/* Background Lines Decoration - Top */
.lines-bg {
    position: absolute;
    top: 22%;
    /* Positioned below the title */
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: 70%;
    background: url('../img/vision-values-bg-1f86d8.png') top center/contain no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Background Lines Decoration - Bottom */
.lines-bg-bottom {
    position: absolute;
    bottom: 5%;
    /* Moved even closer inside */
    left: 50%;
    transform: translate(-50%, 0) scaleY(-1);
    width: 100%;
    height: 90%;
    /* Increased coverage */
    background: url('../img/vision-values-bg-1f86d8.png') top center/contain no-repeat;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.strategic-goals .container {
    position: relative;
    z-index: 1;
}

.strategic-goals .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 5rem;
    padding-bottom: 1.5rem;
    color: var(--text-dark);
    /* Changed to dark text for contrast on white bg */
    letter-spacing: -0.02em;
    position: relative;
    z-index: 10;
}

.strategic-goals .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    border-radius: 2px;
}

.goals-layout-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Top Wide Card */
.goal-card-wide {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3rem 4rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Bottom Row Container */
.goals-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Bottom Small Cards */
.goal-card-small {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* White Card Content Styling */
.goal-header-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-direction: row-reverse;
    /* Icon on right of text visually in text-align center context */
}

.goal-header-inline h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A1A1A;
    /* Dark text */
    margin: 0;
}

.goal-icon-circle {
    width: 40px;
    height: 40px;
    background: #2D1B4E;
    /* Dark Purple Icon Bg */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.goal-card-wide p,
.goal-card-small p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    /* Dark Grey text */
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .goals-bottom-row {
        grid-template-columns: 1fr;
    }

    .goal-card-wide {
        padding: 2rem;
    }

    .goal-header-inline {
        flex-direction: column-reverse;
        /* Icon on top on mobile */
        gap: 0.5rem;
    }
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    background: radial-gradient(circle at 75% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
}

.products-section .section-title {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
}

.products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    border-radius: 2px;
}

/* Container for the Cards */
.products-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Hero Card (Main Product) --- */
.product-hero-card {
    background: linear-gradient(145deg, #1E1635 0%, #130B24 100%);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

@media (max-width: 768px) {
    .product-hero-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
}

.product-hero-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Inner Layout */
.product-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* Right Side: Info */
.product-info-side {
    text-align: right;
    direction: rtl;
}

@media (max-width: 991px) {
    .product-info-side {
        text-align: center;
    }
}

.product-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .product-title-group {
        justify-content: center;
    }
}

.product-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 2rem;
    }
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #A855F7;
    border-radius: 50%;
    box-shadow: 0 0 10px #A855F7;
}

.product-hero-subtitle {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 90%;
}

@media (max-width: 768px) {
    .product-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
}

.product-btn {
    background: linear-gradient(90deg, #667EEA 0%, #764BA2 100%);
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(118, 75, 162, 0.5);
}

.product-btn .icon-arrow {
    font-size: 1.1rem;
}

/* Left Side: Visuals */
.product-visual-side {
    position: relative;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

@media (max-width: 768px) {
    .product-visual-side {
        padding: 1.5rem;
    }
}

/* Decoration icons floating */
.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #A78BFA;
}

.quote-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.platform-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.product-hero-quote {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: right;
    position: relative;
}

/* Features Box inside visual side */
.product-features-box {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.handshake-icon {
    position: absolute;
    top: -1.5rem;
    /* Sit on the line */
    left: 50%;
    transform: translateX(-50%);
    background: #18122B;
    /* Match card bg */
    padding: 0 1rem;
    color: #EC4899;
    /* Pinkish accent */
    font-size: 1.5rem;
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: right;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Right aligned text */
    gap: 0.5rem;
    color: #D1D5DB;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-5px);
}

.feature-bullet {
    color: #667EEA;
    font-size: 1.2rem;
    line-height: 0;
}

/* --- Stacked "Soon" Cards --- */
.products-stack .product-card.soon {
    background: linear-gradient(145deg, #241D3B 0%, #1E1635 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.products-stack .product-card.soon:hover {
    transform: translateY(-6px);
    background: linear-gradient(145deg, #2A2244 0%, #201838 100%);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(167, 139, 250, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.product-card.soon h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        /* Stack vertically on smaller screens */
        gap: 3rem;
        text-align: center;
    }

    .product-info-side {
        text-align: center;
    }

    .product-title-group {
        justify-content: center;
    }

    .product-hero-subtitle {
        margin: 0 auto 2rem;
    }

    .product-hero-quote,
    .product-features-list {
        text-align: center;
    }

    .feature-item {
        justify-content: center;
    }
}

/* ==================== FAQ SECTION ==================== */
.why-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    background: radial-gradient(circle at 75% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
}

.why-section .section-title {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
}

.why-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    border-radius: 2px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.faq-item.collapsed {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: right;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.toggle-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s;
}

.faq-item.active .toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.faq-item.active .toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

.faq-item.collapsed .toggle-line:first-child {
    transform: rotate(0deg);
}

.faq-item.collapsed .toggle-line:last-child {
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.faq-answer ul {
    list-style: none;
    padding-right: 1rem;
}

.faq-answer ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer ul li::before {
    content: '•';
    color: var(--purple-light);
    font-weight: bold;
    position: absolute;
    right: -1rem;
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.team-section .section-title {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
}

.team-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    border-radius: 2px;
}

.team-members-container {
    width: 100%;
    padding: 2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.team-members-carousel-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 0;
    scroll-behavior: smooth;
}

/* === Control Center === */
.team-carousel-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .team-carousel-controls {
        gap: 1rem;
    }

    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.carousel-nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
}

.carousel-nav-btn:hover {
    background: var(--purple-primary);
    border-color: var(--purple-light);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--purple-primary);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

/* === Team Grid Alternative === */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.team-members-carousel {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.team-member-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: right;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 580px;
    min-width: 580px;
    max-width: 580px;
    gap: 2rem;
    transform-style: preserve-3d;
    perspective: 1500px;
    flex-shrink: 0;
}

.team-member-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 70%);
    pointer-events: none;
}

.team-member-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.team-member-card {
    color: #fff;
}

.team-members-grid .team-member-card {
    width: 100%;
    min-width: unset;
    max-width: unset;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

.team-member-card:hover {
    transform: translateY(-10px) rotateY(-3deg) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25),
        0 0 0 1px rgba(124, 58, 237, 0.1);
}

.team-member-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.team-member-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.team-member-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member-card:hover .team-member-image {
    transform: scale(1.08) rotateY(10deg);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.team-member-card:hover .team-member-image::after {
    opacity: 1;
}

.team-member-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.team-member-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-member-role {
    font-size: 0.9rem;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.2rem;
    font-weight: 800;
    opacity: 1;
    /* Made fully opaque */
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.team-member-card:hover .team-member-name {
    color: #a78bfa;
}

.team-member-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #FFFFFF;
    /* High contrast white */
    margin-bottom: 2rem;
    min-height: 80px;
    font-weight: 500;
}

.social-link.github {
    background: linear-gradient(135deg, #181717 0%, #333333 100%);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.team-member-social {
    display: flex;
    justify-content: flex-start;
    /* Align with text (Right in RTL) to prevent clipping */
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: rotate(360deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .team-members-grid .team-member-card {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .team-members-carousel {
        flex-direction: column;
        gap: 2rem;
        animation: none;
    }

    .team-member-card {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .team-member-content {
        text-align: center;
    }

    .team-member-social {
        justify-content: center;
    }

    .team-member-image-wrapper {
        width: 120px;
        height: 120px;
    }
}

/* ==================== TEAM TEXT CARD ==================== */
.team-text-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-text-card-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(92, 39, 176, 0.25) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    overflow: hidden;
}

.team-text-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

.team-text-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(167, 139, 250, 0.4);
    z-index: 1;
}

.team-text-content {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 2;
    text-align: justify;
    direction: rtl;
}

.team-text-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
}

.decoration-shape.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    bottom: -60px;
    left: -30px;
}

.decoration-shape.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    bottom: -20px;
    left: 60px;
}

.decoration-arrow {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    color: rgba(167, 139, 250, 0.5);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .team-text-card-inner {
        padding: 2rem 1.5rem;
    }

    .team-text-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .team-text-quote-icon {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
    /* Add subtle gradient behind contact form area */
    background: radial-gradient(circle at 75% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
}

.contact-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: url('../img/contact-img.png') center/cover;
    opacity: 0.1;
    /* Increased opacity slightly */
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-greeting {
    text-align: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    /* Brighter text */
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    /* Lighter glass background */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    /* Pure white label */
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    /* Much lighter input background for contrast */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* Brighter placeholder */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ==================== CONTACT ALERT MESSAGES ==================== */
.contact-alert {
    margin-bottom: 1.5rem;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

.contact-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    direction: rtl;
}

.contact-alert.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    backdrop-filter: blur(10px);
}

.contact-alert.alert-success .alert-icon {
    color: #22c55e;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

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

.contact-alert.alert-success .alert-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
}

.contact-alert.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}

.contact-alert.alert-danger .alert-icon {
    color: #ef4444;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.contact-alert.alert-danger .alert-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
}

/* ==================== FOOTER ==================== */
/* ==================== PREMIUM FOOTER ==================== */
.main-footer {
    background: #0f0720;
    color: #ffffff;
    padding: 0;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
}

.footer-wave {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-wave .shape-fill {
    fill: #05020a;
}

/* For light mode/dark mode blending */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(124, 58, 237, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.footer-container {
    padding: 60px 20px 30px;
    position: relative;
    z-index: 5;
}

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

.footer-col h4.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), transparent);
    border-radius: 2px;
}

/* Brand Column */
.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand-col .footer-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
}

.brand-col .logo-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-col .logo-text span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Social Links Premium */
.social-links-premium {
    display: flex;
    gap: 12px;
}

.social-link-item {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-item:hover {
    transform: translateY(-5px);
    background: var(--purple-primary);
    border-color: var(--purple-light);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-menu li a i {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--purple-light);
    transform: translateX(-5px);
}

.footer-menu li a:hover i {
    opacity: 1;
    transform: translateX(-3px);
}

/* Contact Info */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }

    .brand-col {
        grid-column: span 3;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col h4.footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .brand-col {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links-premium {
        justify-content: center;
    }

    .footer-menu li a {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }
}


/* ==================== COMPREHENSIVE RESPONSIVENESS ==================== */
@media (max-width: 1024px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {

    /* Force full-width header on mobile */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        z-index: 1000 !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    header .container.nav-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 70px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        position: relative !important;
    }

    .logo-section {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1100 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        padding: 2rem;
    }

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

    .whatsapp-float {
        bottom: 20px !important;
        left: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
    }

    .desktop-only-btn {
        display: none !important;
    }

    .mobile-only-btn {
        display: block !important;
        margin-top: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Ensure hero section has proper spacing below fixed header */
    .hero-section {
        padding-top: 90px !important;
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-card {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4.footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .contact-info-footer,
    .social-links-premium {
        align-items: center;
        justify-content: center;
    }

    .brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .header-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Scroll context fix */
body.menu-open {
    overflow: hidden;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.6);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}