:root {
    --primary: #111828;
    /* Dark Navy from Letterhead Header/Footer */
    --secondary: #3b82f6;
    /* Bright Blue for Accents/Logo */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --accent-gold: #c29d59;
    /* Optional upscale accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* --- World Class Header Styles --- */

/* Top Bar - Contact Info Strip */
.top-bar {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    /* Slightly smaller text */
    padding: 0.3rem 0;
    /* Highly compacted padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 1rem;
    /* Tighter spacing */
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-socials a {
    color: white;
    margin-left: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-decoration: none;
}

.top-bar-socials a:hover {
    opacity: 1;
}

/* Main Header - Sticky & Modern */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    /* Compacted padding */
    transition: all 0.3s ease;
}

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

/* Logo Area */
.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name-en {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-name-ar {
    font-family: 'Amiri', serif;
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1;
    margin-top: 4px;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    /* Reset list style */
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Header Buttons */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    margin-left: 1rem;
}

.header-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 24, 40, 0.3);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
        /* Above nav menu */
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile for space */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 24, 40, 0.8), rgba(17, 24, 40, 0.6)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 10rem 0;
    /* Extra height for grand look */
    color: white;
    text-align: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

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

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-inline: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e5e7eb;
    max-width: 600px;
    margin-inline: auto;
}

/* Services */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

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

.card-img {
    height: 200px;
    background-color: #e5e7eb;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* About Overlay */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Footer styled like Letterhead */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0 0 0;
    margin-top: 4rem;
    position: relative;
    border-top: 4px solid var(--secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-heading {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Box */
.footer-logo-box {
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--secondary);
    font-weight: bold;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-value {
    color: #e5e7eb;
    font-size: 0.95rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .company-names {
        align-items: center;
    }

    .nav-links {
        display: none;
        /* Hide for simplicity in this demo, usually add toggle */
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}