:root {
    --color-royal-blue: #0047D6;
    --color-deep-navy: #001B38;
    --color-light-gray: #F5F7FA;
    --color-white: #FFFFFF;
    --color-accent-silver: #C9CFD6;
    --font-primary: 'Cairo', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 71, 214, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 26px;
}

p {
    font-size: 18px;
    color: #4A5568;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-royal-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    color: var(--color-deep-navy);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* RTL */
    width: 0;
    height: 2px;
    background: var(--color-royal-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-royal-blue) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(to left, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 40px;
    color: var(--color-light-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-royal-blue);
    color: var(--color-white);
    border: 2px solid var(--color-royal-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-royal-blue);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-royal-blue);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--color-royal-blue);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-royal-blue);
}

/* Why Us Section */
.why-us {
    background: var(--color-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--color-deep-navy);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-royal-blue);
    border-radius: 2px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px;
}

.why-icon {
    font-size: 40px;
    color: var(--color-royal-blue);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--color-deep-navy);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--color-royal-blue);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-right: 10px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: #a0aec0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        height: auto;
        padding: 120px 0 80px;
    }

    .features-grid {
        margin-top: 40px;
    }
}

/* Refactored Utilities */
.service-item {
    margin-bottom: 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-icon-large {
    font-size: 50px;
    color: var(--color-royal-blue);
    min-width: 80px;
}

.service-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 30px;
}

.about-intro {
    border-right: 5px solid var(--color-royal-blue);
    padding-right: 30px;
    margin-bottom: 50px;
}

.about-intro h2 {
    color: var(--color-royal-blue);
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 20px;
    font-weight: 600;
}

.about-text {
    line-height: 2;
}

.contact-card-title {
    margin-bottom: 30px;
    color: var(--color-deep-navy);
}

.info-title {
    margin-bottom: 5px;
}

.w-100 {
    width: 100%;
}