/**
 * Elite Medical Products - Main Stylesheet
 * ملف التنسيقات الرئيسي للموقع
 * Mobile-first responsive design
 */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b2b4f;
    --accent-color: #ffb347;
    --text-color: #1e293b;
    --light-text: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

/* ===== Header Styles ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

/* Header Contact */
.header-contact {
    display: none;
}

@media (min-width: 992px) {
    .header-contact {
        display: block;
    }
}

.contact-phone {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-phone i {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* ===== Hero Slider ===== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    color: #1a3d5f;
    max-width: 600px;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1a3f63;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-icon:hover {
    background: #dc3545;
    color: white;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== Products Section ===== */
.products-section {
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-badge.new {
    background: #28a745;
}

.product-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features i {
    color: #28a745;
    font-size: 14px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== Products Page Filter Bar ===== */
.filter-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-form {
    margin-bottom: 15px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    font-size: 14px;
    background: white;
}

.search-group {
    position: relative;
    flex: 2;
}

.filter-search {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px 10px;
}

.search-btn:hover {
    color: var(--primary-color);
}

.reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    background: #fee;
    border-radius: 20px;
}

.reset-filter:hover {
    background: #fdd;
}

.results-count {
    font-size: 14px;
    color: #666;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
}

.no-products i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-products p {
    color: #666;
    margin-bottom: 20px;
}

/* ===== Product Details Page ===== */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.product-gallery .main-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.product-description {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features i {
    color: #28a745;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Featured Products ===== */
.featured-products {
    padding: 60px 0;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 25px;
}

.featured-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.featured-content p {
    color: #666;
    margin-bottom: 20px;
}

/* ===== Reasons Grid ===== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.reason-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.reason-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.reason-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===== Features Section ===== */
.features-section {
    background: var(--primary-color);
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Military Section ===== */
.military-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../images/military-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.military-content {
    max-width: 800px;
    margin: 0 auto;
}

.military-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.military-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.military-features {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.military-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.military-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ===== Data Table ===== */
.data-section {
    background: var(--light-bg);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--light-bg);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-description,
.form-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-items {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    color: #666;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.text-muted {
    color: #999;
    font-size: 0.9rem;
}

.social-section {
    margin-top: 30px;
}

.social-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(11,43,79,0.1);
}

.captcha-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.captcha-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.captcha-code {
    flex: 1;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 8px;
    text-align: center;
    font-family: monospace;
}

.refresh-captcha {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #eef2f7;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.refresh-captcha:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.privacy-notice {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    color: #666;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ===== Map Section ===== */
.map-section {
    padding: 0 0 80px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-question i {
    color: #999;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1a3f63);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== Privacy Policy Page ===== */
.privacy-section {
    padding: 60px 0;
    background: #fff;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.last-updated {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
    border-left: 4px solid var(--accent-color);
}

.last-updated i {
    color: var(--accent-color);
    margin-right: 10px;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eef2f7;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-section h3 {
    color: #333;
    font-size: 18px;
    margin: 20px 0 15px;
    font-weight: 500;
}

.policy-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0 20px 20px;
    color: #666;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-section li strong {
    color: var(--primary-color);
}

.contact-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    width: 20px;
    color: var(--accent-color);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.consent-box {
    max-width: 900px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.consent-box h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.consent-box p {
    color: #666;
    margin-bottom: 20px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--accent-color);
    min-width: 20px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-credit p {
    color: var(--accent-color);
    margin: 0;
    font-weight: 600;
}

/* ===== Alerts ===== */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== Loading Spinner ===== */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Responsive Utilities ===== */
@media (max-width: 992px) {
    .contact-grid,
    .product-details-grid,
    .featured-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .filter-row {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid,
    .featured-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .hero-section,
    .slider-controls,
    .footer {
        display: none;
    }
}

.page-header-section {
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-header-section .page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}
/* تحديث تنسيقات الفوتر */
.footer-credit p {
    color: var(--accent-color);
    margin: 0;
    font-weight: 600;
}

.footer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px dotted transparent;
}

.footer-credit a:hover {
    color: #fff;
    border-bottom-color: var(--accent-color);
}

/* تحديث الروابط الاجتماعية */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: var(--primary-color);
}

/* تنسيق الروابط في الفوتر */
.footer-links a,
.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.contact-info a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}