/* ========================================
   Pro Code Co. - Professional Stylesheet
   Colors: Navy Blue, Blue, White
======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --blue-dark: #1e40af;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --blue-lighter: #93c5fd;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    --gradient-navy: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-dark) 100%);
    --gradient-text: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 50%, var(--blue-dark) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px -10px rgba(59, 130, 246, 0.4);
    --shadow-navy: 0 10px 40px -10px rgba(10, 22, 40, 0.4);

    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Poppins', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-ar);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: var(--font-en);
}

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

ul {
    list-style: none;
}

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-3px);
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header.scrolled .nav-link {
    color: var(--navy);
}

.header.scrolled .logo-text {
    color: var(--navy);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-blue);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

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

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.cta-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 24px;
    box-shadow: var(--shadow-blue);
}

.nav-link.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 4px;
    backdrop-filter: blur(10px);
}

.header.scrolled .language-switcher {
    background: var(--gray-100);
}

.lang-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header.scrolled .lang-btn {
    color: var(--gray-500);
}

.lang-btn.active {
    background: var(--white);
    color: var(--navy) !important;
    box-shadow: var(--shadow-sm);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--navy);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--blue-light);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--blue-dark);
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--blue-lighter);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text h1 span {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-buttons .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    animation: floatCard 5s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.floating-card i {
    font-size: 24px;
    color: var(--blue-light);
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    right: 20%;
    animation-delay: 2s;
}

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

.code-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 22, 40, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius);
    padding: 30px 40px;
    box-shadow: var(--shadow-xl);
}

.code-animation pre {
    margin: 0;
}

.code-animation code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 16px;
    color: var(--blue-light);
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(6px); }
}

/* ========================================
   About Section
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

[dir="ltr"] .experience-badge {
    right: auto;
    left: 30px;
}

.exp-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.experience-badge span:last-child {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-text > p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ========================================
   Products Section
======================================== */
.products {
    background: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.product-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: var(--shadow-blue);
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.product-card > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}

.product-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    position: relative;
    padding-right: 20px;
}

[dir="ltr"] .product-features li {
    padding-right: 0;
    padding-left: 20px;
}

.product-features li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
}

[dir="ltr"] .product-features li::before {
    right: auto;
    left: 0;
}

/* ========================================
   Services Section
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    transition: var(--transition);
}

[dir="ltr"] .service-number {
    left: auto;
    right: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.service-card:hover .service-number {
    color: rgba(59, 130, 246, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--gray-500);
}

/* ========================================
   Portfolio Section
======================================== */
.portfolio {
    background: var(--off-white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: var(--gradient-navy);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.8) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.portfolio-overlay .category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--white);
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.portfolio-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 16px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

[dir="ltr"] .portfolio-link i {
    transform: rotate(180deg);
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link:hover {
    background: var(--blue);
    color: var(--white);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 24px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ========================================
   Contact Section
======================================== */
.contact {
    background: var(--gradient-navy);
    color: var(--white);
}

.contact .section-badge {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--blue-light);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}

.info-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.form-group textarea {
    resize: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

[dir="ltr"] .form-group select {
    background-position: right 16px center;
    padding-left: 20px;
    padding-right: 40px;
}

.form-group label {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray-400);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 6px;
}

[dir="ltr"] .form-group label {
    right: auto;
    left: 20px;
}

.form-group textarea + label {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.btn-submit {
    grid-column: 1 / -1;
    padding: 16px 40px;
    font-size: 16px;
    width: fit-content;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.odoo-partner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--blue-light);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-light);
    padding-right: 8px;
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 8px;
}

.footer-newsletter h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-newsletter > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--blue);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

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

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text > p {
        margin: 0 auto 32px;
    }

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

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

    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        height: 350px;
    }

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

    .products-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .section-header h2 {
        font-size: 32px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 0;
        transition: var(--transition);
        z-index: 999;
    }

    [dir="ltr"] .nav-menu {
        right: auto;
        left: -100%;
    }

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

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

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .nav-link.cta-btn {
        margin-top: 20px;
        text-align: center;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-number {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-wrap: wrap;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* ========================================
   RTL Specific Styles
======================================== */
[dir="rtl"] .portfolio-link i {
    transform: rotate(0deg);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Selection Styles */
::selection {
    background: var(--blue);
    color: var(--white);
}

::-moz-selection {
    background: var(--blue);
    color: var(--white);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

/* ========================================
   Service Request Popup
======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.popup-container {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
    transition: var(--transition);
}

[dir="ltr"] .popup-close {
    right: auto;
    left: 15px;
}

.popup-close:hover {
    background: var(--danger);
    color: var(--white);
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

.popup-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.popup-form-group {
    margin-bottom: 20px;
}

.popup-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-form-group input,
.popup-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--navy);
}

.popup-form-group input:focus,
.popup-form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.popup-form-group input::placeholder {
    color: var(--gray-400);
}

/* Phone input wrapper inside popup */
.popup-form-group .phone-input-wrapper {
    display: flex;
    gap: 10px;
    direction: ltr;
}

.popup-form-group .phone-input-wrapper .country-code-select {
    width: 100px !important;
    flex-shrink: 0;
    padding: 14px 8px;
    font-size: 13px;
}

.popup-form-group .phone-input-wrapper input[type="tel"] {
    flex: 1;
    width: auto !important;
    min-width: 0;
}

.popup-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 10px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

.popup-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.popup-submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.popup-success {
    text-align: center;
    padding: 20px 0;
}

.popup-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--white);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.popup-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.popup-success p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 25px;
}

.popup-done-btn {
    padding: 14px 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.popup-done-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}

/* Responsive Popup */
@media (max-width: 480px) {
    .popup-container {
        padding: 30px 20px;
    }

    .popup-header h3 {
        font-size: 20px;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ====================================
   Clients Section
==================================== */
.clients {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

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

.clients-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    animation: scrollClients 30s linear infinite;
    width: max-content;
}

[dir="ltr"] .clients-track {
    animation: scrollClientsLTR 30s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

@keyframes scrollClientsLTR {
    0% {
        transform: translateX(calc(-50% - 20px));
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

/* Responsive Clients */
@media (max-width: 768px) {
    .clients {
        padding: 60px 0;
    }

    .client-logo {
        width: 140px;
        height: 70px;
        padding: 10px 15px;
    }

    .clients-track {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: 120px;
        height: 60px;
    }
}

/* ====================================
   Phone Input with Country Code
==================================== */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
    direction: ltr;
}

.country-code-select {
    width: 95px;
    flex-shrink: 0;
    padding: 14px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 6px center;
    padding-left: 20px;
}

[dir="rtl"] .country-code-select {
    background-position: right 6px center;
    padding-left: 8px;
    padding-right: 20px;
}

.country-code-select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: left;
}

.phone-input-wrapper input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

/* ====================================
   Services Checkboxes
==================================== */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-checkbox:hover {
    border-color: #1e90ff;
    background: #f0f7ff;
}

.service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.service-checkbox .checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #fff;
}

.service-checkbox .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.service-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: #1e90ff;
    border-color: #1e90ff;
}

.service-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    transform: rotate(45deg) scale(1);
}

.service-checkbox input[type="checkbox"]:checked ~ .service-label {
    color: #1e90ff;
    font-weight: 600;
}

.service-checkbox .service-label {
    font-size: 13px;
    color: #475569;
    transition: all 0.3s ease;
    line-height: 1.3;
}

/* Scrollbar for services checkboxes */
.services-checkboxes::-webkit-scrollbar {
    width: 6px;
}

.services-checkboxes::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.services-checkboxes::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.services-checkboxes::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive for services checkboxes */
@media (max-width: 480px) {
    .services-checkboxes {
        grid-template-columns: 1fr;
    }

    .phone-input-wrapper {
        flex-direction: row;
    }

    .country-code-select {
        width: 90px;
    }
}

/* ====================================
   Testimonials Section
==================================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

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

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    font-size: 16px;
    color: #e2e8f0;
}

.testimonial-rating i.active {
    color: #fbbf24;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    font-style: italic;
}

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

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: #64748b;
}

.testimonial-quote {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 50px;
    color: var(--primary);
    opacity: 0.1;
}

[dir="ltr"] .testimonial-quote {
    left: auto;
    right: 25px;
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--navy);
    font-size: 18px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.testimonials-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 280px;
    }

    .testimonials-track {
        gap: 20px;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 45px;
        height: 45px;
    }
}

/* ====================================
   WhatsApp Floating Buttons
==================================== */
.whatsapp-buttons {
    position: fixed;
    bottom: 100px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

[dir="ltr"] .whatsapp-buttons {
    left: auto;
    right: 30px;
}

.whatsapp-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn .country-flag {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 20px;
    object-fit: cover;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
}

[dir="ltr"] .whatsapp-btn .country-flag {
    right: auto;
    left: -5px;
}

.whatsapp-btn.whatsapp-bh {
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn.whatsapp-sa {
    animation: whatsappPulse 2s infinite 0.5s;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive WhatsApp Buttons */
@media (max-width: 768px) {
    .whatsapp-buttons {
        bottom: 90px;
        left: 15px;
        gap: 12px;
    }

    [dir="ltr"] .whatsapp-buttons {
        left: auto;
        right: 15px;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .whatsapp-btn .country-flag {
        width: 24px;
        height: 17px;
    }
}

/* ===== Why Us Section ===== */
.why-us {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
    padding: 100px 0;
}

.why-us .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.why-us-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.why-us-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
    position: relative;
}

.why-us-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #1e90ff, #0066cc, #1e90ff);
    border-radius: 23px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.4);
}

.why-us-icon i {
    font-size: 2.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.why-us-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.why-us-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.why-us-cta {
    text-align: center;
    padding-top: 20px;
}

.why-us-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 500;
}

.why-us-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Why Us Responsive */
@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding: 70px 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-us-card {
        padding: 30px 25px;
    }

    .why-us-icon {
        width: 85px;
        height: 85px;
        border-radius: 16px;
    }

    .why-us-icon i {
        font-size: 2.2rem;
    }

    .why-us-card h3 {
        font-size: 1.2rem;
    }

    .why-us-cta p {
        font-size: 1.1rem;
    }
}
