/* CSS Reset and Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c6e49;
    --primary-light: #4c9a6a;
    --accent-color: #a3b18a;
    --bg-light: #faf8f5;
    --text-dark: #333333;
    --text-light: #ffffff;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

body {
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area img {
    height: 60px;
    width: auto;
}

.logo-area span {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 5px;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    background-color: #eef5f0;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Banner */
.hero {
    background: linear-gradient(135deg, rgba(44, 110, 73, 0.9) 0%, rgba(162, 177, 138, 0.8) 100%);
    color: var(--text-light);
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: center;
    z-index: 2;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    background-color: #20ba5a;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
    font-size: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Sections General */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: table;
    width: 100%;
}

.about-col {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: 20px;
}

.about-text p {
    font-size: 17px;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}

.about-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* Features / Why Choose Us */
.features-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.feature-card {
    display: table-cell;
    padding: 20px;
    text-align: center;
}

.feature-box {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.feature-box .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Products Section */
.products-container {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.product-cell {
    display: table-cell;
    padding: 15px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 15px;
}

.price-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ffeeba;
}

/* Benefits Section */
.benefit-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    border-right: 5px solid var(--primary-light);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.medical-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Gallery Section */
.gallery-grid {
    display: table;
    width: 100%;
}

.gallery-row {
    display: table-row;
}

.gallery-item {
    display: table-cell;
    width: 33.33%;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img:hover {
    opacity: 0.9;
}

/* Agents Section */
.agents-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.agent-card-cell {
    display: table-cell;
    padding: 15px;
}

.agent-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.agent-city {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.agent-zone {
    font-size: 16px;
    color: #666;
}

/* Contact Section */
.contact-container {
    display: table;
    width: 100%;
}

.contact-info-col {
    display: table-cell;
    width: 50%;
    padding: 20px;
    vertical-align: top;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item p {
    color: #555;
    font-size: 16px;
}

.contact-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

/* Responsive Styling (Media Queries) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    
    .about-grid, .features-grid, .products-container, .gallery-grid, .gallery-row, .agents-grid, .contact-container {
        display: block !important;
        width: 100% !important;
    }
    
    .about-col, .feature-card, .product-cell, .gallery-item, .agent-card-cell, .contact-info-col {
        display: block !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}
