/* ========== 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 ========== */
.headder {
    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: 35vh;
    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;
    align-items: center;
    justify-content: center;
    min-height: 25vh;
    text-align: center;
    padding: 30px 20px;
}

.hero h2 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.btn_scroll {
    background: linear-gradient(135deg, #27eac8 0%, #1fc7a8 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(39, 234, 200, 0.4);
    transition: all 0.3s ease;
}

.btn_scroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 234, 200, 0.6);
}

/* ========== Role/Content Section ========== */
.role {
    padding: 80px 0;
    background-color: #fff;
}

.role h3 {
    font-size: 36px;
    color: #1f2dce;
    font-weight: 700;
    margin-bottom: 15px;
}

.bar {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1f2dce, #27eac8);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.role .content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.role .content h3 {
    font-size: 28px;
    color: #1f2dce;
    font-weight: 700;
    margin: 35px 0 18px;
}

.role .content h3 i {
    margin-left: 10px;
}

.role .content p {
    font-size: 17px;
    line-height: 2;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.role .content img[alt="line"] {
    width: 120px;
    margin: 30px 0;
    display: block;
}

.role .content img[alt="visa"] {
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    margin: 25px auto;
    display: block;
}

/* ========== UI Message Styles ========== */
.ui.icon.message {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    border: none;
    border-left: 5px solid #2196f3;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.ui.icon.message .header {
    font-size: 17px;
    color: #1565c0;
    font-weight: 600;
}

.ui.icon.message .header i {
    margin-left: 8px;
    color: #2196f3;
}

.ui.icon.message a {
    color: #1976d2;
    text-decoration: underline;
    font-weight: 600;
}

.ui.icon.message a:hover {
    color: #0d47a1;
}

.ui.red.message {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: none;
    border-left: 5px solid #ff9800;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.ui.red.message .close {
    display: none;
}

.ui.red.message .header {
    font-size: 18px;
    color: #e65100;
    font-weight: 700;
    margin-bottom: 12px;
}

.ui.red.message .header p {
    color: #e65100;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.ui.red.message .header i {
    margin-left: 8px;
    color: #ff9800;
}

.ui.red.message p {
    font-size: 17px !important;
    color: #ef6c00 !important;
    line-height: 1.8 !important;
}

.ui.red.message p i {
    margin-left: 8px;
    color: #ff9800;
}

.ui.red.message a,
.ui.red.message a.contact {
    color: #1976d2;
    text-decoration: underline;
    font-weight: 700;
}

.ui.red.message a:hover,
.ui.red.message a.contact:hover {
    color: #0d47a1;
}

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

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

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

.primary_footer a:hover {
    color: #27eac8;
    transform: translateX(-5px);
}

.primary_footer a i {
    margin-right: 8px;
    color: #27eac8;
}

.primary_footer img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
}

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

.footer p {
    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 h2 {
        font-size: 28px;
    }

    .role h3 {
        font-size: 28px;
    }

    .role .content h3 {
        font-size: 24px;
    }

    .role .content p {
        font-size: 16px;
    }
}

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

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