/* 1. إعدادات عامة */
:root {
    --primary-color: #003366;
    /* أزرق ملكي */
    --accent-color: #c5a059;
    /* ذهبي */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-light);
    background-color: #fafafa;
    overflow-x: hidden;
    text-align: right;
    /* التأكد من محاذاة النص للعربية */
}

.container {
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    width: 500px;
    height: 500px;
}

/* 2. الهيدر ونافذة التنقل (Navbar) */

.navbar {
    background-color: var(--primary-color);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 50px;
    position: relative;
    /* Essential for absolute positioning of centered items */
}

/* Language Globe Icon */
.lang-toggle {
    
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    color: var(--accent-color);
    transform: translateX(-50%) rotate(15deg) scale(1.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* 1. تعديل لون اسم الشركة بجانب اللوجو */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* 2. تعديل لون روابط القائمة (الكلام) */
.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    color: var(--white);
}

/* 3. تعديل اللون عند مرور الماوس أو عندما يكون الرابط نشطاً */
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* 3. قسم الهيرو (Hero Section) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    /* لمنع تداخل الفيديو مع الأزرار */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.65);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 4. الأزرار */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
}

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

.btn-primary:hover {
    background-color: #5f45ae;
    transform: translateY(-3px);
}

.btn-outline {
    background: var(--primary-color);
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
    /* تم التعديل لليسار ليتناسب مع RTL */
}

.btn-outline:hover {
    background-color: #5f45ae;
    transform: translateY(-3px);
    color: var(--white);
}

/* 5. قسم الخدمات (Services) */
.services {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: var(--white);
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 6. قسم من نحن (Bio Section) */
.bio-section {
    background-color: #f0f4f8;
    padding: 80px 20px;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bio-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: -20px 20px 0 var(--primary-color);
    /* تم تعديل الظل للجهة الأخرى لتناسب RTL */
}

.bio-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bio-text p {
    color: #000;
}

/* 7. الفوتر (Footer) */
/* 7. الفوتر (Footer) */
.footer {
    background: linear-gradient(to right, #001a33, #002244);
    padding: 80px 0 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    color: var(--white);
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.4rem;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* للعربية */
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    /* Gold accent */
    border-radius: 2px;
}

html[dir="ltr"] .footer-col h3::after {
    right: auto;
    left: 0;
}

.footer-col p {
    color: #b3b3cc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #A2B3C3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a::before {
    content: '\f104';
    /* FontAwesome left arrow for RTL */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: margin-left 0.3s ease;
}

html[dir="ltr"] .footer-col ul li a::before {
    content: '\f105';
    /* Right arrow for LTR */
    margin-left: 0;
    margin-right: 10px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-right: 5px;
    /* RTL shift */
}

html[dir="ltr"] .footer-col ul li a:hover {
    padding-right: 0;
    padding-left: 5px;
    /* LTR shift */
}

/* Remove arrows from contact links */
.footer-col ul li a[href*="maps"]::before,
.footer-col ul li a[href*="wa.me"]::before,
.footer-col ul li a[href^="mailto:"]::before {
    content: none;
    margin: 0;
}

.footer-col ul li a[href*="maps"],
.footer-col ul li a[href*="wa.me"],
.footer-col ul li a[href^="mailto:"] {
    padding: 0;
}


.footer-col ul li i {
    color: var(--accent-color);
    width: 25px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-left: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html[dir="ltr"] .social-links a {
    margin-left: 0;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #8080a0;
    font-size: 0.9rem;
}

/* 8. استجابة الهواتف (Mobile Responsive) */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 40%;
        background-color: #003366;
        color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        /* مخفية لليمين */
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

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

    /* حركة تحويل البيرجر لعلامة X */
    .burger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle span:nth-child(2) {
        opacity: 0;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}

/* 9. قسم التواصل (Contact Form) */
/* Modern Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info>p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: green;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: green;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-item:hover::before {
    transform: scaleX(1);
}

.info-item i {
    color: green;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(105, 197, 89, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-item:hover i {
    background: green;
    color: #fff;
}

.info-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item p {
    color: #555;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: green;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 20px 40px;
    text-align: center;
}

.contact-info-section .section-title {
    margin-bottom: 20px;
}

.contact-info-section .section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-section .underline {
    width: 80px;
    height: 4px;
    background: green;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.contact-info-section .contact-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 40px 20px 60px;
}

.contact-cards-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Form and Map Section */
.form-map-section {
    padding: 60px 20px 80px;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form h3,
.map-container h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.map-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-section .section-title h2 {
        font-size: 2rem;
    }

    .contact-cards-section .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Logo Lightbox */
.logo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.logo-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.logo-lightbox img {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.logo-lightbox.active img {
    transform: scale(1);
}

.logo-img {
    cursor: pointer;
    /* Add pointer cursor to indicate clickability */
}

/* Modern About Us Styles */
.modern-hero {
    background: linear-gradient(135deg, var(--primary-color), #001a33);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 50px;
}

.modern-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.modern-section {
    padding: 80px 20px;
}

.modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.modern-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.modern-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    /* RTL default */
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

html[dir="ltr"] .modern-text h2::after {
    right: auto;
    left: 0;
}

.modern-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.modern-image {
    position: relative;
}

.modern-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.modern-image:hover img {
    transform: translateY(-10px);
}

.modern-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: green;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: green;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card i {
    color: green;
    font-size: 3rem;
    margin-bottom: 25px;
    background: rgba(105, 197, 89, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modern-card:hover i {
    background: green;
    color: #fff;
}

.modern-card h3 {
    font-size: 1.5rem;
    color: black;
    /* Changed to black */
    margin-bottom: 15px;
}

.modern-card p {
    color: black;
    /* Ensuring text is black */
}

/* Stats Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for desktop */
    gap: 15px;
    /* Smaller gap */
    max-width: 1000px;
    /* Limit max width to make cards look smaller */
    margin: 0 auto;
}

.modern-stat {
    text-align: center;
    padding: 15px;
    /* Smaller padding */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensure pseudo-element doesn't overflow */
}

.modern-stat:hover {
    transform: translateY(-5px);
    /* Reduce hover lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: green;
    /* Green border on hover */
}

.modern-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: green;
    /* Green top border */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-stat:hover::before {
    transform: scaleX(1);
}

.modern-stat i {
    color: green !important;
    background: rgba(197, 160, 89, 0.1);
    width: 50px;
    /* Smaller icon container */
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem !important;
    /* Smaller icon */
    border-radius: 50%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.modern-stat:hover i {
    background: green;
    color: #fff !important;
}

.modern-stat .counter {
    font-size: 1.8rem;
    /* Smaller counter text */
    font-weight: 700;
    color: black;
    display: block;
    margin-bottom: 5px;
}

.modern-stat p {
    font-size: 0.9rem;
    /* Smaller text */
    color: black;
    font-weight: 500;
    margin: 0;
}



@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

/* Feature List Modern */
.modern-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.modern-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.modern-list-item:hover {
    transform: translateX(-5px);
    /* RTL */
}

html[dir="ltr"] .modern-list-item:hover {
    transform: translateX(5px);
}

.modern-list-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .modern-hero h1 {
        font-size: 2.5rem;
    }

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

    .modern-section {
        padding: 50px 20px;
    }
}




/* ============================= */
/* 1. ROOT & GLOBAL SETTINGS */
/* ============================= */

:root {
    --primary-color: #003366;
    --accent-color: #c5a059;
    --text-dark: #333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
    overflow-x: hidden;
    text-align: right;
}

/* ============================= */
/* CONTAINER */
/* ============================= */

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

/* ============================= */
/* GENERAL ELEMENTS */
/* ============================= */

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    background-color: var(--primary-color);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Burger */

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px;
    transition: 0.3s;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
    min-height: 100vh;
    padding: 120px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.65);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
}

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

.btn-primary:hover {
    background: #5f45ae;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

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

/* ============================= */
/* SERVICES */
/* ============================= */

.services {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

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

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

/* ============================= */
/* BIO SECTION */
/* ============================= */

.bio-section {
    padding: 80px 20px;
    background: #f0f4f8;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.bio-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ============================= */
/* STATS */
/* ============================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px auto;
}

.modern-stat {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

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

.modern-stat .counter {
    font-size: 1.8rem;
    font-weight: bold;
}

/* ============================= */
/* CONTACT */
/* ============================= */

.contact-section {
    padding: 80px 20px;
}

.form-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-form,
.map-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: linear-gradient(to right, #001a33, #002244);
    padding: 80px 20px 30px;
    color: var(--white);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: 0.3s;
    }

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

    .btn {
        width: 100%;
        margin-top: 15px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }
}

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}
