/* =====================================================
   LEAP INTERIORS - Premium Interior Design Website
   ===================================================== */

/* === CSS Variables === */
:root {
    --primary: #c8a45c;
    --primary-dark: #b08d3e;
    --primary-light: #e4d5a8;
    --dark: #0a0a0a;
    --dark-2: #141414;
    --dark-3: #1e1e1e;
    --dark-4: #2a2a2a;
    --gray: #888;
    --gray-light: #bbb;
    --white: #fff;
    --white-soft: #f5f5f5;
    --bg: #0a0a0a;
    --bg-section: #111;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Playfair Display', serif;
}

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

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

body {
    font-family: var(--font-ar);
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

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

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

ul { list-style: none; }

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

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

.accent { color: var(--primary); }

/* === Preloader === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Golden horizontal line that expands behind the logo */
.loader-inner::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: line-expand 0.8s ease-out 0.2s forwards;
}

/* Shimmer sweep over the logo */
.loader-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 164, 92, 0.25) 50%, transparent 100%);
    animation: shimmer-sweep 1s ease-in-out 1s forwards;
    pointer-events: none;
}

.loader-logo {
    width: 180px;
    height: auto;
    opacity: 0.4;
    filter: brightness(10);
    animation: logo-reveal 0.8s ease-out 0.3s forwards,
               logo-float 1.5s ease-in-out 1.2s infinite;
}

@keyframes logo-reveal {
    0% {
        opacity: 0.4;
        transform: translateY(20px);
        filter: brightness(10);
    }
    50% {
        opacity: 0.9;
        filter: brightness(5);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: brightness(1);
    }
}

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

@keyframes line-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 280px;
        opacity: 1;
    }
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 65px;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 6px;
}

.logo-sub {
    font-family: var(--font-en);
    font-size: 9px;
    letter-spacing: 8px;
    color: var(--gray-light);
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--dark-4);
    color: var(--gray-light);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.lang-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

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

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

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-ar);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 164, 92, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    font-size: 16px;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.7) 0%,
        rgba(10,10,10,0.5) 50%,
        rgba(10,10,10,0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 164, 92, 0.15);
    border: 1px solid rgba(200, 164, 92, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    font-family: var(--font-en);
    color: var(--primary);
    font-style: italic;
    font-size: clamp(44px, 8vw, 90px);
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-light);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 12px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gray);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* === Section Headers === */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    position: relative;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.section-header .section-label {
    padding-right: 0;
}

.section-header .section-label::before {
    display: none;
}

/* === About Section === */
.about {
    background: var(--bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img-main img:not(.about-slider img) {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img:not(.about-slider img) {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--bg-section);
    box-shadow: var(--shadow);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--dark);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    font-weight: 600;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(200, 164, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

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

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--dark-2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 164, 92, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
}

.service-overlay i {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.6;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.service-link:hover {
    gap: 14px;
}

/* === Projects Section === */
.projects {
    background: var(--bg-section);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--dark-4);
    color: var(--gray);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-ar);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

a.project-card,
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card.hidden {
    display: none;
}

.project-img {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

a.project-card:hover .project-overlay,
.project-card:hover .project-overlay {
    opacity: 1;
}

.project-cat {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-info h3 {
    font-size: 16px;
    font-weight: 700;
}

.project-info p {
    font-size: 13px;
    color: var(--gray);
}

.project-zoom {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
    align-self: flex-end;
}

.project-zoom:hover {
    transform: scale(1.1);
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

.projects-cta p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

.social-links-inline {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links-inline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid var(--dark-4);
    border-radius: 50px;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.social-links-inline a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--dark);
}

/* === Stats Section === */
.stats {
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
}

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

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(200, 164, 92, 0.08);
    border-color: rgba(200, 164, 92, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 30px;
    color: var(--primary);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-light);
    font-weight: 500;
}

/* === Process Section === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 164, 92, 0.2);
}

.process-number {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 700;
    color: rgba(200, 164, 92, 0.1);
    line-height: 1;
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(200, 164, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--primary);
}

.process-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === Testimonials === */
.testimonials {
    background: var(--bg-section);
}

.testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-stars {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 18px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-light);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 700;
}

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

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.test-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dark-4);
    background: transparent;
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.test-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dark-4);
    transition: var(--transition);
}

.test-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* === CTA Section === */
.cta .cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(0,0,0,0.6);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* === Contact Section === */
.contact {
    background: var(--bg-section);
}

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

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--dark-2);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(200, 164, 92, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(200, 164, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
    font-size: 15px;
    color: var(--gray-light);
}

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

.contact-socials {
    margin-top: 16px;
}

.contact-socials h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* === Contact Form === */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    padding-left: 48px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-ar);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.1);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--gray);
    font-size: 16px;
    pointer-events: none;
}

.form-group select option {
    background: var(--dark-2);
    color: var(--white);
}

/* === Footer === */
.footer {
    background: var(--dark-2);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-about p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin: 16px 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}

.footer-contact li i {
    color: var(--primary);
    width: 16px;
}

.footer-contact a {
    color: var(--gray);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray);
}

/* === New Service Cards === */
.service-card-new {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.service-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 164, 92, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 164, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card-new:hover .service-card-icon {
    background: var(--primary);
    color: var(--dark);
}

.service-card-new h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-new p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === About Slider === */
.about-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius);
}

.about-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.about-slider img.active {
    opacity: 1;
}

/* === Floating Social Buttons === */
.float-socials {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.float-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.15);
}

.float-whatsapp {
    width: 60px;
    height: 60px;
    font-size: 28px;
    background: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s infinite;
    order: -1;
}

.float-facebook {
    width: 32px;
    height: 32px;
    font-size: 14px;
    background: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.float-instagram {
    width: 32px;
    height: 32px;
    font-size: 14px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.float-facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.float-instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.5);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6); }
}

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

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* === Animations (AOS-like) === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* === Image Enhancement for small source images === */
.hero-slide {
    image-rendering: auto;
    -webkit-filter: contrast(1.05) saturate(1.1);
    filter: contrast(1.05) saturate(1.1);
}

.project-img img,
.service-img img,
.about-img-main img,
.about-img-secondary img {
    image-rendering: auto;
    -webkit-filter: contrast(1.02) saturate(1.05);
    filter: contrast(1.02) saturate(1.05);
}

.footer-logo .logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

/* === Responsive === */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark-2);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

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

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

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

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

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

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

    .cta .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .float-socials {
        bottom: 20px;
        left: 16px;
        gap: 8px;
    }

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

    .float-facebook,
    .float-instagram {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

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

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

    .hero-line.accent {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 15px;
    }

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

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

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

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

    .hero-slider-nav {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .cta .cta-card {
        padding: 40px 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

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

    .projects-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .lang-toggle {
        display: none;
    }
}
