/* ==========================================
   REST POINT CONSULTANCY - PROFESSIONAL WEBSITE
   ========================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2c3c8a;
    --primary-light: #3b4ba0;
    --primary-dark: #1e2a6b;
    --accent: #aa3441;
    --accent-light: #c4404e;
    --gold: #aa3441;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-50: #f1f3f8;
    --gray-100: #e8ecf4;
    --gray-200: #d1d8e6;
    --gray-300: #b0bad0;
    --gray-400: #8892a8;
    --gray-500: #6b7590;
    --gray-600: #4a5468;
    --gray-700: #2d3548;
    --dark: #1e2a6b;
    --success: #27ae60;
    --whatsapp: #25D366;
    --facebook: #1877F2;

    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-en: 'Poppins', 'Cairo', sans-serif;

    --shadow-sm: 0 2px 8px rgba(30, 42, 107, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 42, 107, 0.08);
    --shadow-lg: 0 20px 60px rgba(30, 42, 107, 0.12);
    --shadow-xl: 0 30px 80px rgba(30, 42, 107, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-ar);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 260px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 4px 0;
    transition: var(--transition);
    background: var(--white);
}

.navbar.scrolled {
    background: var(--white);
    padding: 2px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 6px;
}

/* Footer logo */
.footer-logo .logo-img {
    height: 110px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(44, 60, 138, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 16px;
    left: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 60, 138, 0.3);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: var(--transition);
}

.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;
    font-family: var(--font-ar);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 60, 138, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e2a6b 0%, #2c3c8a 40%, #3b4ba0 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(170, 52, 65, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(170, 52, 65, 0.08) 0%, transparent 60%);
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--white);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 15%;
    animation: floatShape 12s ease-in-out infinite 2s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 10%;
    animation: floatShape 10s ease-in-out infinite 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, 20px) scale(0.95); }
    75% { transform: translate(10px, -10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label.center {
    justify-content: center;
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title.center {
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--gray-500);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.about-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-image:
        radial-gradient(circle, var(--accent) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.15;
    border-radius: var(--radius-md);
}

.about-image-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.05) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.05) 50%, transparent 55%);
    background-size: 30px 30px;
}

.about-icon-display {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
    animation: floatShape 6s ease-in-out infinite;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.exp-number {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    font-weight: 500;
}

/* About Content */
.about-text {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 20px;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-inner {
    padding: 36px;
    position: relative;
}

.service-number {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--font-en);
    font-size: 60px;
    font-weight: 800;
    color: var(--gray-50);
    line-height: 1;
    user-select: none;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(44, 60, 138, 0.08), rgba(170, 52, 65, 0.08));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tags span {
    padding: 4px 14px;
    background: var(--gray-50);
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.service-card:hover .service-tags span {
    background: rgba(44, 60, 138, 0.06);
    color: var(--primary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 14px;
    color: var(--accent);
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: var(--off-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(44, 60, 138, 0.06), rgba(46, 134, 222, 0.06));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-slide.exit-left {
    opacity: 0;
    transform: translateX(-60px);
}

.testimonial-card {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--gray-100);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: var(--gray-100);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 16px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 13px;
    color: var(--gray-400);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--off-white);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.map-overlay-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.map-overlay-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-desc {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.method-icon.whatsapp {
    background: linear-gradient(135deg, #20b954, #25D366);
}

.method-icon.facebook {
    background: linear-gradient(135deg, #1565c0, #1877F2);
}

.method-label {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

.method-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 28px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 15px;
    color: var(--gray-700);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(170, 52, 65, 0.1);
}

.form-group label {
    position: absolute;
    top: 14px;
    right: 44px;
    font-size: 14px;
    color: var(--gray-400);
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    right: 12px;
    font-size: 12px;
    color: var(--accent);
    background: var(--off-white);
    font-weight: 600;
}

.form-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--gray-300);
    font-size: 14px;
    pointer-events: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contact-form .btn {
    margin-top: 8px;
    font-size: 16px;
    padding: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    margin-top: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}


.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-right: 6px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--accent);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    z-index: 999;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--whatsapp);
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-700);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 16px;
    cursor: pointer;
    z-index: 998;
    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);
    border-color: var(--primary);
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 100px 24px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        z-index: 1000;
        animation: slideInRight 0.3s ease;
    }

    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nav-links.active .nav-link {
        padding: 12px 16px;
        font-size: 16px;
        color: var(--gray-600);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 70px 0;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-divider {
        height: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-outline {
        color: rgba(255, 255, 255, 0.8);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .experience-badge {
        left: auto;
        right: -10px;
        bottom: -10px;
        padding: 14px 20px;
    }

    .exp-number {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .map-container {
        height: 300px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 42, 107, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    display: block;
}

/* ===== FORM SUCCESS STATE ===== */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
}
