/* ============================================
   أنماط بوابة المنح الدراسية العالمية - WordPress
   ============================================ */

:root {
    --primary-color: #009994;
    --primary-light: #4dc9c4;
    --primary-dark: #007a76;
    --secondary-color: #004845;
    --secondary-light: #2d6b69;
    --accent-color: #00c9b8;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --white: #FFFFFF;
    --gold-color: #FFD700;
    --text-color: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
}

/* ============================================
   1. تحسينات Topbar
   ============================================ */

.topbar {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.topbar a:hover {
    opacity: 0.9;
}

.social-icons a {
    margin-right: 12px;
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.promo-text {
    font-weight: 600;
    position: relative;
    padding-right: 15px;
}

.promo-text::before {
    content: "✨";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================
   2. Navbar Styles
   ============================================ */

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    transition: all 0.4s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    width: 100%;
}

.navbar.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.navbar-container {
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.navbar-brand {
    font-weight: 900;
    color: var(--primary-color) !important;
    font-size: 1.6rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    white-space: nowrap;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand span {
    color: var(--secondary-color);
    margin-right: 5px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
    background: none;
    transition: all 0.3s;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.navbar-collapse {
    transition: all 0.4s ease;
}

.navbar-nav {
    align-items: center;
    padding: 5px 0;
}

.nav-item {
    margin: 0 2px;
    position: relative;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 10px !important;
    position: relative;
    transition: all 0.3s;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 10px;
    left: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, 
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(0, 153, 148, 0.05);
}

.nav-link.new-badge {
    position: relative;
}

.nav-link.new-badge::before {
    content: "جديد";
    position: absolute;
    top: 5px;
    left: -5px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 0.55rem;
    padding: 1px 4px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 2px 10px rgba(255, 71, 87, 0.5); }
    100% { box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3); }
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 5px;
    flex-shrink: 0;
}

.btn-login, .btn-register {
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: none;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background-color: rgba(0, 153, 148, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 148, 0.2);
}

.btn-register {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 153, 148, 0.3);
}

.btn-register:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 153, 148, 0.4);
}

/* ============================================
   3. Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03) 0%, transparent 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.search-form {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 148, 0.1);
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.form-select {
    border-radius: 12px;
    padding: 14px 20px;
    border: 2px solid var(--medium-gray);
    background-color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
    height: auto;
    font-weight: 500;
    color: var(--text-color);
    width: 100%;
}

.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    border-color: var(--primary-color);
}

.btn-search {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-dark));
    color: var(--white);
    padding: 16px 30px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    width: 100%;
    border: none;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 72, 69, 0.3);
}

.btn-search:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 72, 69, 0.4);
}

.more-options-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 700;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(0, 153, 148, 0.08);
}

.more-options-link:hover {
    color: var(--primary-dark);
    background: rgba(0, 153, 148, 0.15);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    animation: floatAnimation 6s ease-in-out infinite;
    transform-origin: center center;
    width: 100%;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 72, 69, 0.2);
    border: 8px solid var(--white);
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
}

.hero-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 35px 70px rgba(0, 72, 69, 0.3);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
    background: var(--accent-color);
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
    background: var(--accent-color);
}

/* ============================================
   4. قسم الشهادات والاعتمادات
   ============================================ */

.certificates-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03), rgba(0, 72, 69, 0.05));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.certificates-section .title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.certificates-section .desc {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.certificates-slider {
    position: relative;
    padding: 0 15px;
    width: 100%;
    overflow: hidden;
}

.certificates-slider .owl-stage-outer {
    padding: 20px 0;
    overflow: hidden;
}

.certificates-box {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    width: 100%;
}

.certificates-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 153, 148, 0.15);
    border-color: var(--primary-color);
}

.certificates-box img {
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.certificates-box:hover img {
    transform: scale(1.1);
}

.certificates-box .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificates-box p {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.certificates-box strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0;
    text-align: center;
}

/* إزالة رابط عرض المزيد */
.certificates-box a {
    display: none;
}

/* ============================================
   5. قسم آراء الطلاب
   ============================================ */

.reviews-section {
    background-color: var(--light-gray);
    padding: 100px 0;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
    width: 100%;
}

.container {
    max-width: 1320px;
    width: 100%;
    padding-right: var(--bs-gutter-x,.75rem);
    padding-left: var(--bs-gutter-x,.75rem);
    margin-right: auto;
    margin-left: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.review-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 5rem;
    color: rgba(0, 153, 148, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.reviewer-degree {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.review-rating {
    color: var(--gold-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   6. قسم الجودة والاعتمادات
   ============================================ */

.certifications-section {
    background-color: var(--white);
    padding: 100px 0;
    width: 100%;
}

.certification-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 153, 148, 0.15);
    border-color: var(--primary-color);
}

.certification-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.certification-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   7. قسم أفضل عروض دراسة اللغة الإنجليزية
   ============================================ */

.offers-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 100px 0;
    width: 100%;
}

.offer-slider-container {
    position: relative;
    padding: 0 50px;
    width: 100%;
    overflow: hidden;
}

.offer-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    height: 100%;
    margin: 15px;
    width: 100%;
}

.offer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.offer-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.offer-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.offer-card:hover .offer-img img {
    transform: scale(1.1);
}

.offer-content {
    padding: 30px;
}

.offer-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 7px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.offer-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.offer-description {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.offer-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.offer-features i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 1rem;
}

.offer-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.offer-price {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.offer-old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-top: 5px;
}

.btn-offer {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 800;
    border: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.btn-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 153, 148, 0.4);
}

/* ============================================
   8. قسم المقالات
   ============================================ */

.articles-section {
    background-color: var(--light-gray);
    padding: 100px 0;
    width: 100%;
}

.article-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
}

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.article-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.article-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-content {
    padding: 30px;
}

.article-category {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.article-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    height: 66px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

/* ============================================
   9. Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--secondary-color), #003333);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.footer-logo {
    font-weight: 900;
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.3s;
}

.footer-logo:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-desc {
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1rem;
}

.footer-title {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 10px;
}

.footer-links a i {
    margin-left: 10px;
    font-size: 0.9rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--accent-color);
    margin-left: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   10. Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   11. Owl Carousel Customizations
   ============================================ */

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
    opacity: 0.8;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color)) !important;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.owl-carousel .owl-nav button.owl-prev {
    right: -25px;
}

.owl-carousel .owl-nav button.owl-next {
    left: -25px;
}

.owl-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: var(--medium-gray);
    display: block;
    border-radius: 50%;
    transition: all 0.3s;
}

.owl-carousel .owl-dot.active span {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   12. إصلاح عام للعرض الزائد
   ============================================ */

.row {
    margin-right: 0;
    margin-left: 0;
}

.row > * {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

/* تثبيت مشكلة الـ Owl Carousel */
.owl-carousel {
    width: 100% !important;
}

.owl-stage-outer {
    overflow: hidden !important;
    width: 100% !important;
}

.owl-stage {
    display: flex !important;
}

.owl-item {
    width: 100% !important;
    max-width: 100% !important;
}

/* ============================================
   13. Responsive Styles
   ============================================ */

/* تحسينات Mobile Navbar */
@media (max-width: 1399px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 10px 8px !important;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 1199px) {
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 1px;
    }
    
    .nav-link {
        padding: 10px 8px !important;
        font-size: 0.78rem;
    }
    
    .btn-login, .btn-register {
        padding: 6px 14px;
        font-size: 0.78rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        padding: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        margin-top: 5px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        width: 100%;
        flex-direction: column;
    }
    
    .nav-item {
        margin: 3px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 14px 0 !important;
        justify-content: flex-start;
        border-radius: 8px;
        width: 100%;
        font-size: 0.9rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link.new-badge::before {
        top: 14px;
        left: 5px;
    }
    
    .navbar-buttons {
        flex-direction: column;
        width: 100%;
        margin: 15px 0 0;
        gap: 10px;
    }
    
    .btn-login, .btn-register {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .topbar {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-toggler {
        font-size: 1rem;
        padding: 6px;
        width: 36px;
        height: 36px;
    }
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-desc {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 50px;
        animation: none;
    }
    
    .hero-image:hover img {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .search-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .btn-search {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Responsive Certificates */
@media (max-width: 768px) {
    .certificates-section {
        padding: 60px 0;
    }
    
    .certificates-section .title {
        font-size: 2rem;
        text-align: center;
    }
    
    .certificates-section .desc {
        font-size: 1rem;
        text-align: center;
    }
    
    .certificates-slider {
        padding: 0 10px;
    }
    
    .certificates-box {
        min-height: 260px;
        padding: 25px 20px;
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        right: -15px;
    }
    
    .owl-carousel .owl-nav button.owl-next {
        left: -15px;
    }
}

/* ============================================
   14. WordPress Specific Styles
   ============================================ */

.site-main {
    min-height: 60vh;
}

.entry-title {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.entry-content h2 {
    color: var(--secondary-color);
    margin: 40px 0 20px;
    font-size: 2rem;
}

.entry-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

/* WordPress Widgets */
.widget {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.widget-title {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

/* WordPress Comments */
.comments-area {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--medium-gray);
}

.comment-reply-title {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 30px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    outline: none;
}

/* WordPress Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--white);
    color: var(--text-color);
    margin: 0 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.pagination .page-numbers.current {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* WordPress Search Form */
.search-form-wp {
    position: relative;
    margin-bottom: 30px;
}

.search-form-wp input[type="search"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-form-wp input[type="search"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    outline: none;
}

.search-form-wp button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form-wp button:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-50%) scale(1.05);
}

/* WordPress Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 15px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-light);
}

/* WordPress Error 404 */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.error-404 h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.error-404 .search-form-wp {
    max-width: 500px;
    margin: 40px auto;
}

/* WordPress Admin Bar Adjustment */
.admin-bar .navbar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .navbar {
        top: 0;
    }
}
/* ============================================
   أنماط صفحة المقالات
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 40px 0;
    width: 100%;
}

.breadcrumb-content h1 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Articles Main Section */
.articles-main-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Article Categories */
.categories-filter {
    margin-bottom: 40px;
    width: 100%;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.category-item {
    margin: 0;
}

.category-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.category-btn:hover, .category-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.2);
}

/* Article Cards */
.article-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
}

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.article-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.article-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-content {
    padding: 30px;
}

.article-category {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.article-category:hover {
    opacity: 0.9;
    color: white;
}

.article-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    height: 66px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.read-more-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
    text-align: center;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 153, 148, 0.4);
    color: var(--white);
}

/* Pagination */
.pagination-section {
    margin-top: 60px;
    width: 100%;
}

.pagination {
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    color: var(--primary-color);
    border: 2px solid var(--medium-gray);
    border-radius: 10px !important;
    padding: 10px 18px;
    font-weight: 700;
    margin: 0 5px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.page-numbers:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.page-numbers.current {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.popular-articles-list {
    list-style: none;
    padding: 0;
}

.popular-article-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-article-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 15px;
    flex-shrink: 0;
}

.popular-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.popular-article-item:hover .popular-article-img img {
    transform: scale(1.1);
}

.popular-article-content {
    flex: 1;
}

.popular-article-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-article-title a {
    color: inherit;
    text-decoration: none;
}

.popular-article-title a:hover {
    color: var(--primary-color);
}

.popular-article-meta {
    color: var(--text-light);
    font-size: 0.85rem;
}

.popular-article-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(0, 153, 148, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .categories-list {
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .article-img {
        height: 200px;
    }
    
    .sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb-section {
        padding: 30px 0;
    }
    
    .articles-main-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .article-title {
        font-size: 1.3rem;
        height: auto;
        min-height: 66px;
    }
    
    .article-excerpt {
        height: auto;
        min-height: 80px;
    }
    
    .page-link {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}
/* ============================================
   أنماط صفحة المقالة المفردة
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px 0;
    width: 100%;
}

.breadcrumb-content .breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Article Main Content */
.article-main-section {
    padding: 60px 0;
    background-color: var(--white);
    width: 100%;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-category {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
}

.article-category:hover {
    opacity: 0.9;
    color: white;
}

.article-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-meta-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-meta-item i {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 1.1rem;
}

.article-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-featured-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content h2 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-right: 15px;
    border-right: 5px solid var(--primary-color);
}

.article-content h3 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin-right: 30px;
    margin-bottom: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.08), rgba(0, 72, 69, 0.08));
    border-right: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.highlight-box h4 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-tags h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-left: 15px;
}

.tag {
    background-color: rgba(0, 153, 148, 0.1);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-left: 15px;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.share-icon:hover {
    transform: translateY(-5px);
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.whatsapp { background-color: #25d366; }

/* Author Bio */
.author-bio {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px;
    border-radius: 20px;
    margin: 50px 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content h3 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.author-bio-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
}

/* Related Articles */
.related-articles {
    margin-top: 80px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.article-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
}

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.article-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.article-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-content {
    padding: 25px;
}

.article-category-small {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.article-card .article-title {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    height: 68px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    gap: 10px;
}

.article-card .article-meta i {
    color: var(--primary-color);
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Comments Section */
.comments-section {
    margin-top: 80px;
    width: 100%;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.comment-form h3 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.form-control {
    border-radius: 12px;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    border-color: var(--primary-color);
    outline: none;
}

.btn-submit-comment {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 15px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.btn-submit-comment:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4);
}

.comment-list {
    margin-top: 40px;
}

.comment-item {
    background-color: var(--white);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 20px;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author {
    flex: 1;
}

.comment-author h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-rating {
    color: var(--gold-color);
    font-size: 1rem;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.popular-articles-list {
    list-style: none;
    padding: 0;
}

.popular-article-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-article-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 15px;
    flex-shrink: 0;
}

.popular-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.popular-article-item:hover .popular-article-img img {
    transform: scale(1.1);
}

.popular-article-content {
    flex: 1;
}

.popular-article-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-article-title a {
    color: inherit;
    text-decoration: none;
}

.popular-article-title a:hover {
    color: var(--primary-color);
}

.popular-article-meta {
    color: var(--text-light);
    font-size: 0.85rem;
}

.popular-article-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-small {
    background-color: rgba(0, 153, 148, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.tag-small:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .sidebar {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .article-card .article-title {
        font-size: 1.1rem;
        height: auto;
        min-height: 68px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-category {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .share-icons {
        flex-wrap: wrap;
    }
    
    .share-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ============================================
   أنماط صفحة تسجيل الدخول والتحكم
   ============================================ */

.auth-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03), rgba(0, 72, 69, 0.05));
    min-height: 70vh;
}

/* لوحة التحكم */
.user-dashboard {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.dashboard-sidebar {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    color: white;
    height: 100%;
    padding: 30px 0;
}

.user-profile-card {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.user-email {
    opacity: 0.9;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.user-status .badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.dashboard-menu {
    padding: 0 20px;
}

.dashboard-menu .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.dashboard-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-right: 25px;
}

.dashboard-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    font-weight: 700;
}

.dashboard-menu .nav-link i {
    font-size: 1.2rem;
    margin-left: 10px;
}

.dashboard-menu .badge {
    margin-right: auto;
    font-size: 0.8rem;
    padding: 5px 10px;
}

.dashboard-menu .nav-link.text-danger:hover {
    background: rgba(220, 53, 69, 0.2);
}

.dashboard-content {
    padding: 30px;
}

.welcome-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.welcome-title {
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.welcome-text {
    opacity: 0.9;
    margin: 0;
}

.stats-cards .stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.stats-cards .stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.recent-orders-card,
.quick-actions-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.3rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.card-body {
    padding: 30px;
}

.orders-table {
    margin: 0;
}

.orders-table th {
    background: var(--light-gray);
    color: var(--secondary-color);
    font-weight: 800;
    border: none;
    padding: 15px;
    text-align: right;
}

.orders-table td {
    padding: 15px;
    vertical-align: middle;
    border-color: var(--medium-gray);
}

.order-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-pending { background: #ffc107; color: #000; }
.status-processing { background: #007bff; color: white; }
.status-on-hold { background: #6c757d; color: white; }
.status-completed { background: #28a745; color: white; }
.status-cancelled { background: #dc3545; color: white; }
.status-refunded { background: #17a2b8; color: white; }

.quick-action-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px;
    border-radius: 15px;
    background: var(--light-gray);
    transition: all 0.3s;
}

.quick-action-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-5px);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.quick-action-btn:hover .action-icon {
    color: white;
}

.quick-action-btn span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

/* تسجيل الدخول/إنشاء حساب */
.auth-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
    display: flex;
    background: var(--light-gray);
}

.auth-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.auth-content {
    padding: 40px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.auth-form-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.auth-form .form-control {
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
}

.form-check-label {
    color: var(--text-color);
    font-weight: 500;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 15px 30px;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
}

.btn-social {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-facebook {
    background: #1877f2;
    color: white;
}

.btn-google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--medium-gray);
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.text-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.text-primary:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Modal */
.message-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

#messageTitle {
    color: var(--secondary-color);
    font-weight: 900;
}

/* Responsive */
@media (max-width: 992px) {
    .dashboard-sidebar {
        padding: 20px 0;
    }
    
    .user-profile-card {
        padding: 0 15px 20px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .welcome-card {
        padding: 20px;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .auth-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 50px 0;
    }
    
    .user-dashboard {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .stats-cards .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin: 0 0 15px 0;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .auth-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .auth-tab {
        padding: 15px;
        font-size: 1rem;
    }
    
    .auth-content {
        padding: 20px;
    }
    
    .auth-form-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .welcome-card .btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .orders-table {
        font-size: 0.9rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px;
    }
    
    .order-status {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}
/* ============================================
   أنماط صفحة من نحن
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px 0;
    width: 100%;
}

.breadcrumb-content .breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Hero About Section */
.about-hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.08), rgba(0, 72, 69, 0.08));
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    border-radius: 0 0 0 100px;
}

.about-hero-content h1 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-hero-content .lead {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-weight: 900;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Our Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: var(--white);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.mission-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 148, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.mission-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 20px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-title {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mission-description {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Our Values Section */
.values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Our Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--white);
    width: 100%;
}

.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    width: 45%;
    transition: all 0.4s;
    position: relative;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.timeline-year {
    position: absolute;
    top: -25px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-year {
    right: -30px;
}

.timeline-content h3 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.7;
}

.timeline-marker {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 1;
    box-shadow: 0 0 0 8px rgba(0, 153, 148, 0.2);
}

/* Our Team Section */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-content {
    padding: 30px 25px;
}

.team-name {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 153, 148, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Our Partners Section */
.partners-section {
    padding: 100px 0;
    background-color: var(--white);
    width: 100%;
}

.partners-slider {
    margin-top: 50px;
}

.partner-logo {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--medium-gray);
    transition: all 0.4s;
    margin: 0 15px;
}

.partner-logo:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color), #003333);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.cta-title {
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 18px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
}

.btn-cta-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4);
    color: var(--white);
}

.btn-cta-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 18px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content .lead {
        font-size: 1.2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 80px;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: 40px;
    }
    
    .timeline-year {
        position: relative;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .timeline-marker {
        display: none;
    }
    
    .story-timeline::before {
        right: 30px;
    }
    
    .cta-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 70px 0;
    }
    
    .about-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .mission-section, .values-section, .story-section, .team-section, .partners-section, .cta-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .mission-card {
        padding: 40px 30px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 1.9rem;
    }
    
    .about-hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .mission-card {
        padding: 30px 25px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
}
/* ============================================
   أنماط صفحة طلب التأشيرة
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px 0;
    width: 100%;
}

.breadcrumb-content .breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Visa Request Section */
.visa-request-section {
    padding: 80px 0;
    background-color: var(--sub-secondary-color);
    width: 100%;
    min-height: calc(100vh - 300px);
}

.visa-request-section .text-main-color {
    color: var(--main-color) !important;
}

.visa-request-section .font-weight-bold {
    font-weight: 900 !important;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h1 {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Visa Form Container */
.visa-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.visa-form {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 148, 0.1);
    position: relative;
    overflow: hidden;
}

.visa-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background-color: var(--white);
    color: var(--text-color);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.phone-input-group {
    position: relative;
}

.country-flag-selector {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 153, 148, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
}

.country-flag-selector img {
    width: 24px;
    height: 16px;
}

.country-flag-selector span {
    font-weight: 600;
    color: var(--primary-color);
}

.phone-input-group .form-control {
    padding-right: 20px;
    padding-left: 120px;
}

.country-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    width: 250px;
    z-index: 100;
    display: none;
}

.country-select-dropdown.show {
    display: block;
}

.country-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.country-option:hover {
    background-color: rgba(0, 153, 148, 0.1);
}

.country-option img {
    width: 24px;
    height: 16px;
    margin-left: 10px;
}

.visa-type-info {
    background-color: rgba(0, 153, 148, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 10px;
    display: none;
}

.visa-type-info.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.visa-price {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.visa-deposit {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
}

.schengen-notes {
    background-color: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.schengen-notes.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.schengen-notes ul {
    list-style: none;
    padding-right: 0;
    margin-bottom: 0;
}

.schengen-notes li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.schengen-notes li:last-child {
    margin-bottom: 0;
}

.schengen-notes strong {
    color: var(--primary-color);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 18px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
    margin-top: 20px;
    font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.form-note a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 600;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .visa-form {
        padding: 35px 30px;
    }
    
    .section-heading h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .visa-request-section {
        padding: 60px 0;
    }
    
    .visa-form {
        padding: 30px 25px;
    }
    
    .section-heading h1 {
        font-size: 2rem;
    }
    
    .section-heading p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 14px 18px;
    }
    
    .phone-input-group .form-control {
        padding-left: 110px;
    }
    
    .country-flag-selector {
        padding: 7px 10px;
    }
}

@media (max-width: 576px) {
    .visa-request-section {
        padding: 50px 0;
    }
    
    .visa-form {
        padding: 25px 20px;
    }
    
    .section-heading h1 {
        font-size: 1.8rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .phone-input-group .form-control {
        padding-left: 100px;
    }
    
    .country-flag-selector {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    
    .country-flag-selector img {
        width: 20px;
        height: 14px;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }
}
/* ============================================
   أنماط صفحة التواصل معنا
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px 0;
    width: 100%;
}

.breadcrumb-content .breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Contact Hero Section */
.contact-hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.08), rgba(0, 72, 69, 0.08));
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.contact-hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.contact-stat-item {
    text-align: center;
}

.contact-stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-stat-number {
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.contact-stat-label {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Contact Main Section */
.contact-main-section {
    padding: 100px 0;
    background-color: var(--white);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Contact Info Cards */
.contact-info-cards {
    margin-bottom: 80px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.contact-info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-info-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info-content {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
    display: block;
    margin-top: 10px;
}

.contact-info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 100px 0;
    width: 100%;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 148, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background-color: var(--white);
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 18px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
    width: 100%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--medium-gray);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 153, 148, 0.1);
}

.faq-question {
    padding: 25px 30px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

/* Office Locations */
.offices-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    width: 100%;
}

.office-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.office-flag {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 153, 148, 0.1);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.office-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.office-address {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.office-contact {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-main-section, .contact-form-section, .faq-section, .offices-section {
        padding: 70px 0;
    }
    
    .contact-form-card {
        padding: 40px 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 70px 0;
    }
    
    .contact-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .contact-stats {
        gap: 30px;
    }
    
    .contact-stat-number {
        font-size: 2rem;
    }
    
    .contact-info-card, .office-card {
        padding: 30px 25px;
    }
    
    .contact-form-card {
        padding: 30px 25px;
    }
    
    .form-control {
        padding: 14px 18px;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-content h1 {
        font-size: 1.9rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .contact-stats {
        gap: 20px;
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}
/* ============================================
   أنماط صفحة المعاهد
   ============================================ */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 30px 0;
    width: 100%;
}

.breadcrumb-content .breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* Institutes Main Section */
.institutes-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.page-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Filter Section */
.filter-section {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(0, 153, 148, 0.1);
}

.filter-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 12px;
    display: block;
}

.form-select, .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    font-size: 0.95rem;
    transition: all 0.3s;
    height: auto;
}

.form-select:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    border-color: var(--primary-color);
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid var(--medium-gray);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.form-check-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
}

.btn-filter {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 14px 30px;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 10px;
    border: none;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.btn-filter:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 153, 148, 0.4);
}

.btn-reset {
    background-color: transparent;
    color: var(--text-color);
    padding: 14px 30px;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 10px;
    border: 2px solid var(--medium-gray);
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

.btn-reset:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--text-light);
}

/* Institute Cards */
.institute-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: none;
    height: 100%;
}

.institute-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.institute-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.institute-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.institute-card:hover .institute-img img {
    transform: scale(1.05);
}

.institute-box-title {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.institute-box-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.institute-box-title a:hover {
    color: var(--primary-color);
}

.course-box-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-box-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.course-box-title a:hover {
    color: var(--primary-color);
}

.card-body p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-body i {
    color: var(--primary-color);
    margin-left: 8px;
    width: 16px;
}

.card-footer {
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
}

.price {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.sar-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
}

/* Badge */
.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
    z-index: 1;
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.results-count {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.sort-select {
    width: auto;
    min-width: 200px;
}

/* Pagination */
.pagination-section {
    margin-top: 60px;
    width: 100%;
}

.pagination {
    justify-content: center;
    gap: 10px;
}

.page-link {
    color: var(--primary-color);
    border: 2px solid var(--medium-gray);
    border-radius: 8px !important;
    padding: 10px 18px;
    font-weight: 700;
    margin: 0 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.page-item.active .page-link {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.page-item.disabled .page-link {
    color: var(--text-light);
    border-color: var(--medium-gray);
    transform: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    font-size: 5rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.no-results-title {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.no-results-text {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 153, 148, 0.1);
}

.widget-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.popular-institutes-list {
    list-style: none;
    padding: 0;
}

.popular-institute-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-institute-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-institute-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 15px;
    flex-shrink: 0;
}

.popular-institute-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.popular-institute-item:hover .popular-institute-img img {
    transform: scale(1.1);
}

.popular-institute-content {
    flex: 1;
}

.popular-institute-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-institute-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.popular-institute-title a:hover {
    color: var(--primary-color);
}

.popular-institute-location {
    color: var(--text-light);
    font-size: 0.85rem;
}

.popular-institute-location i {
    color: var(--primary-color);
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .institute-img {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .filter-section {
        margin-bottom: 30px;
    }
    
    .sidebar-widget {
        margin-top: 40px;
    }
    
    .results-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .filter-section {
        padding: 25px;
    }
    
    .institute-box-title {
        font-size: 1.2rem;
    }
    
    .course-box-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .institutes-section {
        padding: 40px 0;
    }
    
    .filter-section {
        padding: 20px;
    }
    
    .filter-title {
        font-size: 1.2rem;
    }
    
    .btn-filter, .btn-reset {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.2rem;
    }
    
    .no-results-title {
        font-size: 1.5rem;
    }
    
    .no-results-text {
        font-size: 1rem;
    }
}
/* ============================================
   أنماط نموذج الاتصال
   ============================================ */

.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    width: 100%;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0, 72, 69, 0.15);
    border: 1px solid rgba(0, 153, 148, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 25px 25px 0 0;
}

/* أنماط Contact Form 7 */
.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
    position: relative;
    padding-right: 8px;
}

.wpcf7-form label span.required {
    color: #ff4757;
    margin-right: 5px;
    font-size: 1.2rem;
}

/* الحقول النصية */
.wpcf7-form-control {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 2px solid var(--medium-gray) !important;
    border-radius: 12px !important;
    background-color: var(--white) !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 1rem !important;
    color: var(--text-color) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
}

.wpcf7-form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25) !important;
    outline: none !important;
}

/* حقل النص */
.wpcf7-text,
.wpcf7-email {
    height: 55px !important;
}

/* حقل النص الطويل */
.wpcf7-textarea {
    min-height: 150px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

/* زر الإرسال */
.wpcf7-submit {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--white) !important;
    padding: 18px 40px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    border: none !important;
    transition: all 0.3s !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.wpcf7-submit:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4) !important;
}

.wpcf7-submit:active {
    transform: translateY(-1px) !important;
}

.wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.wpcf7-submit:hover::before {
    opacity: 1;
}

/* تأثير التحميل على الزر */
.wpcf7-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* رسائل الخطأ والنجاح */
.wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-align: center !important;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #2ecc71 !important;
    background-color: rgba(46, 204, 113, 0.1) !important;
    color: #27ae60 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    border: 2px solid #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #c0392b !important;
}

.wpcf7-spam-blocked,
.wpcf7-validation-errors {
    border: 2px solid #f39c12 !important;
    background-color: rgba(243, 156, 18, 0.1) !important;
    color: #d35400 !important;
}

/* رسائل التحقق */
.wpcf7-not-valid-tip {
    color: #e74c3c !important;
    font-size: 0.85rem !important;
    margin-top: 8px !important;
    font-weight: 600 !important;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
}

.wpcf7-form-control.wpcf7-valid {
    border-color: #2ecc71 !important;
}

/* مؤشر التحميل */
.wpcf7-spinner {
    display: none !important;
}

/* تصميم الحقول في صفوف */
.wpcf7-form .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.wpcf7-form .row > div {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

/* تصميم متجاوب للنموذج */
@media (max-width: 768px) {
    .wpcf7-form .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* إيكونات داخل الحقول */
.wpcf7-form .form-group {
    position: relative;
}

.wpcf7-form .form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.wpcf7-form .form-group .wpcf7-form-control {
    padding-left: 50px !important;
}

/* تصميم خاص لـ Contact Form 7 مع الرمز المحدد */
.wpcf7-form label[for="your-name"],
.wpcf7-form label[for="your-email"],
.wpcf7-form label[for="your-subject"],
.wpcf7-form label[for="your-message"] {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.wpcf7-form label[for="your-name"]::before,
.wpcf7-form label[for="your-email"]::before,
.wpcf7-form label[for="your-subject"]::before,
.wpcf7-form label[for="your-message"]::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 8px;
}

/* تحسين النموذج البديل */
#contactForm {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    background-color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23009994' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 12px;
    padding-left: 45px;
}

/* خانة الاختيار */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
}

/* زر الإرسال البديل */
.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 153, 148, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 153, 148, 0.4);
    color: var(--white);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.submit-btn:hover::before {
    opacity: 1;
}

/* رسائل النجاح/الخطأ للنموذج البديل */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    color: #27ae60;
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
    color: #c0392b;
    display: block;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 70px 0;
    }
    
    .contact-form-card {
        padding: 35px;
        border-radius: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .wpcf7-form-control {
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
    }
    
    .wpcf7-text,
    .wpcf7-email {
        height: 50px !important;
    }
    
    .wpcf7-submit {
        padding: 16px 30px !important;
        font-size: 1rem !important;
    }
    
    .form-control {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form-card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-section {
        padding: 50px 0;
    }
}

/* تأثيرات إضافية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-card {
    animation: fadeInUp 0.6s ease-out;
}

/* تلوين الحقول عند التركيز */
.wpcf7-form-control:focus {
    background-color: rgba(0, 153, 148, 0.02) !important;
}

/* إضافة أيقونات للحقول */
.wpcf7-form-control[type="text"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23009994' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 18px;
    padding-left: 50px !important;
}

.wpcf7-form-control[type="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23009994' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2zm13 2.383-4.758 2.855L15 13.157V6.383zm-.034 6.876L5.762 8.89l-1.413.693L1.866 6.8 1 6.684v7.529a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6.684l-.866.134z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 18px;
    padding-left: 50px !important;
}

.wpcf7-textarea {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23009994' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3.5 7a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px top 20px;
    background-size: 18px;
    padding-left: 50px !important;
    padding-top: 40px !important;
}
/* ============================================
   أنماط صفحة السلة
   ============================================ */

.cart-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.cart-item-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.cart-item-title a {
    color: inherit;
    text-decoration: none;
}

.cart-item-title a:hover {
    color: var(--primary-color);
}

.cart-item-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cart-item-quantity .quantity-selector {
    background: var(--light-gray);
    border-radius: 50px;
    padding: 5px;
    width: 150px;
    margin: 0 auto;
}

.cart-item-quantity .quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid var(--medium-gray);
    background: white;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-item-quantity .quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.cart-item-quantity .quantity-input {
    border: none;
    background: transparent;
    font-weight: 700;
    width: 50px;
    text-align: center;
}

.cart-item-price .item-total-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.cart-item-price .item-unit-price {
    font-size: 0.85rem;
}

.cart-item-remove .remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    padding: 5px;
    transition: all 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove .remove-item:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: rotate(90deg);
}

.cart-actions .btn {
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s;
}

.cart-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.2);
}

.cart-actions .btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

/* Cart Summary */
.cart-summary-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.summary-title {
    color: var(--secondary-color);
    font-weight: 900;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.summary-details {
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 20px;
}

.total-row {
    border-top: 2px solid var(--primary-color);
    padding-top: 15px;
    margin-top: 15px;
}

.cart-summary-card .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.cart-summary-card .btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 148, 0.3);
}

/* Empty Cart */
.empty-cart {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    color: var(--medium-gray);
}

.empty-cart .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 15px 40px;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s;
}

.empty-cart .btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 148, 0.3);
}

/* Payment Methods */
.payment-methods i {
    transition: all 0.3s;
}

.payment-methods i:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .cart-item-card .row > div {
        margin-bottom: 15px;
    }
    
    .cart-item-quantity .quantity-selector {
        width: 120px;
    }
    
    .cart-item-image {
        margin: 0 auto 15px;
    }
}

@media (max-width: 768px) {
    .cart-section {
        padding: 50px 0;
    }
    
    .cart-item-card {
        padding: 15px;
    }
    
    .cart-item-title {
        font-size: 1rem;
    }
    
    .cart-summary-card {
        margin-top: 30px;
    }
    
    .empty-cart {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .cart-actions .row > div {
        margin-bottom: 10px;
        text-align: center;
    }
    
    .cart-actions .btn {
        width: 100%;
    }
    
    .cart-item-quantity .quantity-selector {
        width: 100%;
        max-width: 150px;
    }
}

/* إصلاح عرض الأسعار */
.woocommerce-Price-amount {
    unicode-bidi: embed;
}

.woocommerce-Price-currencySymbol {
    margin-left: 3px;
}

/* إصلاح عرض الأرقام العربية */
bdi {
    unicode-bidi: embed;
    direction: rtl;
}

/* إصلاح عرض السعر في السلة */
.item-total-price .woocommerce-Price-amount,
.item-unit-price .woocommerce-Price-amount,
.summary-details .woocommerce-Price-amount,
.total-row .woocommerce-Price-amount {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.total-row .woocommerce-Price-amount {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* إصلاح عرض العملة */
.woocommerce-Price-currencySymbol {
    font-family: 'Cairo', sans-serif;
}

/* تحسين عرض الصور */
.cart-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* إصلاح عرض النص العربي */
.cart-item-title,
.cart-item-meta,
.summary-details span {
    font-family: 'Cairo', sans-serif;
}

/* إصلاح عرض الأرقام */
.cart-count,
.quantity-input,
.fw-bold:not(.woocommerce-Price-amount) {
    font-family: 'Cairo', sans-serif;
    font-feature-settings: "tnum";
}

/* إصلاح عرض سعر الوحدة */
.item-unit-price {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* ============================================
   أنماط صفحة الدفع
   ============================================ */

.checkout-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03), rgba(0, 72, 69, 0.05));
}

.empty-checkout {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    opacity: 0.3;
}

/* بطاقة ملخص الطلب */
.order-summary-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.summary-title {
    color: var(--secondary-color);
    font-weight: 900;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.summary-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

/* معلومات العميل */
.customer-info-box, .order-items-box, .order-totals-box {
    margin-bottom: 25px;
}

.info-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 153, 148, 0.2);
}

.info-content {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.info-value {
    color: var(--secondary-color);
    font-weight: 700;
}

/* تفاصيل الطلب */
.order-items-list {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    color: var(--text-color);
}

.item-quantity {
    font-size: 0.85rem;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* الإجماليات */
.totals-list {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
}

.total-row {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

/* طرق الدفع */
.payment-methods-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.payment-title {
    color: var(--secondary-color);
    font-weight: 900;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.payment-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

/* قائمة طرق الدفع */
.payment-methods-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.payment-method-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.payment-method-item:hover {
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

.payment-method-radio {
    display: none;
}

.payment-method-radio:checked + .payment-method-label {
    color: var(--primary-color);
}

.payment-method-radio:checked + .payment-method-label .payment-method-content {
    border-color: var(--primary-color);
}

.payment-method-label {
    display: block;
    cursor: pointer;
    margin-bottom: 0;
}

.payment-method-content {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--white);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.payment-method-info {
    flex: 1;
}

.method-title {
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.method-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.payment-method-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.gateway-fields {
    background: rgba(0, 153, 148, 0.05);
}

/* الشروط والأحكام */
.terms-box {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
}

.terms-box .form-check-label {
    color: var(--text-color);
    font-weight: 500;
}

.terms-box .form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.terms-box .form-check-label a:hover {
    text-decoration: underline;
}

/* أزرار الإجراءات */
.action-buttons .btn {
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.action-buttons .btn-outline-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.action-buttons .btn-outline-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.action-buttons .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
}

.action-buttons .btn-primary:hover:not(:disabled) {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
}

.action-buttons .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* الأمن والثقة */
.security-trust h5 {
    color: var(--secondary-color);
    font-weight: 800;
}

.security-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 10px;
}

.security-item i {
    font-size: 1.2rem;
}

.security-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* حالة الطلب */
.status-pending { background: #ffc107; color: #000; }
.status-processing { background: #17a2b8; color: white; }
.status-on-hold { background: #6c757d; color: white; }
.status-completed { background: #28a745; color: white; }
.status-cancelled { background: #dc3545; color: white; }
.status-refunded { background: #6c757d; color: white; }
.status-failed { background: #dc3545; color: white; }

/* مودال المعالجة */
.processing-modal .modal-content {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.processing-icon {
    color: var(--primary-color);
}

/* مودال النجاح */
.success-icon {
    color: #28a745;
}

/* مودال الخطأ */
.error-icon {
    color: #dc3545;
}

/* التجاوب */
@media (max-width: 992px) {
    .order-summary-card {
        position: static;
        margin-bottom: 30px;
    }
    
    .payment-methods-list {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 50px 0;
    }
    
    .order-summary-card,
    .payment-methods-card {
        padding: 20px;
    }
    
    .payment-method-content {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-method-icon {
        margin: 0 0 10px 0;
    }
    
    .action-buttons .btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .order-summary-card,
    .payment-methods-card {
        padding: 15px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-value {
        margin-top: 5px;
    }
    
    .payment-method-item {
        padding: 15px;
    }
    
    .security-item {
        margin-bottom: 10px;
    }
}
/* ============================================
   أنماط WooCommerce المخصصة
   ============================================ */

/* صفحة شكراً للطلب */
.thankyou-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03), rgba(0, 72, 69, 0.05));
}

.thankyou-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.thankyou-title {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.thankyou-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.order-details-box, .order-items-box, .customer-info-box {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: right;
}

.order-details-box h3, .order-items-box h3, .customer-info-box h3 {
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.2);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-weight: 600;
}

.detail-value {
    color: var(--secondary-color);
    font-weight: 700;
}

.detail-value.price {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-processing { background: #ffc107; color: #000; }
.status-completed { background: #28a745; color: white; }
.status-pending { background: #6c757d; color: white; }
.status-on-hold { background: #dc3545; color: white; }
.status-cancelled { background: #6c757d; color: white; }

.order-items-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.order-items-table thead {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.order-items-table th {
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
}

.order-items-table td {
    padding: 15px;
    vertical-align: middle;
    border-color: var(--medium-gray);
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    flex: 1;
    text-align: right;
}

.info-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 100%;
}

.info-section h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn-continue-shopping {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
}

.btn-view-orders {
    background: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
}

.btn-order-details {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

.btn-continue-shopping:hover, .btn-view-orders:hover {
    transform: translateY(-3px);
    color: black;
}

.btn-order-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.next-steps {
    margin: 40px 0;
}

.next-steps h4 {
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-content h5 {
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info-thankyou {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.contact-info-thankyou p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-info-thankyou strong {
    color: var(--primary-color);
}

/* صفحة حسابي */
.woocommerce-MyAccount-navigation {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: linear-gradient(90deg, rgba(0, 153, 148, 0.1), transparent);
    color: var(--primary-color);
    padding-right: 30px;
}

.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s;
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
    width: 5px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    width: 0;
}

.woocommerce-MyAccount-navigation ul li a i {
    font-size: 1.2rem;
    margin-left: 10px;
}

/* محتوى حسابي */
.woocommerce-MyAccount-content {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* لوحة التحكم */
.welcome-message {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.2);
}

.welcome-message h3 {
    color: var(--secondary-color);
    font-weight: 900;
}

.dashboard-stats .stat-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.dashboard-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 153, 148, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content h4 {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.stat-content p {
    color: var(--text-light);
    margin: 0;
}

/* طلباتي */
.recent-orders-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.recent-orders-table thead {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.recent-orders-table th {
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
}

.recent-orders-table td {
    padding: 15px;
    vertical-align: middle;
}

.order-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* طرق الدفع */
.payment-methods-content {
    padding: 20px 0;
}

.saved-payment-methods {
    margin: 20px 0;
}

.saved-method-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.saved-method-card:hover {
    transform: translateX(-5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.2rem;
    color: white;
}

.method-details {
    flex: 1;
}

.method-details h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.method-details p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.method-actions .btn {
    padding: 5px 15px;
    font-size: 0.85rem;
}

/* صفحات WooCommerce العامة */
.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 30px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--primary-color);
}

.woocommerce .quantity .qty {
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    padding: 10px;
    width: 80px;
    text-align: center;
}

/* صفحات تسجيل الدخول والتسجيل */
.woocommerce form.login,
.woocommerce form.register {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 20px;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="password"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="tel"],
.woocommerce-form-register select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus,
.woocommerce-form-register select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s;
}

.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
}

.woocommerce-form-login .lost_password,
.woocommerce-form-register .form-row:last-child {
    text-align: center;
    margin-top: 20px;
}

/* صفحة العربة */
.woocommerce-cart .woocommerce {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.woocommerce-cart table.cart {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
}

.woocommerce-cart table.cart thead th {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 20px;
    font-weight: 700;
}

.woocommerce-cart table.cart td {
    padding: 20px;
    vertical-align: middle;
}

.woocommerce-cart .cart_totals {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
}

.woocommerce-cart .cart_totals h2 {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.2);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
}

/* صفحة الدفع */
.woocommerce-checkout .woocommerce {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.woocommerce-checkout h3 {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.2);
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.woocommerce-checkout #payment {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
}

.woocommerce-checkout #payment .payment_methods {
    border-bottom: none;
    padding: 0;
}

.woocommerce-checkout #payment .payment_box {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.woocommerce-checkout #place_order {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
}

/* رسائل WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 15px;
    padding: 20px;
    border: none;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-message {
    border-right: 5px solid #28a745;
}

.woocommerce-info {
    border-right: 5px solid var(--primary-color);
}

.woocommerce-error {
    border-right: 5px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .thankyou-card {
        padding: 25px;
    }
    
    .thankyou-title {
        font-size: 1.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        margin-bottom: 20px;
    }
    
    .product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        margin: 0 auto 10px;
    }
}

@media (max-width: 576px) {
    .thankyou-section {
        padding: 50px 0;
    }
    
    .thankyou-card {
        padding: 20px;
    }
    
    .order-details-box,
    .order-items-box,
    .customer-info-box {
        padding: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-section {
        margin-bottom: 15px;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .woocommerce-MyAccount-navigation ul li a i {
        font-size: 1rem;
    }
}
/* إصلاح السكول في بوابات الدفع */
.payment-methods-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    /* إزالة السكول الأفقي */
    overflow-x: hidden;
}

/* تأكد من أن المحتوى لا يتجاوز عرض الحاوية */
.payment-method-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
    /* منع العنصر من التجاوز */
    max-width: 98%;
    word-wrap: break-word;
}

/* تحسين عرض محتوى بوابة الدفع */
.payment-method-content {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--white);
    border: 2px solid transparent;
    transition: all 0.3s;
    /* منع التجاوز */
    max-width: 100%;
    flex-wrap: wrap;
}

/* تحسين الحقول الإضافية للبوابات */
.gateway-fields {
    background: rgba(0, 153, 148, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    /* منع التجاوز */
    max-width: 100%;
    overflow: hidden;
}

/* تأكد من أن جميع عناصر الفورم لا تتجاوز */
.gateway-fields input,
.gateway-fields select,
.gateway-fields textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* إصلاح خاص للعناصر التي قد تسبب سكول أفقي */
* {
    box-sizing: border-box;
}

/* تحسين الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .payment-methods-list {
        max-height: none;
        padding-right: 0;
    }
    
    .payment-method-item {
        padding: 15px;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .payment-method-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .payment-method-icon {
        margin: 0 0 15px 0 !important;
    }
    
    /* منع السكول الأفقي على الجوال */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
}

/* إصلاح للسكول في قائمة طرق الدفع على الشاشات الصغيرة */
@media (max-width: 576px) {
    .payment-methods-card {
        padding: 15px;
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .payment-title {
        text-align: center;
        font-size: 1.5rem;
    }
    
    /* تحسين عرض النصوص الطويلة */
    .method-title,
    .method-description {
        word-break: break-word;
        max-width: 100%;
    }
}

/* تحسينات للعناصر الداخلية في بوابات الدفع */
.payment-method-fields .form-row {
    margin-bottom: 15px;
    width: 100%;
}

.payment-method-fields input[type="text"],
.payment-method-fields input[type="tel"],
.payment-method-fields input[type="email"],
.payment-method-fields input[type="number"],
.payment-method-fields select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 16px; /* منع التكبير في iOS */
}

/* إصلاح لعناصر ووكومرس في بوابات الدفع */
.woocommerce-checkout #payment .payment_methods li {
    margin-bottom: 10px;
    width: 100%;
}

.woocommerce-checkout #payment .payment_box {
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 153, 148, 0.05);
    border-radius: 10px;
    width: 100%;
}

/* تحسين عرض أزرار البوابات */
.wc_payment_method label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    cursor: pointer;
}

/* منع الصور الكبيرة في البوابات */
.payment-method-fields img {
    max-width: 100%;
    height: auto;
}

/* إصلاح للشريط الجانبي في ملخص الطلب */
.order-items-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.order-items-list::-webkit-scrollbar {
    width: 6px;
}

.order-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.order-items-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* تحسينات عامة للعرض */
.checkout-section {
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-5, .col-lg-7 {
    padding-left: 15px;
    padding-right: 15px;
}

/* إصلاح للأيقونات */
.payment-method-icon i {
    font-size: 1.2rem;
}

/* تحسين للعنوان */
.payment-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* تحسين للأزرار */
.action-buttons .btn {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* إضافة تأثيرات تحميل */
.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تحسينات الوصول وسهولة الاستخدام */
.payment-method-radio:focus + .payment-method-label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* تحسين عرض رسائل الخطأ */
.woocommerce-error {
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    list-style: none;
}

.woocommerce-error li {
    margin-bottom: 5px;
}

/* تحسينات للأجهزة اللوحية */
@media (max-width: 992px) {
    .order-summary-card,
    .payment-methods-card {
        margin-bottom: 30px;
    }
    
    .col-lg-5, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* إصلاح لخاصية position sticky على الجوال */
@media (max-width: 992px) {
    .order-summary-card {
        position: static !important;
        top: auto !important;
    }
}

/* تحسين التباين وإمكانية الوصول */
.info-label,
.method-description {
    color: #666;
}

.info-value,
.method-title {
    color: #333;
    font-weight: 600;
}

/* تحسين الفواصل */
hr {
    border-color: rgba(0, 0, 0, 0.1);
}

/* تحسينات نهائية للعرض */
.payment-methods-card,
.order-summary-card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* التأكد من عدم وجود حواف متجاوزة */
*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 148, 0.3);
}
/* نافذة تسجيل الدخول */
#loginRequiredModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

#loginRequiredModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 25px 30px;
    border-bottom: none;
}

#loginRequiredModal .modal-title {
    font-weight: 800;
    font-size: 1.5rem;
}

#loginRequiredModal .modal-body {
    padding: 30px;
}

.login-icon {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 20px;
}

#loginRequiredModal .modal-footer {
    background: var(--light-gray);
    padding: 25px 30px;
    border-top: 1px solid var(--medium-gray);
}

#modal-login-link {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
}

#modal-login-link:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
}

/* زر العودة بعد التسجيل */
.return-to-cart-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.return-to-cart-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
    color: white;
}

/* صفحة تسجيل الدخول المخصصة */
.login-page-custom {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.login-page-custom h2 {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
}

.login-page-custom .form-control {
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.login-page-custom .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
}

.login-page-custom .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    width: 100%;
}

.login-page-custom .btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.login-page-custom .lost_password {
    text-align: center;
    margin-top: 20px;
}

.login-page-custom .lost_password a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-page-custom .lost_password a:hover {
    text-decoration: underline;
}

/* صفحة إنشاء حساب */
.register-page-custom {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.register-page-custom h2 {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
}
/* ============================================
   أنماط صفحة الخدمات
   ============================================ */

/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    padding: 40px 0;
    width: 100%;
}

.breadcrumb-content h1 {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.breadcrumb-nav span {
    color: var(--text-color);
    font-weight: 600;
}

/* Services Main Section */
.services-main-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.8;
}

/* تحذير WooCommerce */
.alert {
    border-radius: 12px;
    border: none;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.alert-warning {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    border-right: 5px solid #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    border-right: 5px solid #17a2b8;
    color: #0c5460;
}

.alert-heading {
    font-weight: 800;
    margin-bottom: 10px;
}

.alert .btn-close {
    padding: 1.25rem;
    box-shadow: none;
}

.alert-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.alert-link:hover {
    text-decoration: underline;
}

/* Services Filter */
.services-filter {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(0, 153, 148, 0.1);
}

.services-filter .row {
    align-items: center;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.category-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.category-btn:hover::before,
.category-btn.active::before {
    width: 300px;
    height: 300px;
}

.category-btn:hover,
.category-btn.active {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.2);
}

.category-btn span {
    position: relative;
    z-index: 1;
}

/* Search Box */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--white);
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 148, 0.25);
    outline: none;
}

.search-box .search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-box .search-btn:hover {
    background-color: rgba(0, 153, 148, 0.1);
    color: var(--primary-dark);
}

/* Service Cards */
.service-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 153, 148, 0.15);
    border-color: var(--primary-color);
}

/* Service Icon */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 153, 148, 0.3);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0, 153, 148, 0.4);
}

/* Service Title */
.service-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 66px;
}

.service-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.service-title a:hover {
    color: var(--primary-color);
}

/* Service Price */
.service-price {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-price del {
    font-size: 0.9rem;
    color: #dc3545 !important;
    opacity: 0.8;
}

.service-price strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 900;
}

.sar-icon {
    width: 15px;
    height: 15px;
    fill: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
}

/* Service Description */
.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Add to Cart Form */
.add-to-cart-form {
    width: 100%;
}

/* إضافة إلى السلة Button */
.bg-secondary-color {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-dark)) !important;
}

.rounded-10 {
    border-radius: 10px !important;
}

.add-to-cart-btn {
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-color));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.add-to-cart-btn:hover::before {
    width: 400px;
    height: 400px;
}

.add-to-cart-btn .btn-text,
.add-to-cart-btn .btn-loading {
    position: relative;
    z-index: 1;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 72, 69, 0.3);
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* رسالة تسجيل الدخول */
.alert-warning.w-100 {
    border-radius: 10px;
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
}

.alert-warning.w-100 a {
    color: #856404;
    font-weight: 800;
    text-decoration: underline;
}

.alert-warning.w-100 a:hover {
    color: var(--primary-dark);
}

/* Responsive Design */

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .service-card {
        padding: 30px;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-price strong {
        font-size: 1.4rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    .services-main-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .categories-list {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .search-box {
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
        min-height: 60px;
    }
    
    .service-description {
        min-height: 75px;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    .breadcrumb-section {
        padding: 30px 0;
    }
    
    .breadcrumb-content h1 {
        font-size: 2rem;
    }
    
    .services-main-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .services-filter {
        padding: 20px;
    }
    
    .category-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .search-box input {
        padding: 10px 45px 10px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-title {
        font-size: 1.1rem;
        min-height: 55px;
    }
    
    .service-description {
        font-size: 0.9rem;
        min-height: 70px;
    }
    
    .add-to-cart-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (575px and below) */
@media (max-width: 575px) {
    .breadcrumb-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb-nav {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-filter {
        padding: 15px;
    }
    
    .categories-list {
        gap: 8px;
    }
    
    .category-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .service-card {
        margin: 10px;
    }
    
    .service-title {
        font-size: 1rem;
        min-height: 50px;
    }
    
    .service-price strong {
        font-size: 1.1rem;
    }
    
    .service-price del {
        font-size: 0.8rem;
    }
    
    .alert {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .alert-heading {
        font-size: 1rem;
    }
}

/* Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
.service-item:nth-child(7) { animation-delay: 0.7s; }
.service-item:nth-child(8) { animation-delay: 0.8s; }

/* Loading State for Buttons */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.text-center.py-5 {
    padding: 60px 0;
}

.text-center .alert {
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Animation */
.service-item {
    transition: all 0.4s ease;
}

/* Hover Effects Enhancement */
.service-card:hover .service-title a {
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

/* Category Filter Active State */
.category-btn.active {
    transform: translateY(-3px) scale(1.05);
}

/* Search Results Highlight */
.highlight {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Grid Layout Enhancement */
.row {
    margin-right: -10px;
    margin-left: -10px;
}

.row > [class*='col-'] {
    padding-right: 10px;
    padding-left: 10px;
}

/* Accessibility Improvements */
.add-to-cart-btn:focus,
.category-btn:focus,
.search-box input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .service-card {
        background-color: #2d3748;
        color: #e2e8f0;
    }
    
    .service-title,
    .service-title a {
        color: #e2e8f0;
    }
    
    .service-description {
        color: #a0aec0;
    }
    
    .services-filter {
        background-color: #2d3748;
    }
    
    .search-box input {
        background-color: #4a5568;
        border-color: #4a5568;
        color: #e2e8f0;
    }
}
/* ============================================
   أنماط صفحة المنتج البسيطة
   ============================================ */

.breadcrumb-section-simple {
    background: var(--light-gray);
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.breadcrumb-section-simple .breadcrumb-content {
    padding: 0;
}

.breadcrumb-section-simple .breadcrumb-nav {
    font-size: 0.9rem;
}

.breadcrumb-section-simple .breadcrumb-nav a {
    color: var(--primary-color);
}

.breadcrumb-section-simple .breadcrumb-nav span {
    color: var(--text-light);
}

/* Single Service Section */
.single-service-section {
    padding: 40px 0;
    background: var(--white);
}

.single-service-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Images */
.product-images-container {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
}

.main-product-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-gray);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.product-gallery {
    padding: 10px 0;
}

.gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Product Details */
.product-details-container {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
}

.product-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.1);
}

.product-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-category a {
    color: inherit;
    text-decoration: none;
}

.product-category a:hover {
    text-decoration: underline;
}

.product-title {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 10px;
}

/* Product Price */
.product-price-box {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.05), rgba(0, 72, 69, 0.05));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid rgba(0, 153, 148, 0.1);
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-left: 15px;
}

.regular-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-percentage {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-right: 15px;
}

.price-currency {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.sar-icon {
    color: var(--primary-color);
}

.currency-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Short Description */
.product-short-description {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-short-description p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Product Status */
.product-status {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stock-status {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
}

.stock-status.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stock-status.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-sku {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Quantity Selector */
.quantity-selector-simple {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quantity-selector-simple label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--medium-gray);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--white);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-control input {
    width: 70px;
    height: 45px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: transparent;
}

.quantity-control input:focus {
    outline: none;
    box-shadow: none;
}

/* Add to Cart Section */
.add-to-cart-section {
    margin-bottom: 25px;
}

.btn-add-to-cart {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 148, 0.3);
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-redirect-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 10px;
    background: rgba(0, 153, 148, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--primary-color);
}

/* Product Meta */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
}

/* Product Description */
.product-description-box {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.description-title {
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 153, 148, 0.2);
}

.description-content {
    color: var(--text-color);
    line-height: 1.8;
}

.description-content h2,
.description-content h3,
.description-content h4 {
    color: var(--secondary-color);
    margin: 20px 0 15px;
}

.description-content ul,
.description-content ol {
    padding-right: 20px;
    margin: 15px 0;
}

.description-content li {
    margin-bottom: 8px;
}

/* Simple Features */
.simple-features {
    background: linear-gradient(135deg, rgba(0, 153, 148, 0.03), rgba(0, 72, 69, 0.05));
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid rgba(0, 153, 148, 0.1);
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h5 {
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .regular-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .single-service-section {
        padding: 20px 0;
    }
    
    .product-images-container,
    .product-details-container {
        padding: 15px;
    }
    
    .main-product-image {
        min-height: 300px;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .btn-add-to-cart {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .simple-features {
        padding: 20px;
    }
    
    .feature-item {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.4rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .regular-price {
        font-size: 1.1rem;
    }
    
    .discount-percentage {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .product-status {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantity-control {
        width: 100%;
    }
    
    .quantity-control input {
        flex: 1;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .simple-features .row {
        flex-direction: column;
    }
}


/* ============================================
   أنماط أيقونات السوشيال ميديا
   ============================================ */

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
}

/* الأيقونات في الهيدر */
.topbar .social-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.topbar .social-icon:hover {
    background: white;
    transform: translateY(-3px);
}

/* الأيقونات في الفوتر */
.footer .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer .social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

/* تأثير hover للايقونات */
.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* أيقونات محددة بألوانها */

/* أنماط لعرض الأيقونات في أماكن أخرى */
.widget-social-icons .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

.contact-social-icons {
    justify-content: center;
    margin: 20px 0;
}

.contact-social-icons .social-icon {
    background: var(--light-gray);
    color: var(--text-color);
}

.contact-social-icons .social-icon:hover {
    background: var(--primary-color);
    color: white;
}

/* أنماط الاستجابة */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .topbar .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}
/* ============================================
   أنماط الفوتر المحسنة
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #002222 100%);
    color: var(--white);
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 201, 184, 0.1) 0%, transparent 70%);
    transform: translate(-50%, 50%);
}

/* الشعار */
.footer-logo {
    font-weight: 900;
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 10px;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 0.3s;
}

.footer-logo:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-logo:hover::after {
    width: 100%;
}

/* الوصف */
.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* العناوين */
.footer-title {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.footer-subtitle {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

/* وسائل التواصل في الفوتر */
.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-icons .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-icons .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.footer-social-icons .social-icon i {
    position: relative;
    z-index: 2;
}

.footer-social-icons .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-social-icons .social-icon:hover::before {
    opacity: 1;
}

/* النشرة البريدية */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-newsletter-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 12px 15px;
    font-family: 'Cairo', sans-serif;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: none;
    border-color: var(--primary-color);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 12px 20px;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transform: scale(1.05);
}

/* قائمة التنقل العمودية */
.footer-vertical-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-vertical-menu li {
    margin-bottom: 12px;
    position: relative;
}

.footer-vertical-menu li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.footer-vertical-menu li:hover::before {
    opacity: 1;
    right: -15px;
}

.footer-vertical-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.footer-vertical-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-vertical-menu a i:first-child {
    color: var(--accent-color);
    font-size: 1rem;
    margin-left: 10px;
}

.link-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.footer-vertical-menu a:hover .link-arrow {
    color: var(--accent-color);
    transform: translateX(-5px);
}

/* بطاقات الاتصال */
.footer-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.contact-card-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-card-content h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-card-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.whatsapp-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-badge:hover {
    background: #25d366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.response-time, .work-hours {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-style: italic;
}

/* الأزرار */
.consultation-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 25px;
    font-weight: 800;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.consultation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 148, 0.4);
}

.consultation-btn:hover::before {
    opacity: 1;
}

.phone-cta-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s;
}

.phone-cta-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

/* الخط الفاصل المزخرف */
.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
    gap: 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* حقوق النشر */
.copyright-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

/* روابط الفوتر */
.footer-links-section {
    text-align: left;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a i {
    margin-left: 5px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-method {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 153, 148, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 153, 148, 0.4);
}

/* الاستجابة للشاشات */
@media (max-width: 992px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .footer-vertical-menu a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .contact-info-card {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .footer::after {
        display: none;
    }
    
    .footer-newsletter {
        padding: 15px;
    }
    
    .footer-links {
        justify-content: flex-start;
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-method {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-vertical-menu {
        text-align: right;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        margin: 0 auto 10px;
    }
    
    .footer-divider {
        margin: 30px 0 20px;
    }
    
    .divider-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}