﻿<style >
/* ===== THEME SYNC WITH LAYOUT ===== */
/* التصميم يستخدم CSS Variables من الـ Layout تلقائياً */
:root {
    --primary: #ed9300;
    --primary-dark: #c17700;
    --primary-light: #ffad33;
}

/* Light Mode - يشتغل تلقائي مع Layout */
html[data-bs-theme="light"],
[data-bs-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-card: #ffffff;
    --text: #212529;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --shadow: 0 15px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 90px rgba(237, 147, 0, 0.25);
    --input-bg: #ffffff;
    --input-border: #dee2e6;
}

/* Dark Mode - يشتغل تلقائي مع Layout */
html[data-bs-theme="dark"],
[data-bs-theme="dark"] {
    --bg: #0a0e27;
    --bg-alt: #16213e;
    --bg-card: #1a1a2e;
    --text: #f8f9fa;
    --text-muted: #adb5bd;
    --border: #2d3748;
    --shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
    --shadow-hover: 0 30px 90px rgba(237, 147, 0, 0.4);
    --input-bg: #1a1a2e;
    --input-border: #2d3748;
}

/* Smooth transitions للـ theme switching */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
}

/* استثناء للـ animations - مش محتاجين transition */
.hero-icon,
.orb,
.geo-shape,
.icon-orbit {
    transition: none !important;
}

/* ===== PREMIUM CONTACT PAGE - EXPERT DESIGN ===== */
:root {
    --primary: #ed9300;
    --primary-dark: #c17700;
    --primary-light: #ffad33;
    --primary-glow: rgba(237, 147, 0, 0.4);
}

html[data-bs-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-card: #ffffff;
    --text: #212529;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --shadow: 0 15px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 90px rgba(237, 147, 0, 0.25);
    --input-bg: #ffffff;
    --input-border: #dee2e6;
}

html[data-bs-theme="dark"] {
    --bg: #0a0e27;
    --bg-alt: #16213e;
    --bg-card: #1a1a2e;
    --text: #f8f9fa;
    --text-muted: #adb5bd;
    --border: #2d3748;
    --shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
    --shadow-hover: 0 30px 90px rgba(237, 147, 0, 0.4);
    --input-bg: #1a1a2e;
    --input-border: #2d3748;
}

.contact-page * {
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* ===== ULTRA PREMIUM HERO ===== */
.contact-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: kenBurns 25s ease-in-out infinite alternate;
    }

@keyframes kenBurns {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.15) rotate(2deg);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(237, 147, 0, 0.4), transparent 60%), radial-gradient(circle at 70% 50%, rgba(193, 119, 0, 0.3), transparent 60%), linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(237, 147, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(237, 147, 0, 0.03) 2px, rgba(237, 147, 0, 0.03) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(237, 147, 0, 0.03) 2px, rgba(237, 147, 0, 0.03) 4px);
    z-index: 3;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 147, 0, 0.6), transparent 70%);
    filter: blur(40px);
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.2);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.geo-shape {
    position: absolute;
    border: 3px solid rgba(237, 147, 0, 0.3);
    backdrop-filter: blur(10px);
}

.geo-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: rotateShape 30s linear infinite;
}

.geo-square {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    border-radius: 30px;
    animation: rotateShape 25s linear infinite reverse;
}

@keyframes rotateShape {
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-icon-box {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.hero-icon {
    font-size: 7rem;
    color: #fff;
    animation: iconPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(237, 147, 0, 1)) drop-shadow(0 0 100px rgba(237, 147, 0, 0.8)) drop-shadow(0 20px 60px rgba(0, 0, 0, 1));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.icon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 4px solid rgba(237, 147, 0, 0.4);
    box-shadow: 0 0 40px rgba(237, 147, 0, 0.6), inset 0 0 40px rgba(237, 147, 0, 0.2);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: orbitSpin 4s linear infinite;
}

.orbit-2 {
    width: 260px;
    height: 260px;
    animation: orbitSpin 6s linear infinite reverse;
}

.orbit-3 {
    width: 320px;
    height: 320px;
    animation: orbitSpin 8s linear infinite;
}

@keyframes orbitSpin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #ffefcc 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(237, 147, 0, 1)) drop-shadow(0 20px 70px rgba(0, 0, 0, 1));
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(237, 147, 0, 1)) drop-shadow(0 20px 70px rgba(0, 0, 0, 1));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(237, 147, 0, 1)) drop-shadow(0 20px 70px rgba(0, 0, 0, 1));
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    line-height: 2;
    color: #fff;
    text-shadow: 0 0 20px rgba(237, 147, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 1);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-cta-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 10px 40px rgba(237, 147, 0, 0.5);
}

    .btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(237, 147, 0, 0.7);
    }

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--primary);
        box-shadow: 0 10px 40px rgba(237, 147, 0, 0.4);
    }

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 150px 0;
    background: var(--bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(237, 147, 0, 0.1);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid rgba(237, 147, 0, 0.3);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

    .section-label i {
        font-size: 1.2rem;
    }

.section-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 6px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        border-radius: 3px;
    }

.section-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

    .info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transform: scaleX(0);
        transition: transform 0.5s ease;
    }

    .info-card:hover::before {
        transform: scaleX(1);
    }

    .info-card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: var(--primary);
        box-shadow: var(--shadow-hover);
    }

.info-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.info-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(237, 147, 0, 0.4);
    transition: all 0.5s ease;
}

.info-card:hover .info-icon-box {
    transform: rotate(360deg) scale(1.1);
}

.info-icon-box i {
    font-size: 2.2rem;
    color: #fff;
}

.info-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.info-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin: 0;
}

.info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

    .info-link:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

/* Form */
.form-container {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 35px;
    padding: 4rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .form-container::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(237, 147, 0, 0.05), transparent 70%);
        animation: formGlow 10s ease-in-out infinite;
    }

@keyframes formGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20%, 20%) scale(1.1);
    }
}

.form-inner {
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 1.3rem 1.8rem;
    font-size: 1.05rem;
    /*  color: var(--text);
            background: var(--input-bg);
            border: 2px solid var(--input-border); */
    border-radius: 18px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        /*  border-color: var(--primary);
                background: var(--bg-card); */
        /*  box-shadow: 0 0 40px rgba(237, 147, 0, 0.6), inset 0 0 40px rgba(237, 147, 0, 0.2);
                transform: translateY(-2px); */
    }

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 1.5rem;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 50px rgba(237, 147, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

    .submit-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 70px rgba(237, 147, 0, 0.6);
    }

    .submit-btn i {
        font-size: 1.4rem;
        animation: sendPulse 1.5s ease-in-out infinite;
    }

@keyframes sendPulse {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Map */
.map-section {
    padding: 120px 0;
    background: var(--bg-alt);
}

.map-wrapper {
    border-radius: 35px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
    border: 3px solid var(--border);
    transition: all 0.5s ease;
}

    .map-wrapper:hover {
        box-shadow: 0 30px 100px rgba(237, 147, 0, 0.3);
        border-color: var(--primary);
    }

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* Responsive */
@media (max-width: 1200px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-icon {
        font-size: 5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2.5rem;
    }

    .info-card {
        padding: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }
}

</style >
