/* Reset and Variables */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8222;
    --navy-dark: #0E2A3A;
    --navy-blue: #1F5E7A;
    --accent-blue: #4FA3C7;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text-dark: #333333;
    --text-light: #E0E0E0;

    --font-main: 'Cairo', sans-serif;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 40px rgba(14, 42, 58, 0.1);
    --shadow-gold: 0 10px 20px rgba(212, 175, 55, 0.2);

    --gradient-gold: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA8222 100%);
    --gradient-navy: linear-gradient(135deg, #0E2A3A 0%, #1F5E7A 100%);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.text-white {
    color: var(--white) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-center {
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.title-underline {
    height: 3px;
    width: 60px;
    background: var(--gradient-gold);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 auto 2rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: var(--transition);
    z-index: -1;
    border-radius: 5px;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-navy {
    background: var(--navy-dark);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(14, 42, 58, 0.95);
    /* Navy with opacity */
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-gold {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 992px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(14, 42, 58, 0.98);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(-10px);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for better text readability */
    background: linear-gradient(to bottom, rgba(14, 42, 58, 0.7) 0%, rgba(14, 42, 58, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}


/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.img-wrapper::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--gold);
    border-radius: 10px;
    z-index: -1;
}

.about-image img {
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-navy);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: #666;
    transition: var(--transition);
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background: var(--gradient-navy);
    color: var(--white);
}

.gold-underline {
    background: var(--gold) !important;
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    width: 180px;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border: 2px dashed var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gold);
    color: var(--navy-dark);
    border-style: solid;
    transform: rotate(360deg);
}

.feature-item h4 {
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--white);
}

.cta-container {
    background: var(--gradient-navy);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Glassmorphism accent */
.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.cta-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: #0A1E29;
    /* Darker Navy */
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: #A0AAB2;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-contact ul li {
    margin-bottom: 15px;
    color: #A0AAB2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--gold);
    width: 20px;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0AAB2;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .title-underline {
        margin: 0 auto 2rem auto;
    }

    .about-image {
        order: 1;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}