/* ===== المتغيرات الأساسية ===== */
:root {
    /* الألوان الأساسية */
    --primary-blue: #0c3c78;        /* نفس brand-blue */
    --primary-green: #007a33;        /* نفس brand-green */
    --soft-green: #e1f2e9;           /* نفس bg-light */
    --dark-navy: #1a2a3a;            /* نفس primary-dark */
    --pure-white: #ffffff;
    --light-bg: #f8fafc;
    --glass: rgba(255, 255, 255, 0.98);
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* ألوان إضافية */
    --nav-blue: #2c3e50;              
    --logo-green: #007a33;             
    --omega-blue: #1b365d;
    --omega-green: #007a33;
    --accent-green: #00a846;
    --text-main: #1a2a3a;

    /* متغيرات جديدة للـ Header */
    --header-height: 80px;
    --header-padding: 10px 5%;
}

/* ===== إعدادات عامة ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-navy);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: var(--header-height); /* إضافة مساحة للـ header الثابت */
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soft-green); }
::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 5px; }

/* ===== Header موحد ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    padding: var(--header-padding);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(15px);
    z-index: 2000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 40px;
}

.logo-container img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-weight: 900;
    font-size: 22px;
    color: var(--primary-green);
    white-space: nowrap;
}

.logo-text span {
    color: var(--primary-blue);
}

.navbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: var(--nav-blue);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.navbar a:hover {
    color: var(--primary-green);
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    right: 0;
    background: var(--primary-green);
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.header-btns {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-whatsapp {
    color: #25D366;
    font-size: 1.6rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

.btn-header-book {
    background: var(--primary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,122,51,0.3);
    white-space: nowrap;
}

.btn-header-book:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-header-book i {
    margin-left: 5px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: calc(100vh - var(--header-height));
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 8% 80px;
    background: linear-gradient(45deg, rgba(12,60,120,0.9), rgba(0,122,51,0.8)), url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: 'Ω';
    position: absolute;
    font-size: 40vw;
    color: rgba(255,255,255,0.03);
    top: -10%;
    left: -10%;
    font-weight: 900;
    animation: rotate 30s linear infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    background: var(--primary-green);
    padding: 8px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--primary-green);
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 15px 40px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,122,51,0.4);
    text-decoration: none;
    display: inline-block;
}

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

.btn-secondary {
    padding: 15px 40px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

/* ===== Stats Cards ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 8%;
    margin-top: -70px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--pure-white);
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 6px solid var(--primary-green);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-15px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    display: block;
}

.stat-card h3 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-card p {
    color: #64748b;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== Services Section (أحدث الخدمات) ===== */
.services {
    padding: 0 8% 80px;
}

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

.service-card {
    background: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(12,60,120,0.15);
}

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

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

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

.service-icon {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    color: white;
    font-size: 1.8rem;
}

.service-content {
    padding: 40px 25px 25px;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.service-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.service-link:hover {
    gap: 15px;
    color: var(--primary-blue);
}

/* ===== Partners Section ===== */
.partners {
    padding: 80px 8%;
    background: var(--soft-green);
    overflow: hidden;
}

.partners h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 900;
}

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

.partners-wrapper {
    display: flex;
    gap: 50px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-wrapper:hover {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.partner-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,122,51,0.2);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0);
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 8%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    color: white;
}

.why-us .section-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.why-us .section-header h2 {
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.why-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.why-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.why-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== Booking Form ===== */
.quick-booking {
    padding: 100px 8%;
    background: var(--pure-white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--light-bg);
    border-radius: 50px;
    padding: 60px;
    box-shadow: var(--shadow);
}

.booking-info h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.booking-info p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.booking-features {
    list-style: none;
}

.booking-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.booking-features i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

.booking-form {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--soft-green);
    border-radius: 15px;
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

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

.booking-form button {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.booking-form button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,122,51,0.3);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 8%;
    background: var(--light-bg);
}

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

.contact-info {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--soft-green);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--soft-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.contact-text h3 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.contact-text p {
    color: #64748b;
    line-height: 1.6;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== Footer موحد ===== */
footer {
    background: var(--dark-navy);
    color: white;
    padding: 60px 8% 30px;
    border-top: 5px solid var(--primary-green);
}

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

.footer-col h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-green);
    bottom: -8px;
    right: 0;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-green);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

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

/* ===== About Page Specific ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.main-img {
    width: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 12px solid rgba(255,255,255,0.15);
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 58% 42% 38% 62% / 42% 65% 35% 58%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.about-section {
    padding: 120px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 350px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 30px 30px 0 var(--soft-green);
}

.about-info {
    flex: 1.2;
    min-width: 350px;
}

.section-title {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.3;
}

.values-section {
    padding: 100px 8%;
    text-align: center;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.value-box {
    padding: 50px 40px;
    border-radius: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: 0.4s;
    position: relative;
}

.value-box:hover {
    background: var(--pure-white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transform: scale(1.02);
}

.value-box i {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--soft-green);
    border-radius: 20px;
    font-size: 35px;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.value-box h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-weight: 800;
}

.value-box p {
    color: #64748b;
    line-height: 1.7;
}

/* ===== Book Page Specific ===== */
.services-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.service-card-mini {
    background: var(--pure-white);
    padding: 20px 10px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.service-card-mini i {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: block;
}

.service-card-mini h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.service-card-mini:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 30px rgba(0, 122, 51, 0.15);
}

.service-card-mini.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-green);
}

.service-card-mini.active i {
    color: var(--primary-green);
}

/* Preparation Panel - Book Page */
.prep-panel {
    margin-top: 30px;
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    border-radius: 30px;
    display: none;
    position: sticky;
    top: 120px;
    border-right: 8px solid var(--primary-green);
    animation: slideIn 0.5s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

.prep-panel h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--soft-green);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.prep-panel ul {
    list-style: none;
}

.prep-panel li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.prep-panel li i {
    color: var(--primary-green);
    margin-top: 5px;
    flex-shrink: 0;
}

/* Step Indicator - Book Page */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-weight: bold;
    transition: 0.3s;
}

.step.active {
    background: var(--primary-green);
    color: white;
}

/* Contract Page Specific */
.gradient-blue {
    background: linear-gradient(135deg, #0c3c78 0%, #1a2a3a 100%);
}

.clients-marquee {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.clients-marquee span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-navy);
    padding: 10px 25px;
    background: var(--light-bg);
    border-radius: 50px;
    transition: var(--transition);
}

.clients-marquee span:hover {
    background: var(--soft-green);
    color: var(--primary-green);
    transform: scale(1.1);
}

.steps-section {
    padding: 80px 8%;
    background: var(--gradient);
    color: white;
    clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
}

.steps-section .section-header h2 {
    color: white;
}

.steps-section .section-header h2::after {
    background: white;
}

.steps-section .section-header p {
    color: rgba(255,255,255,0.8);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -25px;
    top: 30px;
    color: var(--primary-green);
    font-size: 2rem;
    opacity: 0.7;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    border: 3px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-section {
    background: var(--gradient);
    margin: 50px 8% 80px;
    border-radius: 40px;
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.2;
}

.cta-section::after {
    content: '';
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.2;
}

.cta-text {
    z-index: 10;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
}

/* ===== Radiology Page Specific ===== */
.hero-mini {
    height: 50vh;
    background: linear-gradient(45deg, rgba(27, 54, 93, 0.9), rgba(26, 42, 58, 0.8)), url('https://img.freepik.com/free-photo/mri-scanner-specialist-operating-medical-equipment-hospital_651396-1218.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: var(--header-height);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero-mini h1 {
    font-size: 4rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.radiology {
    padding: 5rem 7%;
    background: #fff;
}

.radiology-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.radiology-box {
    background: var(--pure-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
    cursor: pointer;
}

.radiology-box:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(27, 54, 93, 0.15);
    border-color: var(--primary-green);
}

.image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.radiology-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.radiology-box:hover img {
    transform: scale(1.15);
    filter: brightness(0.8);
}

.icon-badge {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border: 6px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,122,51,0.3);
}

.btn-more {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.radiology-box:hover .btn-more {
    background: var(--primary-green);
    padding: 10px 40px;
}

.stats-mini {
    background: var(--dark-navy);
    padding: 5rem 7%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin: 0;
}

.stat-item p {
    color: #ccc;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 54, 93, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 40px;
    text-align: center;
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-content h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
}

.popup-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 2rem 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Overlay Modal ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
}

.modal i {
    font-size: 5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.modal h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.modal p {
    color: #64748b;
    margin-bottom: 25px;
}

.modal button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.modal button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,122,51,0.3);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .navbar a {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 120px;
    }

    header {
        flex-direction: column;
        height: auto;
        min-height: var(--header-height);
        padding: 15px;
    }

    .logo-container {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .navbar a {
        font-size: 13px;
    }

    .header-btns {
        margin: 10px auto 0;
    }

    .hero {
        padding-top: 20px;
        text-align: center;
        min-height: calc(100vh - var(--header-height));
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-container {
        margin-top: -40px;
        margin-bottom: 60px;
        padding: 0 15px;
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

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

    .map-container {
        min-height: 300px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .about-section {
        gap: 40px;
        text-align: center;
    }

    .about-img {
        order: 2;
    }

    .about-info {
        order: 1;
    }

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

    .step-item:not(:last-child)::after {
        display: none;
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px;
    }

    /* Book page responsive */
    .prep-panel {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

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

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

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-mini h1 {
        font-size: 2.5rem;
    }

    .heading {
        font-size: 2.5rem;
    }

    .clients-marquee {
        flex-direction: column;
        gap: 15px;
    }

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

    .stats-container {
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-mini {
        flex-direction: column;
    }

    .popup-content {
        padding: 2rem;
    }

    .popup-content h2 {
        font-size: 1.8rem;
    }

    .popup-content p {
        font-size: 1rem;
    }

    .navbar a {
        font-size: 12px;
    }

    .btn-header-book {
        padding: 6px 15px;
        font-size: 12px;
    }

    .stats-container {
        margin-bottom: 40px;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.p-relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ===== عناصر مشتركة ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    background: var(--soft-green);
    color: var(--primary-green);
    padding: 8px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 5px;
    background: var(--primary-green);
    bottom: -10px;
    left: 25%;
    border-radius: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}