/* 
  Styling Guide:
  Dark Blue (#1B263B): Main texts, large backgrounds, header.
  Gold (#D4AF37): Buttons, icons, important sub-headings.
  Light Gray (#E5E5E5): Secondary section backgrounds, text separators.
*/

:root {
    --primary-blue: #1B263B;
    --gold: #D4AF37;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--primary-blue);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.section-title.dark-text {
    color: var(--primary-blue);
}

.separator {
    height: 3px;
    width: 80px;
    background-color: var(--gold);
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 38, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo-text .gold-text {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* To stay above mobile menu */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    /* Modern business center */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.9) 0%, rgba(27, 38, 59, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding-top: 50px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title .highlight {
    color: var(--gold);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--light-gray);
    font-weight: 400;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary-blue);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.service-desc {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.why-us-section .section-title {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--light-gray);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.footer-top-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px;
    gap: 30px;
}

.footer-info h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-info p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
}

.contact-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(27, 38, 59, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}