/* ============================================
   CSS Variables - Design System
   ============================================ */

:root {
    /* Colors - Blue Theme (matching logo: navy, sky blue, medium blue, white) */
    --color-blue-dark: #0A1929; /* Navy - Deep blue */
    --color-blue: #0789FF; /* Medium blue - Professional blue */
    --color-blue-hover: #0670D6; /* Darker blue - Hover state */
    --color-blue-light: #87CEEB; /* Sky blue - Light blue */
    --color-blue-lighter: #B0E0E6; /* Lighter sky blue */
    --color-blue-bg: #E6F4FF; /* Light blue background */
    --color-blue-gradient: linear-gradient(135deg, #0789FF 0%, #87CEEB 100%);
    --color-blue-gradient-dark: linear-gradient(135deg, #0A1929 0%, #0789FF 100%);
    
    /* Legacy purple variable names - replaced with blue */
    --color-purple-dark: #0A1929; /* Navy */
    --color-purple: #0789FF; /* Medium blue */
    --color-purple-hover: #0670D6; /* Darker blue */
    --color-purple-light: #87CEEB; /* Sky blue */
    --color-purple-lighter: #B0E0E6; /* Lighter sky blue */
    --color-purple-bg: #E6F4FF; /* Light blue background */
    --color-purple-gradient: linear-gradient(135deg, #0789FF 0%, #87CEEB 100%);
    --color-purple-gradient-dark: linear-gradient(135deg, #0A1929 0%, #0789FF 100%);
    
    --color-navy: #1A1A2E;
    --color-navy-hover: #16213E;
    --color-navy-light: #2D2D44;
    
    --color-white: #FFFFFF;
    --color-gray-light: #F8F9FA;
    --color-gray-medium: #E9ECEF;
    --color-gray-dark: #6C757D;
    --color-text-dark: #212529;
    --color-text-light: #495057;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-section: 100px;
    
    /* Layout */
    --container-max-width: 1400px;
    --container-padding: 40px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Container
   ============================================ */

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

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: var(--spacing-section) 0;
}

.section--alt {
    background-color: var(--color-gray-light);
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section__header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section__eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.section__description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ============================================
   Header
   ============================================ */

/* Topbar - Separate from navbar, part of background */
.header__topbar {
    position: relative;
    background-color: var(--color-purple-dark);
    color: var(--color-white);
    padding: var(--spacing-xs) 0;
    font-size: 14px;
    z-index: 1;
}

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

/* Main Navbar - Rounded rectangle floating above */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    padding: var(--spacing-md) var(--container-padding);
    pointer-events: none;
    margin-top: 44px; /* Position below topbar (approximate height) */
}

.header > * {
    pointer-events: auto;
}

.header__wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    margin-top: 0; /* When scrolled, topbar might be hidden */
}

.header.scrolled .header__wrapper {
    border-radius: 12px;
}

.header.scrolled .header__main {
    border-radius: 12px;
}

.header__topbar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__topbar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-size: 14px;
    transition: opacity var(--transition-fast);
}

.header__topbar-item:hover {
    opacity: 0.8;
}

.header__topbar-item i {
    font-size: 12px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 600;
    transition: opacity var(--transition-fast);
}

.header__phone:hover {
    opacity: 0.8;
}

.header__lang {
    display: flex;
    gap: var(--spacing-sm);
}

.header__lang-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.header__lang-link:hover,
.header__lang-link.active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.header__main {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 0 var(--spacing-lg);
    overflow: visible;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header__logo-img {
    height: 50px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--color-purple);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-purple);
    transition: width var(--transition-base);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-item--dropdown {
    position: relative;
}

.header__nav-item--dropdown > .header__nav-link i {
    font-size: 12px;
    margin-left: 4px;
}

.header__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
}

.header__dropdown--wide {
    min-width: 280px;
}

.header__nav-item--dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown li {
    margin: 0;
}

.header__dropdown a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-dark);
    font-size: 14px;
    transition: background-color var(--transition-fast);
}

.header__dropdown a:hover {
    background-color: var(--color-gray-light);
    color: var(--color-purple);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    z-index: 1001;
}

.header__menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    transition: all var(--transition-base);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 50%, var(--color-purple-light) 100%);
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(44px + 80px + var(--spacing-md) * 2) 0 var(--spacing-section); /* Topbar + navbar + padding */
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(135, 206, 235, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(7, 137, 255, 0.2) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero__left {
    z-index: 2;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero__left.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__right {
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero__eyebrow.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__image-wrapper {
    position: relative;
}

.hero__image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: block;
}

.hero__image.animate {
    opacity: 1;
    transform: translateX(0);
    animation: floatOccasional 12s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes floatOccasional {
    0%, 85%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    87% {
        transform: translateY(-8px) translateX(4px) rotate(1deg) scale(1.01);
    }
    89% {
        transform: translateY(-12px) translateX(-3px) rotate(-0.8deg) scale(0.99);
    }
    91% {
        transform: translateY(-6px) translateX(5px) rotate(0.5deg) scale(1.02);
    }
    93% {
        transform: translateY(-10px) translateX(-2px) rotate(-0.3deg) scale(1);
    }
    95% {
        transform: translateY(-4px) translateX(3px) rotate(0.2deg) scale(1.01);
    }
    97% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
}

.hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero__title.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__subtitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-purple-lighter);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero__subtitle.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero__description.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero__actions.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.hero__actions .btn i {
    font-size: 14px;
}

.hero .btn--outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.hero .btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-purple-dark);
}

.btn--large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-purple);
    color: var(--color-purple);
}

.btn--outline:hover {
    background-color: var(--color-purple);
    color: var(--color-white);
}

/* About Company Section */
.about-company {
    padding: var(--spacing-section) 0;
}

.about-company__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-company__left {
    padding-right: var(--spacing-xl);
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-company__left.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-company__right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-company__right.animate {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.about-company__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.about-company__feature {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.about-company__feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 20px;
    flex-shrink: 0;
}

.about-company__feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.about-company__feature-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}


.about-company__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-company__image {
    width: 100%;
    height: auto;
    display: block;
}

.about-company__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--color-purple-gradient);
    color: var(--color-white);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    border-radius: 0 var(--radius-lg) 0 0;
}

.about-company__badge-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-company__badge-text {
    font-size: 14px;
    font-weight: 500;
    margin-top: var(--spacing-xs);
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-purple-gradient);
    color: var(--color-white);
    border: none;
}

.btn--primary:hover {
    background: var(--color-purple-gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 137, 255, 0.4);
}

.btn--block {
    width: 100%;
}

/* ============================================
   About Section
   ============================================ */

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
}

.about__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-light);
}

.about__text p {
    margin-bottom: var(--spacing-md);
}

.about__values h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.values-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
    padding-left: var(--spacing-md);
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-purple);
    font-weight: 600;
}

.values-list strong {
    color: var(--color-navy);
    font-weight: 600;
}

/* ============================================
   Solutions Section
   ============================================ */

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base), opacity 0.6s ease-out, transform 0.6s ease-out;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
}

.solution-card.animate {
    opacity: 1;
    transform: scale(1);
}

.solution-card:nth-child(1).animate { transition-delay: 0.1s; }
.solution-card:nth-child(2).animate { transition-delay: 0.2s; }
.solution-card:nth-child(3).animate { transition-delay: 0.3s; }
.solution-card:nth-child(4).animate { transition-delay: 0.4s; }
.solution-card:nth-child(5).animate { transition-delay: 0.5s; }
.solution-card:nth-child(6).animate { transition-delay: 0.6s; }

.solution-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.solution-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 28px;
}

.solution-card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.solution-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ============================================
   Services Section
   ============================================ */

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-gray-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base), opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

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

.service-card:nth-child(1).animate { transition-delay: 0.1s; }
.service-card:nth-child(2).animate { transition-delay: 0.2s; }
.service-card:nth-child(3).animate { transition-delay: 0.3s; }
.service-card:nth-child(4).animate { transition-delay: 0.4s; }
.service-card:nth-child(5).animate { transition-delay: 0.5s; }
.service-card:nth-child(6).animate { transition-delay: 0.6s; }
.service-card:nth-child(7).animate { transition-delay: 0.7s; }
.service-card:nth-child(8).animate { transition-delay: 0.8s; }
.service-card:nth-child(9).animate { transition-delay: 0.9s; }

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

.service-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 28px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    color: var(--color-purple);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.service-card__link:hover {
    gap: var(--spacing-sm);
    color: var(--color-purple-hover);
}

.service-card__link i {
    font-size: 12px;
}

.service-card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.service-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ============================================
   Why Us Section
   ============================================ */

.why-us__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.feature-item__number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1;
    min-width: 80px;
}

.feature-item__content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.feature-item__content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ============================================
   Partners Section
   ============================================ */

.partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    min-height: 140px;
    transition: all var(--transition-base), opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.partner-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.partner-item:nth-child(1).animate { transition-delay: 0.1s; }
.partner-item:nth-child(2).animate { transition-delay: 0.15s; }
.partner-item:nth-child(3).animate { transition-delay: 0.2s; }
.partner-item:nth-child(4).animate { transition-delay: 0.25s; }
.partner-item:nth-child(5).animate { transition-delay: 0.3s; }
.partner-item:nth-child(6).animate { transition-delay: 0.35s; }

.partner-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.partner-item__logo-img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.partner-item:hover .partner-item__logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-item__logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
    margin-top: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.partner-item:hover .partner-item__logo {
    color: var(--color-purple);
}

/* ============================================
   Contact Section
   ============================================ */

.contact__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}

.form-input {
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--color-gray-medium);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px var(--color-purple-bg);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info__item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info__content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.contact-info__content p {
    font-size: 16px;
    color: var(--color-text-light);
}

/* ============================================
   Footer
   ============================================ */

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base), opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

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

.project-card:nth-child(1).animate { transition-delay: 0.1s; }
.project-card:nth-child(2).animate { transition-delay: 0.2s; }
.project-card:nth-child(3).animate { transition-delay: 0.3s; }
.project-card:nth-child(4).animate { transition-delay: 0.4s; }

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

.project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 137, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__link {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-purple);
    font-size: 18px;
    transition: all var(--transition-base);
}

.project-card__link:hover {
    transform: scale(1.1);
    background: var(--color-purple);
    color: var(--color-white);
}

.project-card__content {
    padding: var(--spacing-md);
}

.project-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.project-card__category {
    font-size: 14px;
    color: var(--color-text-light);
}

.project-card--more {
    background: var(--color-purple-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.project-card--more .project-card__content {
    text-align: center;
}

.project-card--more .project-card__title {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: var(--spacing-md);
}

.project-card--more .project-card__link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* Quick Services Section */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.quick-service-card {
    background-color: var(--color-gray-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    transition: all var(--transition-base), opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateX(-20px);
}

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

.quick-service-card:nth-child(1).animate { transition-delay: 0.1s; }
.quick-service-card:nth-child(2).animate { transition-delay: 0.2s; }
.quick-service-card:nth-child(3).animate { transition-delay: 0.3s; }
.quick-service-card:nth-child(4).animate { transition-delay: 0.4s; }
.quick-service-card:nth-child(5).animate { transition-delay: 0.5s; }
.quick-service-card:nth-child(6).animate { transition-delay: 0.6s; }

.quick-service-card:hover {
    transform: translateY(-4px) translateX(0);
    box-shadow: var(--shadow-md);
}

.quick-service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border: 2px solid var(--color-purple);
    border-radius: 50%;
    color: var(--color-purple);
    font-size: 24px;
    flex-shrink: 0;
}

.quick-service-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-xs);
}

.quick-service-card__description {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Contact Section Updates */
.contact {
    background: linear-gradient(135deg, var(--color-purple-bg) 0%, var(--color-white) 50%, var(--color-purple-bg) 100%);
    position: relative;
    overflow: hidden;
}


.contact__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact__header.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    background-color: var(--color-white);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(7, 137, 255, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(7, 137, 255, 0.1);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact__wrapper.animate {
    opacity: 1;
    transform: scale(1);
}

.contact__wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--color-purple-gradient);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.contact__wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--color-purple-gradient);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.contact__left {
    position: relative;
    z-index: 1;
}

.contact__right {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.footer {
    background: var(--color-purple-gradient-dark);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.footer__logo {
    height: 100px;
    width: auto;
    margin-bottom: var(--spacing-md);
    padding: 16px 28px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.footer__tagline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__link {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer__copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-purple-light);
    transform: translateY(-2px);
}

/* ============================================
   Stats Section
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stat-card:nth-child(1).animate {
    transition-delay: 0.1s;
}

.stat-card:nth-child(2).animate {
    transition-delay: 0.2s;
}

.stat-card:nth-child(3).animate {
    transition-delay: 0.3s;
}

.stat-card__number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-purple);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-card__label {
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ============================================
   Features Grid
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base), opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: scale(0.9) rotate(-2deg);
}

.feature-card.animate {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.feature-card:nth-child(1).animate { transition-delay: 0.1s; }
.feature-card:nth-child(2).animate { transition-delay: 0.2s; }
.feature-card:nth-child(3).animate { transition-delay: 0.3s; }
.feature-card:nth-child(4).animate { transition-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-4px) rotate(0deg) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 28px;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.feature-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ============================================
   ERP/CRM/HR/POS Blocks
   ============================================ */

.block-header {
    max-width: 1000px;
    margin: 0 auto;
}

.block-header__content {
    text-align: center;
}

.block-header__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.erp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.erp-feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base), opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: scale(0.8);
}

.erp-feature-item.animate {
    opacity: 1;
    transform: scale(1);
}

.erp-feature-item:nth-child(1).animate { transition-delay: 0.1s; }
.erp-feature-item:nth-child(2).animate { transition-delay: 0.2s; }
.erp-feature-item:nth-child(3).animate { transition-delay: 0.3s; }
.erp-feature-item:nth-child(4).animate { transition-delay: 0.4s; }

.erp-feature-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.erp-feature-item i {
    font-size: 36px;
    color: var(--color-purple);
    margin-bottom: var(--spacing-sm);
}

.erp-feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
}

/* ============================================
   Branches Section
   ============================================ */

.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.region-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

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

.region-card:nth-child(1).animate { transition-delay: 0.1s; }
.region-card:nth-child(2).animate { transition-delay: 0.2s; }
.region-card:nth-child(3).animate { transition-delay: 0.3s; }

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-purple-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.region-card--saudi::before {
    background: linear-gradient(90deg, #0789FF 0%, #87CEEB 100%);
}

.region-card--uae::before {
    background: linear-gradient(90deg, #0A1929 0%, #0789FF 100%);
}

.region-card--global::before {
    background: linear-gradient(90deg, #0789FF 0%, #B0E0E6 100%);
}

.region-card__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-gray-light);
}

.region-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-purple-gradient);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(7, 137, 255, 0.3);
}

.region-card--saudi .region-card__icon {
    background: linear-gradient(135deg, #0789FF 0%, #87CEEB 100%);
}

.region-card--uae .region-card__icon {
    background: linear-gradient(135deg, #0A1929 0%, #0789FF 100%);
}

.region-card--global .region-card__icon {
    background: linear-gradient(135deg, #0789FF 0%, #B0E0E6 100%);
}

.region-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    flex: 1;
}

.region-card__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: var(--color-purple-bg);
    color: var(--color-purple);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.region-card__locations {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.location-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.location-item:hover {
    background: var(--color-purple-bg);
    border-color: var(--color-purple);
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(7, 137, 255, 0.15);
}

.location-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 18px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.location-item:hover i {
    background: var(--color-purple);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.location-item__content {
    flex: 1;
}

.location-item__content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 4px 0;
}

.location-item__content p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.location-item--more {
    background: var(--color-purple-gradient);
    color: var(--color-white);
    border: none;
}

.location-item--more:hover {
    background: var(--color-purple-gradient-dark);
    transform: translateX(8px) scale(1.02);
}

.location-item--more .location-item__content h4,
.location-item--more .location-item__content p {
    color: var(--color-white);
}

.location-item--more i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.location-item--more:hover i {
    background: var(--color-white);
    color: var(--color-purple);
}

/* ============================================
   Solution Cards with Links
   ============================================ */

.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    color: var(--color-purple);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.solution-card__link:hover {
    gap: var(--spacing-sm);
    color: var(--color-purple-hover);
}

.solution-card__link i {
    font-size: 12px;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.faq__left {
    padding-right: var(--spacing-xl);
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.faq__left.animate {
    opacity: 1;
    transform: translateX(0);
}

.faq__right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.faq__right.animate {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.faq-list {
    max-width: 100%;
}

.faq__visual {
    background: var(--color-purple-gradient);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(7, 137, 255, 0.25);
}

.faq__visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.faq__visual::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(40px);
}

.faq__visual-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
    animation: pulseIcon 3s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.faq__visual-icon i {
    font-size: 64px;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.faq__visual-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.faq__visual-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.faq__visual-content > p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.faq__support-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.faq__support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.faq__support-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq__support-item i {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.faq__support-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1).animate { transition-delay: 0.1s; }
.faq-item:nth-child(2).animate { transition-delay: 0.2s; }
.faq-item:nth-child(3).animate { transition-delay: 0.3s; }
.faq-item:nth-child(4).animate { transition-delay: 0.4s; }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-gray-light);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0;
}

.faq-question i {
    color: var(--color-purple);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    padding: 0 var(--spacing-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   Footer Updates
   ============================================ */

.footer__phone {
    margin-top: var(--spacing-md);
}

.footer__phone-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 600;
    font-size: 18px;
    transition: opacity var(--transition-fast);
}

.footer__phone-link:hover {
    opacity: 0.8;
}

.footer__contact-info {
    margin-top: var(--spacing-sm);
}

.footer__phone-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.footer__email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer__email a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer__email a:hover {
    color: var(--color-white);
}

.footer__certifications {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-item {
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.cert-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ============================================
   WhatsApp Float Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Left bottom */
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-float__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px; /* Same bottom level */
    right: 30px; /* Right bottom */
    width: 50px;
    height: 50px;
    background: var(--color-purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(7, 137, 255, 0.4);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (min-width: 1600px) {
    .partners__grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .about__content {
        gap: calc(var(--spacing-xxl) * 1.5);
    }
}

@media (max-width: 1599px) {
    .partners__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet & iPad Landscape (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partner-item__logo-img {
        max-width: 100px;
        max-height: 70px;
    }
}

/* iPad Portrait & Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partner-item {
        min-height: 130px;
        padding: var(--spacing-lg);
    }
    
    .partner-item__logo-img {
        max-width: 100px;
        max-height: 70px;
    }
    
    .partner-item__logo {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero__right {
        order: -1;
    }
    
    .about-company__content {
        grid-template-columns: 1fr;
    }
    
    .solutions__grid,
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .erp-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq__content {
        grid-template-columns: 1fr;
    }
    
    .faq__right {
        order: -1;
    }
    
    .faq__left {
        padding-right: 0;
    }
    
    .faq__visual {
        min-height: 400px;
        padding: var(--spacing-xl);
    }
    
    .faq__visual-icon {
        width: 100px;
        height: 100px;
        margin-bottom: var(--spacing-lg);
    }
    
    .faq__visual-icon i {
        font-size: 52px;
    }
    
    .faq__visual-content h3 {
        font-size: 24px;
    }
    
    .faq__support-items {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .branches-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header__topbar {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: calc(80px + var(--spacing-md) * 2) 0 var(--spacing-section);
    }
    
    .partner-item__logo-img {
        max-width: 110px;
        max-height: 75px;
    }
}

/* Mobile & Small Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
        --container-padding: 24px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .hero {
        min-height: 100vh;
        padding: calc(60px + var(--spacing-md) + 20px) 0 var(--spacing-section);
    }
    
    .header {
        margin-top: 36px; /* Smaller topbar on mobile */
        padding: var(--spacing-sm) var(--container-padding);
    }
    
    .header__wrapper {
        border-radius: 12px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__subtitle {
        font-size: 20px;
    }
    
    .hero__description {
        font-size: 16px;
    }
    
    .about-company__badge {
        position: relative;
        border-radius: var(--radius-lg);
        margin-top: var(--spacing-md);
    }
    
    .contact__wrapper {
        padding: var(--spacing-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .header__nav.active {
        max-height: 400px;
    }
    
    .header__nav-list {
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .header__menu-toggle {
        display: flex;
    }
    
    .header__menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .header__menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .header__menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .solutions__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us__features {
        grid-template-columns: 1fr;
    }
    
    .partners__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .partner-item {
        min-height: 120px;
        padding: var(--spacing-lg);
    }
    
    .partner-item__logo-img {
        max-width: 90px;
        max-height: 60px;
    }
    
    .partner-item__logo {
        font-size: 12px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card__number {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .erp-features {
        grid-template-columns: 1fr;
    }
    
    .branches-container {
        grid-template-columns: 1fr;
    }
    
    .region-card__header {
        flex-wrap: wrap;
    }
    
    .region-card__count {
        width: 100%;
        margin-top: var(--spacing-xs);
        justify-content: flex-start;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .block-header__actions {
        flex-direction: column;
    }
    
    .block-header__actions .btn {
        width: 100%;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px; /* Left bottom on mobile */
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px; /* Same bottom level on mobile */
        right: 20px; /* Right bottom on mobile */
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
        --spacing-section: 50px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section__title {
        font-size: 24px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .hero__description {
        font-size: 14px;
    }
    
    .partners__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .partner-item {
        min-height: 100px;
        padding: var(--spacing-md);
    }
    
    .partner-item__logo-img {
        max-width: 80px;
        max-height: 55px;
    }
    
    .partner-item__logo {
        font-size: 11px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .erp-features {
        grid-template-columns: 1fr;
    }
    
    .stat-card__number {
        font-size: 32px;
    }
    
    .contact__wrapper {
        padding: var(--spacing-md);
    }
    
    .header__content {
        height: 60px;
    }
    
    .header__logo-img {
        height: 40px;
    }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    :root {
        --container-padding: 12px;
    }
    
    .hero__title {
        font-size: 24px;
    }
    
    .section__title {
        font-size: 22px;
    }
    
    .partner-item {
        min-height: 90px;
        padding: var(--spacing-sm);
    }
    
    .partner-item__logo-img {
        max-width: 70px;
        max-height: 50px;
    }
    
    .partner-item__logo {
        font-size: 10px;
    }
}

/* ============================================
   Page Header (for dedicated pages)
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 50%, var(--color-purple-light) 100%);
    color: var(--color-white);
    padding: calc(44px + 80px + var(--spacing-md) * 2) 0 var(--spacing-xl);
    margin-top: 0;
    text-align: center;
}

.page-header__content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.page-header__description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   About Page Styles
   ============================================ */

.about-page__content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-page__main {
    max-width: 900px;
    margin: 0 auto;
}

.about-page__section {
    margin-bottom: var(--spacing-xxl);
}

.about-page__section:last-child {
    margin-bottom: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.value-item {
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-item__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-purple-bg);
    border-radius: var(--radius-md);
    color: var(--color-purple);
    font-size: 24px;
    margin-bottom: var(--spacing-md);
}

.value-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.value-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.why-choose-item {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.why-choose-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-choose-item__number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-purple);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.why-choose-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--spacing-sm);
}

.why-choose-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.cta-section {
    background: var(--color-purple-gradient);
    color: var(--color-white);
    text-align: center;
}

.cta-section__content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .section__title {
    color: var(--color-white);
}

.cta-section .section__description {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.cta-section .btn--outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.cta-section .btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-purple-dark);
}

/* ============================================
   Legal Pages (Terms & Privacy)
   ============================================ */

.legal-page__content {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-page__main {
    background-color: var(--color-white);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-page__last-updated {
    font-size: 14px;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-medium);
}

.legal-section {
    margin-bottom: var(--spacing-xxl);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.legal-list li {
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-xl);
    position: relative;
    line-height: 1.8;
    color: var(--color-text-light);
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: var(--spacing-md);
    color: var(--color-purple);
    font-weight: 600;
    font-size: 20px;
}

.contact-details {
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--color-gray-light);
    border-radius: var(--radius-md);
}

.contact-details p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.contact-details a {
    color: var(--color-purple);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Responsive styles for new pages */
@media (max-width: 1024px) {
    .page-header__title {
        font-size: 40px;
    }
    
    .values-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section__actions {
        flex-direction: column;
    }
    
    .cta-section__actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: calc(60px + var(--spacing-md) + 20px) 0 var(--spacing-lg);
    }
    
    .page-header__title {
        font-size: 32px;
    }
    
    .page-header__description {
        font-size: 16px;
    }
    
    .legal-page__main {
        padding: var(--spacing-lg);
    }
    
    .about-page__section {
        margin-bottom: var(--spacing-xl);
    }
}

