/* ===================================================== */
/* VARIABLES ET RESET */
/* ===================================================== */

:root {
    --primary-color: #f97316;
    --primary-dark: #ea580c;
    --secondary-color: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================================== */
/* HEADER & NAVBAR */
/* ===================================================== */

.header {
    position: fixed;
    width: 100%;
    top: 20px;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.navbar {
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.8s ease;
}

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

.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo strong {
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    flex-shrink: 0;
}

.lang-btn {
    border: 0;
    background: transparent;
    color: #334155;
    font-weight: 700;
    font-size: 12px;
    min-width: 38px;
    height: 30px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* ===================================================== */
/* HERO SECTION */
/* ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&w=2200&q=80');
    background-size: cover;
    background-position: center center;
    opacity: 0.45;
    filter: saturate(1.05) contrast(1.05);
    transform-origin: center;
    animation: heroKenBurns 28s ease-in-out infinite alternate;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.22), transparent 45%),
        linear-gradient(130deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 41, 59, 0.68) 55%, rgba(15, 23, 42, 0.82) 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    z-index: 2;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #ec4899;
    top: 50%;
    right: -150px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.02) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.1) translate3d(-1.5%, -1.5%, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

.word {
    display: inline-block;
    animation: fadeInUp 0.8s ease-out both;
}

.word:nth-child(1) { animation-delay: 0.1s; }
.word:nth-child(2) { animation-delay: 0.2s; }
.word:nth-child(3) { animation-delay: 0.3s; }
.word:nth-child(4) { animation-delay: 0.4s; }

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

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.subtitle-item {
    animation: slideIn 0.8s ease-out 0.5s both;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.3);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    margin: 15px auto;
    position: relative;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 8px;
    background: white;
    margin: 6px auto;
    border-radius: 1px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-10px); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

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

/* ===================================================== */
/* ABOUT SECTION */
/* ===================================================== */

.about-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.about-section .section-title {
    margin-bottom: 28px;
    text-shadow: none;
    letter-spacing: -0.3px;
}

.about-note {
    text-align: center;
    margin: 0 auto 36px;
    max-width: 760px;
    color: #64748b;
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffffcc;
}

.about-story-card {
    max-width: 980px;
    margin: 0 auto 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.about-story-card .about-paragraph {
    color: #1e293b;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-story-card .about-paragraph:last-child {
    margin-bottom: 0;
}

.about-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.about-legal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    position: relative;
}

.about-legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f59e0b);
    border-radius: 18px 18px 0 0;
}

.about-legal-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.16);
}

.about-legal-card h3 {
    font-size: 30px;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.about-legal-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-legal-card li {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
}

.about-legal-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-legal-card li span {
    display: block;
    color: #475569;
    font-size: 13px;
    margin-bottom: 2px;
}

.about-legal-card li strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.4;
}

/* ===================================================== */
/* SERVICES SECTION */
/* ===================================================== */

.services-section {
    padding: 120px 20px;
    background: var(--bg-white);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    color: #0f172a !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 25px auto 0;
    border-radius: 3px;
}

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

.service-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

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

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(-10deg) scale(1.1);
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #0f172a !important;
    text-align: left;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* ===================================================== */
/* WHY US SECTION */
/* ===================================================== */

.why-us {
    padding: 120px 20px;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%),
        url('images/pexels-blue-bird-7217930.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
}

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

.why-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.why-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0f172a !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================================== */
/* GALLERY SECTION */
/* ===================================================== */

.gallery-section {
    padding: 120px 20px;
    background: var(--bg-white);
}

.gallery-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(234, 88, 12, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.gallery-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item {
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* ===================================================== */
/* STATS SECTION */
/* ===================================================== */

.stats-section {
    padding: 100px 20px;
    background:
        radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0) 35%),
        radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.16), rgba(249, 115, 22, 0) 35%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stats-title {
    margin-bottom: 26px;
    text-shadow: none;
    color: #0f172a !important;
    font-size: clamp(34px, 4.4vw, 56px);
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.stats-title::after {
    background: linear-gradient(90deg, #3b82f6, #f97316);
    margin-top: 20px;
    width: 92px;
    height: 6px;
}

.stats-subtitle {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
    color: #334155;
    font-size: 19px;
    line-height: 1.55;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    backdrop-filter: none;
    transition: var(--transition);
    animation: slideUp 0.8s ease-out both;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #f97316);
}

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

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

.stat-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #ea580c, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    filter: none;
}

.stat-card p {
    font-size: 16px;
    opacity: 1;
    color: #334155;
    font-weight: 600;
}

/* ===================================================== */
/* BEFORE AFTER SECTION */
/* ===================================================== */

.before-after-section {
    padding: 110px 20px;
    background: #ffffff;
}

.before-after-title {
    margin-bottom: 26px;
    text-shadow: none;
    font-size: clamp(34px, 4.2vw, 54px);
    letter-spacing: -0.7px;
    line-height: 1.15;
}

.before-after-title::after {
    width: 92px;
    height: 6px;
    margin-top: 20px;
}

.before-after-subtitle {
    text-align: center;
    color: #475569;
    font-size: 18px;
    max-width: 980px;
    line-height: 1.6;
    margin: 0 auto 52px;
}

.before-after-slider {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.before-after-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: beforeAfterSlideRight 40s linear infinite;
}

.before-after-slider:hover .before-after-track {
    animation-play-state: paused;
}

.before-after-card {
    width: 420px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.before-after-card h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.before-after-images figure {
    margin: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbe6f2;
    background: #fff;
}

.before-after-images img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.before-after-images figcaption {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}

@keyframes beforeAfterSlideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ===================================================== */
/* REVIEWS SECTION */
/* ===================================================== */

.reviews-section {
    padding: 110px 20px;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0) 35%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0) 30%),
        linear-gradient(135deg, #0b1226 0%, #14213d 45%, #1d2d50 100%);
}

.reviews-title {
    color: #ffffff !important;
    text-shadow: none;
    margin-bottom: 18px;
}

.reviews-title::after {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.reviews-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin: 0 auto 48px;
    font-size: 17px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 26px;
    backdrop-filter: blur(6px);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.3);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.42);
}

.review-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.review-author strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 2px;
}

.review-author span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

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

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
    flex-shrink: 0;
}

/* ===================================================== */
/* CONTACT SECTION */
/* ===================================================== */

.contact-section {
    padding: 120px 20px;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out both;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #0f172a !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

/* ===================================================== */
/* FOOTER */
/* ===================================================== */

.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    opacity: 1;
    transition: var(--transition);
    font-size: 17px;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ===================================================== */
/* WHATSAPP PREMIUM */
/* ===================================================== */

.whatsapp-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
    font-size: 28px;
    color: white;
}

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

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    animation: slideUp 0.4s ease-out;
    pointer-events: none;
}

.whatsapp-box.active {
    display: block;
    pointer-events: auto;
}

.whatsapp-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #25D366, #128c7e);
    color: white;
    border-bottom: 1px solid #e0e0e0;
}

.whatsapp-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
}

.whatsapp-header strong {
    flex-grow: 1;
    font-size: 16px;
}

.online-indicator {
    font-size: 12px;
    opacity: 0.9;
    display: block;
}

.whatsapp-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-header button:hover {
    transform: scale(1.2);
}

.whatsapp-content {
    padding: 25px;
}

.whatsapp-content p {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    background: linear-gradient(135deg, #25D366, #128c7e);
    color: white;
    padding: 14px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

body.is-rtl {
    direction: rtl;
    font-family: 'Cairo', 'Poppins', sans-serif;
}

body.is-rtl .navbar {
    flex-direction: row-reverse;
}

body.is-rtl .nav-links {
    flex-direction: row-reverse;
}

body.is-rtl .service-card h3,
body.is-rtl .service-card p,
body.is-rtl .service-features li,
body.is-rtl .about-story-card .about-paragraph,
body.is-rtl .footer-section,
body.is-rtl .contact-item,
body.is-rtl .contact-form {
    text-align: right;
}

body.is-rtl .contact-item {
    flex-direction: row-reverse;
}

body.is-rtl .review-profile {
    flex-direction: row-reverse;
}

body.is-rtl .whatsapp-wrapper {
    left: 25px;
    right: auto;
}

body.is-rtl .whatsapp-box {
    left: 0;
    right: auto;
}

/* ===================================================== */
/* MAGNETIC EFFECT */
/* ===================================================== */

.magnetic {
    position: relative;
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 1024px) {
    .header {
        top: 16px;
        padding: 0 16px;
    }

    .navbar {
        width: 100%;
        padding: 16px 28px;
        border-radius: 32px;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: var(--transition);
        z-index: 5;
    }

    .navbar.menu-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .language-switcher {
        order: 2;
        margin-inline-start: auto;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .hero-title {
        font-size: 46px;
    }

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

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        max-width: none;
        padding: 14px 18px;
        border-radius: 28px;
    }

    .logo {
        font-size: 18px;
    }

    .cta-btn {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero, .btn-secondary {
        width: 100%;
    }

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

    .whatsapp-box {
        width: 300px;
    }

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

    .contact-wrapper {
        gap: 40px;
    }

    .about-story-card {
        padding: 24px;
    }

    .about-story-card .about-paragraph {
        font-size: 16px;
        line-height: 1.7;
    }

    .about-legal-card h3 {
        font-size: 22px;
    }

    .reviews-subtitle {
        font-size: 16px;
    }

    .before-after-subtitle {
        font-size: 16px;
        margin-bottom: 34px;
    }

    .before-after-card {
        width: 360px;
    }

    .before-after-images img {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 10px;
        padding: 0 10px;
    }

    .navbar {
        padding: 12px 14px;
        border-radius: 24px;
        gap: 12px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo {
        font-size: 16px;
        gap: 6px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
        gap: 4px;
        padding: 5px;
        margin-inline-start: 0;
    }

    .lang-btn {
        min-width: 34px;
        height: 28px;
        font-size: 11px;
    }

    .nav-links {
        top: calc(100% + 10px);
        padding: 12px;
    }

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

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

    .hero-footer {
        display: none;
    }

    .about-legal-card {
        padding: 22px;
    }

    .about-note {
        font-size: 13px;
        line-height: 1.4;
    }

    .about-legal-card h3 {
        font-size: 20px;
    }

    .about-legal-card li strong {
        font-size: 15px;
    }

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

    .review-card {
        padding: 22px;
    }

    .review-text {
        font-size: 15px;
    }

    .stats-subtitle {
        font-size: 15px;
        margin-bottom: 34px;
    }

    .before-after-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .before-after-card {
        width: 285px;
        padding: 14px;
    }

    .before-after-card h3 {
        font-size: 18px;
    }

    .before-after-images img {
        height: 140px;
    }
}
