/* ========================================== */
/* COMMON STYLES FOR ALL SERVICE PAGES */
/* ========================================== */

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%;
}

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

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

.hero p {
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.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;
    margin-top: 10px;
    display: block;
}

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

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

.content h3 {
    font-size: 38px;
    color: #1f2dce;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.content h3 i {
    font-size: 42px;
}

.content h4 {
    font-size: 28px;
    color: #1f2dce;
    font-weight: 700;
    margin: 30px 0 20px;
}

.content p,
.content li {
    font-size: 19px;
    line-height: 2.2;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.content ul,
.content ol {
    padding-right: 30px;
    margin-bottom: 25px;
}

.content li {
    margin-bottom: 15px;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

/* Buttons in content */
.content a.btn,
.content button.btn,
a[href*="contact"].btn {
    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;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(31, 45, 206, 0.3);
}

.content a.btn:hover,
.content button.btn:hover,
a[href*="contact"].btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 45, 206, 0.5);
    color: #fff;
    text-decoration: none;
}

/* Message Boxes */
.ui.message {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: none;
    border-left: 5px solid #ff9800;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 30px 0;
    font-size: 18px;
    line-height: 2;
    color: #ef6c00;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.ui.message i {
    font-size: 20px;
    margin-left: 10px;
    color: #ff9800;
}

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

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

/* Divider Line */
img[alt="line"] {
    max-width: 150px;
    margin: 40px auto;
    display: block;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .headder {
        min-height: 40vh;
    }

    .hero {
        min-height: 40vh;
        padding: 40px 15px;
    }

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

    .hero p {
        font-size: 18px;
    }

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

    .content {
        padding: 40px 0;
    }

    .content h3 {
        font-size: 30px;
    }

    .content h3 i {
        font-size: 34px;
    }

    .content h4 {
        font-size: 24px;
    }

    .content p,
    .content li {
        font-size: 17px;
        line-height: 2;
    }

    .ui.message {
        font-size: 16px;
        padding: 18px 20px;
    }
}

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

    .hero p {
        font-size: 16px;
    }

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

    .content h3 {
        font-size: 26px;
        flex-direction: column;
        text-align: center;
    }

    .content h4 {
        font-size: 22px;
    }

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

    .ui.message {
        font-size: 15px;
    }
}