@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #e0e1dd;
    --gold: #d4af37;
    --gold-light: #f4d06f;
    --text-light: #e0e1dd;
    --text-dark: #0d1b2a;
    --bg-light: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    /* Thinner, modern font */
    font-weight: 300;
    /* Light weight for style */
    color: var(--text-light);
    background-color: var(--primary-color);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 400;
    /* Slightly lighter headers */
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(224, 225, 221, 0.85);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-color);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.section {
    padding: 5rem 0;
}

.highlight {
    color: var(--gold-light);
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 16, 26, 0.85);
    /* Darker, more premium */
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 0;
    /* More padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.logo img {
    height: 40px;
    /* Refined size */
    margin-right: 15px;
    border-radius: 50%;
    border: 1px solid var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Better spacing */
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links .btn-primary {
    padding: 12px 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 0;
    /* Sharp edges for luxury feel */
}

.nav-links .btn-primary:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}


/* Hero */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: url('hero_bg.png') no-repeat center center/cover;
    position: relative;
    padding-top: 100px;
    /* Offset fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 16, 26, 0.9) 0%, rgba(8, 16, 26, 0.6) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    /* Wider container */
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 200;
    /* Thin luxury font */
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-content .highlight {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
}


/* Sections - Proper Padding */
.section {
    padding: 10rem 0;
    /* Massive padding for high-end feel */
    position: relative;
}

.section-header {
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 200;
    color: #fff;
    margin-bottom: 1.5rem;
}

.underline {
    width: 100px;
    height: 1px;
    background: var(--gold);
}


/* About Section */
.about {
    background: #0b141e;
}

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

/* Services High-End Image Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    height: 500px;
    /* Tall styling cards */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    group: hover;
    cursor: pointer;
    border: none;
    background: #000;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.6;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    z-index: 2;
    transition: all 0.5s ease;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 300;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    height: 0;
}

.service-card:hover .service-image {
    transform: scale(1.1);
    opacity: 0.3;
}

.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.service-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid var(--gold);
}


/* Corporate Info / Footer Redesign */
.corporate-info {
    background: #050a10;
    padding: 8rem 0 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.corporate-info .container {
    max-width: 1400px;
}

.info-content {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 100%;
}

.corporate-info h3 {
    text-align: left;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    left: auto;
    transform: none;
}

.legal-details {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.legal-details p {
    margin: 0;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.license-item {
    background: transparent;
    border-left: none;
    padding: 0;
    border-radius: 0;
}

.license-item strong {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
}

.license-item span {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
}

.license-item span.arabic {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}


/* Contact Section - Redesigned */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.contact-details {
    text-align: left;
}

.contact-item {
    margin-bottom: 3rem;
}

.contact-item h4 {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.5rem;
    color: #fff;
}

.contact-item a {
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

.map-container {
    height: 500px;
    background: #111;
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(85%);
    /* Map styling */
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: #050d14;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 0.5rem;
}

.footer-links a {
    margin: 0 1rem;
    transition: var(--transition);
}

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

/* Mobile Nav */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px;
    transition: var(--transition);
}

/* Response */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .logo span {
        display: none;
    }

    /* Hide text on small screens if needed, or scale down */
    .logo img {
        height: 35px;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        border-left: var(--glass-border);
        padding-top: 2rem;
    }

    .nav-links li {
        margin: 2rem 0;
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
        /* Hide complex graphic on mobile to save space or adjust */
    }

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

    .features-list {
        text-align: left;
        display: inline-block;
    }

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

    .license-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 2rem;
    }

    .section,
    .corporate-info {
        padding: 4rem 0;
        /* Reduce padding for mobile */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes reverseSpin {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.95);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}