:root {
    --primary: #059669;
    /* Emerald 600 */
    --primary-hover: #047857;
    /* Emerald 700 */
    --secondary: #0d9488;
    /* Teal 600 */
    --accent: #10b981;
    /* Emerald 500 */
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-light: #475569;
    /* Slate 600 */
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    /* Slate 50 */
    --bg-glass: rgba(255, 255, 255, 0.85);
    /* Fonts */
    --font-en: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    /* Shadows - Premium Soft Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Reset */

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

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

html[dir="rtl"] body {
    font-family: var(--font-ar);
}

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

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: var(--font-ar);
}


/* Layout Utilities */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-bg {
    background-color: var(--bg-white);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}


/* Animations Utility */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 10px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    color: #ffffff;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

html[dir="rtl"] .btn-primary:hover svg {
    transform: translateX(-3px);
}

.btn-secondary {
    background-color: var(--bg-white);
    border-color: #e2e8f0;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


/* Header - Glassmorphism */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header .container {
    max-width: 1600px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.03em;
}

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

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}


/* Hero Section */

.hero {
    padding: 200px 0 140px;
    background: linear-gradient(-45deg, #f0fdf4, #e0f2fe, #f8fafc, #ecfdf5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: 520px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-illustration img {
    border-radius: calc(var(--radius-lg) - 10px);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 20;
}

.badge-1 {
    bottom: 40px;
    left: -40px;
    animation: float 5s ease-in-out infinite reverse;
}

html[dir="rtl"] .badge-1 {
    left: auto;
    right: -40px;
}

.badge-2 {
    top: 60px;
    right: -30px;
    animation: float 7s ease-in-out infinite 1s;
}

html[dir="rtl"] .badge-2 {
    right: auto;
    left: -30px;
}

.badge-3 {
    top: 48%;
    left: -55px;
    padding: 20px 28px;
    gap: 18px;
    animation: float 6s ease-in-out infinite .5s;
}

.badge-3 .icon-wrap {
    width: 88px;
    height: 88px;
}

.badge-3 .icon-wrap img {
    width: 88px;
    height: 88px;
}

html[dir="rtl"] .badge-3 {
    left: auto;
    right: -55px;
}

.floating-badge .icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-badge h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.floating-badge p {
    color: var(--text-light);
    font-size: 0.85rem;
}


/* About Section */

.about {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 20px;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-lg);
    transform: rotate(-3deg);
    z-index: -1;
    opacity: 0.1;
    transition: var(--transition);
}

html[dir="rtl"] .about-img-wrap::before {
    transform: rotate(3deg);
}

.about-img-wrap:hover::before {
    transform: rotate(-5deg) scale(1.02);
}

html[dir="rtl"] .about-img-wrap:hover::before {
    transform: rotate(5deg) scale(1.02);
}

.about-img-placeholder {
    width: 100%;
    height: 550px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-icon {
    width: 120px;
    height: 120px;
    color: var(--primary);
    opacity: 0.2;
}

.about-content {
    flex: 1.2;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 24px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.about-list li:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
    border-color: rgba(16, 185, 129, 0.2);
}

html[dir="rtl"] .about-list li:hover {
    transform: translateX(-8px);
}

.about-list li svg {
    color: var(--bg-white);
    background: var(--primary);
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}


/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    border-radius: 0 0 0 100%;
    z-index: -1;
    transition: var(--transition);
}

html[dir="rtl"] .service-card::after {
    right: auto;
    left: 0;
    border-radius: 0 0 100% 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.service-card:hover::after {
    transform: scale(1.5);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-gray), #fff);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-light);
    line-height: 1.7;
}


/* Why Choose Us */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

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

.why-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: #fff;
}

.why-icon svg {
    width: 32px;
    height: 32px;
}

.why-item h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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


/* Testimonials */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testi-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.testi-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-top-color: var(--primary);
}

.quote-icon {
    position: absolute;
    top: 32px;
    right: 40px;
    color: rgba(16, 185, 129, 0.1);
    width: 60px;
    height: 60px;
}

html[dir="rtl"] .quote-icon {
    right: auto;
    left: 40px;
    transform: scaleX(-1);
}

.testi-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

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

.testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.testi-name {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--font-heading);
}

.testi-role {
    font-size: 0.95rem;
    color: var(--text-light);
}


/* CTA Section */

.cta-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 60px auto;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.cta-section::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    background-color: #fff;
    color: var(--primary);
    font-size: 1.15rem;
    padding: 18px 48px;
    position: relative;
    z-index: 2;
}

.cta-section .btn:hover {
    background-color: var(--text-dark);
    color: #fff;
    box-shadow: var(--shadow-glow);
}


/* Contact Section */

.contact-container {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
    background: var(--text-dark);
    color: #fff;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
}

.contact-info h3 {
    color: #fff;
    font-size: 2.75rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 48px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-form {
    flex: 1.5;
    padding: 80px 60px;
}

.contact-form h4 {
    font-size: 2rem;
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

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

.contact-submit {
    width: 100%;
    margin-top: 16px;
    padding: 18px;
}

.whatsapp-box {
    margin-top: auto;
    padding-top: 40px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    color: #25D366;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    color: #25D366;
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}


/* Footer */

.footer {
    background-color: var(--bg-white);
    padding: 100px 0 40px;
    border-top: 1px solid #e2e8f0;
}

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

.footer-about .logo {
    margin-bottom: 24px;
}

.footer-text {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-light);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    padding-inline-start: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Floating WhatsApp */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

html[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 30px;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
}

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


/* ══════════════════════════════════════
   RESPONSIVE — Comprehensive
   ══════════════════════════════════════ */


/* ── 1280px — Large Tablet / Small Desktop ── */

@media (max-width: 1280px) {
    .hero-title {
        font-size: 3.8rem;
    }
    .section-title {
        font-size: 2.6rem;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}


/* ── 1024px — Tablet ── */

@media (max-width: 1024px) {
    /* Hero */
    .hero {
        padding: 160px 0 100px;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-badge {
        margin: 0 auto 24px;
    }
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .floating-badge {
        display: none;
    }
    .hero-illustration {
        max-width: 520px;
        height: 380px;
        margin: 0 auto;
    }
    /* About */
    .about {
        flex-direction: column;
        gap: 48px;
    }
    .about-content {
        max-width: 100%;
    }
    .about-img-placeholder {
        height: 400px;
    }
    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Why grid */
    .why-grid {
        grid-template-columns: 1fr;
    }
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    /* Contact */
    .contact-container {
        flex-direction: column;
    }
    .contact-info {
        padding: 60px 40px;
    }
    .contact-info h3 {
        font-size: 2rem;
    }
    .contact-form {
        padding: 60px 40px;
        flex: none;
    }
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 60px;
    }
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* CTA */
    .cta-title {
        font-size: 2.75rem;
    }
    .cta-section {
        padding: 80px 40px;
    }
}


/* ── 768px — Mobile ── */

@media (max-width: 768px) {
    /* Header */
    .header .container {
        height: 72px;
        padding: 0 20px;
    }
    .nav-links,
    .header-actions {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }
    .nav {
        gap: 0;
    }
    /* Mobile nav open state */
    .nav.active .nav-links {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 24px 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
        border-bottom: 1px solid #e2e8f0;
        z-index: 999;
    }
    .nav.active .nav-links a {
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-bottom: 1px solid #f1f5f9;
    }
    .nav.active .nav-links a:last-child {
        border-bottom: none;
    }
    .nav.active .nav-links a:hover,
    .nav.active .nav-links a.active {
        background: #f0fdf4;
        color: var(--primary);
    }
    .nav.active .header-actions {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: 12px;
        border-bottom: 1px solid #e2e8f0;
    }
    /* Calculate header-actions top based on number of nav links (8 links × ~49px each) */
    .nav.active .header-actions {
        top: calc(72px + 8 * 49px + 40px);
    }
    .nav.active .btn {
        width: 100%;
        justify-content: center;
    }
    /* Hero */
    .hero {
        padding: 120px 0 80px;
    }
    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -0.02em;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-image {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    /* Sections */
    .section {
        padding: 72px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    /* About */
    .about-img-placeholder {
        height: 300px;
    }
    /* Services grid — 1 column */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 36px 28px;
    }
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    /* Contact */
    .contact-info {
        padding: 48px 28px;
    }
    .contact-info h3 {
        font-size: 1.8rem;
    }
    .contact-form {
        padding: 48px 28px;
    }
    .contact-form h4 {
        font-size: 1.6rem;
    }
    /* CTA */
    .cta-section {
        padding: 60px 24px;
        margin: 40px 16px;
        border-radius: var(--radius-md);
    }
    .cta-title {
        font-size: 1.9rem;
        margin-bottom: 24px;
    }
    .cta-section .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 32px;
    }
    /* Footer */
    .footer {
        padding: 72px 0 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 48px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 0.875rem;
    }
    /* Page hero (sub-pages) */
    .page-title {
        font-size: 2.5rem !important;
    }
}


/* ── 480px — Small Mobile ── */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .page-title {
        font-size: 2rem !important;
    }
    .page-subtitle {
        font-size: 1rem !important;
    }
    /* Stats — column */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* About list items */
    .about-list li {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    /* Why grid */
    .why-item {
        padding: 24px;
        gap: 16px;
    }
    /* Forms */
    .form-control {
        padding: 14px 16px;
    }
    .of-row {
        grid-template-columns: 1fr !important;
    }
    /* CTA */
    .cta-title {
        font-size: 1.6rem;
    }
    .cta-section {
        padding: 48px 20px;
    }
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    /* Footer title */
    .footer-title {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }
    /* Blog cards */
    .blog-card-img-wrap {
        height: 200px;
    }
    /* Header height mobile */
    .hero {
        padding: 110px 0 72px;
    }
}


/* Fix header overlap for internal pages (those without .hero) */

body>header.header+*:not(.hero) {
    margin-top: 130px;
}