/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. تطبيق الخط الجديد على كامل الجسم */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e2a38;
    color: #ecf0f1;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    padding: 15px 0;
    border-bottom: 1px solid #34495e;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex; 
    align-items: center; 
}

.logo img {
    height: 40px; 
    width: auto;   
    margin-right: 10px; 
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.08); 
}

.logo span {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 20px; 
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #bdc3c7;
    font-size: 0.9em;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ffffff;
}

nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #34495e;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 0; 
    right: auto;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

nav ul li.dropdown .dropdown-content a {
    color: #bdc3c7;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left; 
    font-size: 0.9em;
}

nav ul li.dropdown .dropdown-content a:hover {
    background-color: #4a627a;
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

.hero-section .container {
    text-align: left; 
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 40px; 
    padding-left: 0;
    max-width: 48%;
    min-width: 300px;
    text-align: left; 
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3; /* Added for better heading spacing */
}

/* 3. تعديل تصميم قائمة النقاط بالكامل */
.hero-text ul {
    list-style: none; /* إزالة النقاط الافتراضية */
    padding-left: 0; 
    margin-bottom: 30px;
}

.hero-text ul li {
    margin-bottom: 12px;
    font-size: 1.1em;
    color: #bdc3c7;
    padding-left: 25px; /* مساحة للنقطة المخصصة */
    position: relative;
    transition: transform 0.2s ease-in-out; /* انتقال ناعم للتأثير */
}

.hero-text ul li::before {
    content: '■'; /* شكل النقطة (مربع) */
    position: absolute;
    left: 0;
    top: 1px;
    color: #e74c3c; /* لون النقطة ليتناسب مع الهوية */
    font-size: 1em;
}

.hero-text ul li:hover {
    transform: translateX(5px); /* حركة بسيطة لليمين عند التمرير */
    color: #ffffff; /* تغيير لون النص عند التمرير */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 48%;
    min-width: 300px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease; 
}

.hero-image img:hover {
    transform: scale(1.05); 
}

/* Interactive Link Section */
.interactive-link-section {
    text-align: center;
    padding: 40px 20px;
}

.interactive-link-section h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #ffffff;
}

.interactive-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.interactive-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Features Showcase Section */
.features-showcase-section {
    padding: 50px 0;
    background-color: #273746; 
    text-align: center;
}

.features-showcase-section h2 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 40px;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.showcase-item {
    flex-basis: calc(50% - 25px); 
    max-width: 450px;
    background-color: #2c3e50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.showcase-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.showcase-item img:hover {
    transform: scale(1.05);
}

/* 4. تم تغيير الوسم في HTML من h1 إلى p للحفاظ على نفس الشكل */
.showcase-item p {
    font-size: 1em;
    color: #bdc3c7;
    line-height: 1.5;
    text-align: left;
    flex-grow: 1; /* Makes the p tag take available space */
}


/* Main Ads Section */
.main-ads-section {
    background-color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.main-ads-section .container {
     display: flex;
     justify-content: space-around;
     align-items: center;
     flex-wrap: wrap;
}

.ad-placeholder {
    width: 220px;
    height: 120px;
    background-color: #f0f0f0;
    border: 1px dashed #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555555;
    font-size: 1.3em;
    font-weight: bold;
    margin: 15px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.ad-placeholder:hover {
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}

/* Standard Page Sections */
.page-section { padding: 40px 0; background-color: #2c3e50; margin-top: 20px; border-top: 1px solid #34495e; }
.page-section h2 { text-align: center; margin-bottom: 30px; font-size: 2em; }
.page-section p, .page-section ul { max-width: 800px; margin: 0 auto 15px auto; text-align: left; }
.page-section ul { list-style-position: inside; padding-left: 20px; }
.page-section h3 { font-size: 1.5em; margin-top: 25px; margin-bottom: 10px; color: #e0e0e0; }
.page-section h4 { font-size: 1.2em; margin-top: 20px; margin-bottom: 5px; color: #d0d0d0; }
.page-section a { color: #e74c3c; text-decoration: none; }
.page-section a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background-color: #1a2027; color: #bdc3c7; padding: 30px 0; text-align: center; margin-top: 0; }
.site-footer .footer-links { margin-bottom: 20px; }
.site-footer .footer-links a { color: #bdc3c7; text-decoration: none; margin: 0 10px; font-size: 0.9em; }
.site-footer .footer-links a:hover { color: #ffffff; }
.site-footer .copyright { font-size: 0.85em; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-text, .hero-image { max-width: 100%; flex-basis: 100%; }
    .hero-text { padding-right: 0; margin-bottom: 30px; text-align: center; }
    .hero-text ul { display: inline-block; text-align: left; }
    .hero-image { margin-top: 20px; }

    .showcase-item {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; text-align: center; }
    .logo { margin-bottom: 15px; justify-content: center; }
    nav ul { flex-direction: column; align-items: center; }
    nav ul li { margin: 10px 0; }
    nav ul li.dropdown .dropdown-content { position: static; background-color: transparent; box-shadow: none; width: 100%; text-align: center; }
    nav ul li.dropdown .dropdown-content a { padding: 8px 0; text-align: center; color: #bdc3c7; }
    nav ul li.dropdown .dropdown-content a:hover { background-color: #2c3e50; color: #ffffff; }

    .hero-text h1 { font-size: 2em; }
    .hero-text ul li { font-size: 1em; }
    .interactive-link-section h2 { font-size: 1.5em; }
    .interactive-button { font-size: 1.1em; padding: 12px 25px; }
    
    .features-showcase-section h2 { font-size: 1.8em; }
    .image-grid { gap: 15px; }
    .showcase-item { 
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .showcase-item:last-child {
        margin-bottom: 0;
    }

    .page-section h2 { font-size: 1.8em; }
    .page-section h3 { font-size: 1.3em; }
    .page-section h4 { font-size: 1.1em; }
    
    .ad-placeholder { width: 80%; max-width: 300px; font-size: 1.1em; }
}