/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

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

/* ========== Header Section ========== */
.header {
    background: linear-gradient(135deg, rgba(31, 45, 206, 0.95) 0%, rgba(74, 95, 217, 0.95) 100%),
        url('../img/header\ bg.jpg') center/cover;
    min-height: 100vh;
    position: relative;
}

.overlay {
    width: 100%;
    height: 100%;
}

/* ========== Navbar Styles ========== */
.navbar {
    padding: 20px 0;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    color: #fff !important;
    font-size: 17px;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 18px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px;
    min-width: 250px;
}

.dropdown-item {
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #1f2dce;
    transform: translateX(-5px);
}

.navbar-toggler {
    border: 2px solid #fff;
    padding: 5px 10px;
}

.navbar-toggler-icon svg {
    fill: #fff;
    width: 25px;
    height: 25px;
}

/* ========== Hero Section ========== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

.hero h1 span {
    color: #27eac8;
    display: block;
    margin-top: 12px;
    font-size: 52px;
}

.btn_scroll {
    background: linear-gradient(135deg, #27eac8 0%, #1fc7a8 100%);
    color: #fff;
    border: none;
    padding: 16px 45px;
    font-size: 19px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(39, 234, 200, 0.5);
    transition: all 0.3s ease;
    display: block;
    margin-top: 10px;
}

.btn_scroll:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(39, 234, 200, 0.7);
}

/* ========== About Section ========== */
.about {
    padding: 60px 0;
    background-color: #fff;
}

.about .row {
    align-items: center;
}

.about .left {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.about .left img {
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about .right {
    padding: 30px;
}

.about .right h3 {
    font-size: 42px;
    color: #1f2dce;
    font-weight: 800;
    margin-bottom: 20px;
}

.bar {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #1f2dce, #27eac8);
    margin-bottom: 30px;
    border-radius: 3px;
}

.about .right p {
    font-size: 19px;
    line-height: 2.2;
    color: #444;
    margin-bottom: 30px;
    text-align: justify;
}

.about .right a {
    display: inline-block;
    background: linear-gradient(135deg, #1f2dce 0%, #4a5fd9 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(31, 45, 206, 0.3);
}

.about .right a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 45, 206, 0.5);
    text-decoration: none;
    color: #fff;
}

/* ========== Footer Styles ========== */
.footer-primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0 20px;
    color: #fff;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #27eac8;
}

.footer-link {
    display: block;
    color: #ddd;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding: 3px 0;
}

.footer-link:hover {
    color: #27eac8;
    transform: translateX(-5px);
    text-decoration: none;
}

.footer-link i {
    margin-right: 8px;
    color: #27eac8;
}

.footer-logo {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.footer-contact {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-contact i {
    color: #27eac8;
    font-size: 18px;
}

.footer-email {
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: #27eac8;
    text-decoration: none;
}

.footer-copyright {
    background-color: #0f0f1e;
    padding: 18px 0;
    color: #fff;
    text-align: center;
}

.copyright-text {
    margin: 0;
    font-size: 15px;
}

/* ========== Loading Animation ========== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: none !important;
    align-items: center;
    justify-content: center;
}

/* ========== Hover Effects ========== */
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hvr-glow {
    transition: all 0.3s ease;
}

.hvr-grow:hover {
    transform: scale(1.05);
}

.hvr-pop {
    transition: all 0.3s ease;
}

.hvr-pop:hover {
    transform: scale(1.1);
}

/* ========== Responsive Design ========== */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
    }

    .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h1 span {
        font-size: 40px;
    }

    .btn_scroll {
        padding: 14px 35px;
        font-size: 17px;
    }

    .about {
        padding: 40px 0;
    }

    .about .right {
        padding: 20px 15px;
    }

    .about .right h3 {
        font-size: 32px;
    }

    .about .right p {
        font-size: 17px;
        line-height: 2;
    }

    .about .right a {
        padding: 13px 35px;
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero h1 span {
        font-size: 34px;
    }

    .btn_scroll {
        padding: 12px 30px;
        font-size: 16px;
    }

    .about .right h3 {
        font-size: 28px;
    }

    .about .right p {
        font-size: 16px;
    }

    .about .right a {
        width: 100%;
        text-align: center;
    }

    .navbar-brand img {
        width: 50px;
        height: 50px;
    }
}