/* ========== Import Cairo Font ========== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

/* ========== Global Styles ========== */
:root {
    --primary-color: #156082;
    --secondary-color: #FF9800;
    --dark-color: #333333;
    --light-color: #F8F9FA;
    --white-color: #FFFFFF;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Top Bar ========== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--white-color);
    margin-left: 15px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar .lang-switch img {
    width: 20px;
    height: 15px;
}

/* ========== Header ========== */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand .logo {
    height: 60px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-left: 15px;
}

.btn-quote:hover {
    background-color: #124d66;
    color: var(--white-color);
}

/* ========== Mega Menu ========== */
.mega-menu .mega-dropdown {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.mega-dropdown .dropdown-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.mega-dropdown .dropdown-subheader {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.mega-dropdown .dropdown-item {
    padding: 8px 15px;
    color: var(--gray-color);
    font-size: 14px;
}

.mega-dropdown .dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ========== Hero Section ========== */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 96, 130, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white-color);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-content .btn {
    padding: 12px 30px;
    font-size: 18px;
}

/* ========== Sections ========== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray-color);
}

/* ========== Cards ========== */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.card-text {
    color: var(--gray-color);
    font-size: 15px;
}

/* ========== Footer ========== */
.main-footer {
    background-color: #1a1a1a;
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-logo {
    max-width: 180px;
}

.footer-widget h5 {
    color: var(--white-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-widget p {
    color: #ccc;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-contact a {
    color: #ccc;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links h6 {
    color: var(--white-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ========== WhatsApp Float Button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    line-height: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: var(--white-color);
    transform: scale(1.1);
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 20px;
    }
    
    .btn-quote {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .mega-dropdown {
        position: static !important;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}