/* === Global Variables & Reset === */
:root {
    --primary-dark: #1A237E;
    --primary-dark-lighter: #434994;
    --primary-darker: #000666;
    --primary-orange: #FB6D00;
    --primary-orange-hover: #e65100;
    --text-main: #454652;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --bg-card: #FBF8FF;
    --border-color: #C6C5D4;
    --bg-purple-light: #EAE7EF;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* === Header === */
.header {
    background-color: var(--bg-card);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-orange);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 4px;
}

.nav-links a.active {
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-orange);
}

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

.btn {
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    box-shadow: 0px 4px 6px rgba(251, 109, 0, 0.2);
}

.btn-primary:hover { background-color: var(--primary-orange-hover); }
.btn-text { color: var(--primary-dark); font-weight: 600; font-size: 16px; }

/* === Hero Section === */
.contact-hero {
    background:
        linear-gradient(135deg, rgba(26, 35, 126, 0.60) 25%, rgba(26, 35, 126, 0.60) 45%, rgba(251, 109, 0, 0.60) 100%),
        url('assets/hook-banner-main.png') center center/cover no-repeat;
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}


.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9zdmc+');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-hero p {
    max-width: 672px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: 16px;
    line-height: 26px;
}

/* === Main Contact Grid === */
.contact-main {
    padding: 80px 0;
    margin-top: -20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    align-items: flex-start;
}

/* Info Column */
.info-card {
    background-color: var(--primary-dark-lighter);
    padding: 32px;
    border-radius: 12px;
    color: white;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 32px;
    color: #FFDBCB;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--primary-darker);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 14px;
    line-height: 22px;
    opacity: 0.8;
}

.social-card {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.social-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

.social-icon {
    width: 48px;
    height: 48px;
    background-color: #EFECF5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-dark);
    font-size: 20px;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Form Column */
.form-card {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.form-card h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    margin-bottom: 23px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: var(--text-main);
    background-color: white;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-dark);
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    margin-bottom: 32px;
}

.btn-submit {
    background-color: var(--primary-orange);
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(251, 109, 0, 0.2);
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-orange-hover);
}

/* === Map Section === */
.map-section {
    background-color: var(--bg-purple-light);
    padding: 80px 0;
}

.map-container {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) opacity(0.5); /* جعل الخريطة باهتة كما في التصميم */
}

.map-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-card);
    border-top: 4px solid var(--primary-orange);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    width: 271px;
    box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.map-card-icon {
    color: var(--primary-orange);
    font-size: 24px;
    margin-bottom: 8px;
}

.map-overlay-card h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.map-overlay-card p {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.map-link {
    color: var(--primary-darker);
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* === Footer === */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 48px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

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

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

.footer-col a {
    color: #8690EE;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-col a:hover { color: white; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8690EE;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--primary-orange);
    width: 20px;
    text-align: center;
}

.footer-about {
    color: #8690EE;
    font-size: 14px;
    line-height: 23px;
}

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

.footer-bottom p {
    color: #8690EE;
    font-size: 14px;
    opacity: 0.6;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .map-overlay-card { width: 90%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact li { justify-content: center; }
    .social-links { justify-content: center; }
}