/* Global Styles */
:root {
    --primary-color: #e02b20;
    --text-color: #666666;
    --heading-color: #444444;
    --footer-bg: #383838;
    --footer-bottom-bg: #1b1b1b;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

@font-face {
    font-family: 'Droid Arabic Kufi';
    src: url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
    /* Using Cairo as a close Google Fonts alternative/fallback if Droid not available locally, or standard fallback */
}

body {
    font-family: 'Tahoma', 'Geneva', sans-serif;
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Droid Arabic Kufi', 'Tahoma', sans-serif;
    color: var(--heading-color);
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #b01f16;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 80px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--heading-color);
    font-weight: bold;
    font-size: 16px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

/* Header Top Info */
.top-header {
    background-color: #f9f9f9;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.top-header .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-header span {
    color: var(--text-color);
}

/* Sections */
.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
    position: relative;
    border-radius: 0 0 20px 20px;
    /* Slight modern touch */
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Slightly darker for better text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 48px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}

.hero p {
    font-size: 24px;
    margin-top: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Services / Features Columns */
.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Inputs and Buttons */
.input-field,
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

.input-field:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.button,
button[type="submit"],
button[type="button"] {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.button:hover,
button[type="submit"]:hover,
button[type="button"]:hover {
    background-color: #b01f16;
    transform: translateY(-2px);
}

/* Images */
img {
    border-radius: 8px;
    /* General soft roundness */
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #ccc;
    padding: 60px 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widget h4 {
    color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Responsive Layout */
.row-responsive {
    display: flex;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 768px) {
    .row-responsive {
        flex-direction: column;
    }

    .row-responsive>* {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    .header-inner {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    nav ul li {
        margin: 5px 0;
        margin-left: 0;
    }

    .columns-4 {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}