/* ===== Reset & Variables ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a365d;
    --primary-light: #2a4a7f;
    --primary-dark: #0f2340;
    --secondary: #c9a227;
    --secondary-light: #d4b44a;
    --text: #1a1a2e;
    --text-light: #4a5568;
    --bg: #fafafa;
    --white: #ffffff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.logo-icon i {
    font-size: 18px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
}

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 0.5rem 0;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    padding: 130px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Section Common ===== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== Content Section ===== */
.content-section {
    padding: 60px 20px;
    background: var(--bg);
}

.content-section.alt {
    background: var(--white);
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary);
    display: inline-block;
}

.content-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-block p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 2;
}

.content-block ul,
.content-block ol {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
    line-height: 2.2;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* ===== Services Grid (with prices) ===== */
.services-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-price-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.1);
    border-color: var(--secondary);
}

.service-price-card .s-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-price-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-price-card .s-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.7;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

/* ===== Contact Cards ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.1);
    border-color: var(--secondary);
}

.contact-card .c-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1rem;
    font-size: 1.4rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== About Cards ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #eee;
    transition: all 0.3s;
}

.about-card:hover {
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.08);
    border-color: var(--secondary);
}

.about-card .a-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ===== Map Section ===== */
.map-section {
    padding: 0 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #eee;
    height: 350px;
}

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

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
}

.cta-banner h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cta-banner .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary-dark);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.cta-banner .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    padding: 40px 20px 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* ===== Policy Sections ===== */
.policy-section {
    padding: 50px 20px;
}

.policy-section:nth-child(even) {
    background: var(--white);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-container h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-container h2 i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.policy-container p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 2;
}

.policy-container ul {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    line-height: 2.2;
}

.policy-container li {
    margin-bottom: 0.3rem;
}

.policy-container strong {
    color: var(--text);
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 20px;
    background: var(--bg);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0.75rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon i {
        font-size: 14px;
    }

    .nav-cta {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .page-header {
        padding: 100px 15px 40px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .page-header-icon {
        font-size: 2.5rem;
    }

    .services-price-grid {
        grid-template-columns: 1fr;
        padding: 40px 15px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        padding: 40px 15px;
    }

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

    .content-section {
        padding: 40px 15px;
    }

    .content-block h2 {
        font-size: 1.3rem;
    }

    .cta-banner {
        padding: 40px 15px;
    }

    .cta-banner h2 {
        font-size: 1.4rem;
    }

    .cta-banner .cta-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    footer {
        padding: 30px 15px 20px;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .map-container {
        height: 250px;
    }

    .policy-container h2 {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 0.8rem;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

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