/* ===== قسم من نحن (About Preview) ===== */
.about-preview {
  padding: 80px 0;
  background: url('hand-cup.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.about-preview::after {
  content: ""; position: absolute; inset: 0; pointer-events:none;
  background: radial-gradient(600px 120px at 85% -10%, rgba(234,84,51,0.06), transparent),
              radial-gradient(600px 120px at 10% 110%, rgba(225,191,153,0.08), transparent);
}
.about-preview .about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.about-preview .about-text .about-icon {
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(135deg,#EA5433,#E1BF99);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:24px;box-shadow:0 10px 24px rgba(234,84,51,0.25);
  margin-bottom:12px;
  animation: floatIcon 3s ease-in-out infinite;
}
.about-preview .about-text h2,
.about-preview .about-text .section-title { text-align:right;color:#ffffff;margin:0 0 12px 0; }
.about-preview .about-text p { color:rgba(255,255,255,0.95);line-height:1.9;margin-bottom:14px; }
.about-preview .feature-list { list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0 0 16px;padding:0;color:#4a3728; }
.about-preview .feature-list li { display:flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(225,191,153,0.5);border-radius:999px;padding:10px 14px; }
.about-preview .feature-list i { color:#EA5433; }
.about-preview .about-media { border-radius:16px;overflow:hidden;background:#ffffff;padding:8px;border:1px solid rgba(225,191,153,0.35);box-shadow:0 8px 24px rgba(0,0,0,0.06); transition: transform .25s ease, box-shadow .25s ease; }
.about-preview .about-media:hover { transform: translateY(-6px); box-shadow:0 14px 36px rgba(0,0,0,0.12); }
.about-preview .about-media img { width:100%;height:360px;object-fit:cover;border-radius:12px; }

/* Milestones */
.about-preview .about-milestones { margin-top: 28px; }
.about-preview .milestones-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; position: relative; }
.about-preview .milestone { background:#fff; border:1px solid rgba(225,191,153,0.5); border-radius:12px; padding:14px 16px; text-align: start; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.about-preview .milestone .year { color:#EA5433; font-weight:800; font-size:1.2rem; margin-bottom:6px; }
.about-preview .milestone .title { color:#2d1810; font-weight:600; margin-bottom:4px; }
.about-preview .milestone .desc { color:#4a3728; font-size:0.95rem; line-height:1.6; }

@media (max-width: 768px) {
  .about-preview .about-grid { grid-template-columns: 1fr; gap: 18px; text-align:center; }
  .about-preview .about-text h2 { text-align:center; }
}
/* ===== بطاقات قسم الإحصائيات (أرقام تتحدث عن نفسها) ===== */
.stats-section { text-align: center; padding-top: 20px; }
.stats-title {
    color: #E1BF99;
    font-size: 2.5rem;
    margin-bottom: 34px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225,191,153,0.35);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}
.stat-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(225,191,153,0.45), rgba(234,84,51,0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    box-shadow: 0 12px 26px rgba(234,84,51,0.28);
    animation: floatIcon 3.2s ease-in-out infinite;
}
.stat-card:nth-child(2) .stat-icon { animation-delay: 0.4s; }
.stat-card:nth-child(3) .stat-icon { animation-delay: 0.8s; }
.stat-card:nth-child(4) .stat-icon { animation-delay: 1.2s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 480px) {
  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 12px;
  }
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #EA5433;
    margin-bottom: 8px;
}
.stat-label {
    color: #faf8f5;
    font-size: 1.05rem;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #2d1810;
    background-color: #faf8f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CSS Variables for Yemen Coffee Brand */
:root {
    --primary-color: #EA5433;
    --secondary-color: #E1BF99;
    --accent-brown: #8b4513;
    --light-brown: #d2691e;
    --beige: #f5f5dc;
    --cream: #faf8f5;
    --gold: #daa520;
    --dark-brown: #2d1810;
    --text-brown: #4a3728;
    --border-brown: #d2b48c;
    --shadow-brown: rgba(234, 84, 51, 0.1);
}





.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-brown);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-brown);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-brown));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-brown);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 84, 51, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.slide-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    color: var(--text-brown);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-brown));
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-brown);
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 84, 51, 0.4);
}

.slide-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(234, 84, 51, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Featured Products Section */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f5dc 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ضمان ظهور البطاقات في صف واحد على الشاشات الكبيرة */
@media (min-width: 992px) {
  .featured-products .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(234, 84, 51, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 84, 51, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-brown);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-brown));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.3);
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.quick-link {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-brown);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(234, 84, 51, 0.1);
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(234, 84, 51, 0.2);
}

.link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.quick-link span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Promotions Section */
.promotions {
    padding: 100px 0;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f5dc 100%);
}

.promo-banner {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(234, 84, 51, 0.1);
    overflow: hidden;
}

.promo-banner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 84, 51, 0.2);
}

.promo-content {
    padding: 1.5rem;
}

.promo-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.promo-content p {
    color: var(--text-brown);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.shop-now-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-brown));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.3);
}

.promo-image {
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-banner:hover .promo-image img {
    transform: scale(1.1);
}

/* شريط ماركيه لعروض "عرض خاص" */
.promotions { padding: 0; background: transparent; }
.promo-marquee {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(234,84,51,0.15), rgba(225,191,153,0.15));
    border: 2px solid rgba(234,84,51,0.6);
    border-radius: 12px;
    white-space: nowrap;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.promo-marquee:hover {
    border-color: #ff684c;
    box-shadow: 0 0 0 3px rgba(234,84,51,0.18) inset, 0 0 18px rgba(234,84,51,0.45);
}

.promo-marquee .marquee-track {
    display: inline-flex;
    gap: 28px;
    white-space: nowrap;
    align-items: center;
    padding: 12px 20px;
    animation: marqueeScroll 24s linear infinite;
    will-change: transform;
}
/* مسار ثانٍ يبدأ من خارج الإطار لعمل لوب سلس دون تداخل */
.promo-marquee .marquee-track:nth-of-type(2) {
    animation-name: marqueeScroll2;
}

.promo-marquee .marquee-item { display: inline-flex; gap: 10px; align-items: center; color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.promo-marquee .marquee-item i { color: #E1BF99; }
.promo-marquee .marquee-cta {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    margin-inline-start: 10px;
}
.promo-marquee .marquee-cta:hover { text-decoration: underline; }
.promo-marquee .marquee-sep { opacity: 0.65; color: #ffffff; }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes marqueeScroll2 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .promo-marquee .marquee-track { animation: none; }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-brown), #2d1810);
    color: white;
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    width: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        padding: 0 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Additional mobile styles for new pages */
    .intro-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .intro-text h2,
    .story-text h2 {
        font-size: 2rem;
    }

    .franchise-stats {
        grid-template-columns: 1fr;
    }

    .requirements-grid,
    .categories-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .supply-benefits,
    .service-highlights {
        flex-direction: column;
        gap: 1rem;
    }

    .achievements-timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-brown);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Categories */
.product-categories {
    padding: 80px 0;
    background: white;
}

.category-section {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-brown), var(--gold));
    border-radius: 2px;
}

.product-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 1.5rem;
}

.product-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.product-details .origin,
.product-details .flavor,
.product-details .roast,
.product-details .model,
.product-details .specs,
.product-details .type {
    color: var(--text-brown);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-details .description {
    color: var(--text-brown);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-details .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.view-details-btn,
.view-specs-btn,
.add-to-cart-btn,
.buy-now-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.view-details-btn,
.view-specs-btn {
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}

.view-details-btn:hover,
.view-specs-btn:hover {
    background: var(--primary-brown);
    color: white;
}

.add-to-cart-btn,
.buy-now-btn {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    color: white;
}

.add-to-cart-btn:hover,
.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* Franchise Page Styles */
.franchise-intro {
    padding: 80px 0;
    background: var(--cream);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-brown);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.franchise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-brown);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-brown);
    font-weight: 500;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
    background: white;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.requirement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.requirement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.requirement-card ul {
    list-style: none;
    text-align: left;
}

.requirement-card ul li {
    color: var(--text-brown);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.requirement-card ul li::before {
    content: '•';
    color: var(--primary-brown);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Current Branches */
.current-branches {
    padding: 80px 0;
    background: var(--cream);
}

.branches-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.branch-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.branch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.branch-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.branch-info {
    padding: 1.5rem;
}

.branch-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.branch-info p {
    color: var(--text-brown);
    margin-bottom: 1rem;
}

.branch-status {
    background: var(--primary-brown);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Application Form */
.application-form {
    padding: 80px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--cream);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-brown);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-brown);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-brown);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-brown);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-brown);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* Supply Page Styles */
.supply-intro {
    padding: 80px 0;
    background: var(--cream);
}

.supply-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-brown);
}

.benefit i {
    font-size: 1.2rem;
    color: var(--gold);
}

.supply-categories {
    padding: 80px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.category-card ul {
    list-style: none;
    text-align: left;
}

.category-card ul li {
    color: var(--text-brown);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.category-card ul li::before {
    content: '•';
    color: var(--primary-brown);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.supply-contact {
    padding: 80px 0;
    background: var(--cream);
}

/* Maintenance Page Styles */
.maintenance-intro {
    padding: 80px 0;
    background: var(--cream);
}

.service-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-brown);
}

.highlight i {
    font-size: 1.2rem;
    color: var(--gold);
}

.maintenance-services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-brown);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    color: var(--text-brown);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    color: var(--primary-brown);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.maintenance-contact {
    padding: 80px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-brown);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-card span {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-form {
    padding: 80px 0;
    background: white;
}

/* About Us Page Styles */
.our-story {
    padding: 80px 0;
    background: var(--cream);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-brown);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vision-mission {
    padding: 80px 0;
    background: white;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.vm-card {
    background: var(--cream);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--text-brown);
    line-height: 1.6;
}

.core-values {
    padding: 80px 0;
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-brown);
    line-height: 1.6;
}

.achievements {
    padding: 80px 0;
    background: white;
}

.achievements-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-brown);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--primary-brown);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 0 2rem;
    box-shadow: 0 5px 15px var(--shadow-brown);
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-brown);
    line-height: 1.6;
}

.team-section {
    padding: 80px 0;
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-brown);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--gold);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-brown);
    line-height: 1.6;
}

 /* ===== أنماط صفحة المنتجات المحسنة ===== */

/* ===== المتغيرات الأساسية ===== */
:root {
    --primary-color: #EA5433;
    --secondary-color: #E1BF99;
    --dark-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== أنماط القسم الرئيسي ===== */
.featured-products {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    min-height: 400px;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    min-height: 400px;
}

.fallback-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9) 0%, rgba(74, 55, 40, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.6) 0%, rgba(74, 55, 40, 0.5) 50%, rgba(44, 24, 16, 0.7) 100%);
    z-index: 2;
    min-height: 400px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 3;
    min-height: 500px;
    padding: 2rem;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.hero-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px var(--shadow-dark);
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

/* ===== أنماط البطاقات الدائرية ===== */
.circular-products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.circular-card {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px var(--shadow-dark), 0 0 20px var(--shadow-light);
    position: relative;
    z-index: 4;
}

.circular-card:hover {
    transform: scale(1.15) translateY(-5px);
    background: rgba(234, 84, 51, 0.25);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(234, 84, 51, 0.3);
}

.circular-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.circular-card span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.circular-card-small {
    width: 100px;
    height: 100px;
}

.circular-card-small img {
    width: 50px;
    height: 50px;
}

/* ===== أنماط قسم المنتجات التفاعلي ===== */
.product-showcase {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d1810 50%, #4a3728 100%);
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234,84,51,0.05) 0%, rgba(225,191,153,0.05) 100%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== أنماط التنقل العائم ===== */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-dot.active {
    background: var(--primary-color);
}

.nav-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.nav-dot span {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-dot:hover span {
    opacity: 1;
}

/* ===== أنماط رأس الفئة ===== */
.category-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
}



/* ===== أنماط المحتوى الديناميكي ===== */
.dynamic-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem 2rem;
    position: relative;
    z-index: 3;
}

.content-header {
    flex: 1;
    text-align: right;
}

.content-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.content-description {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.content-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.content-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.video-content {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.video-content video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== أنماط شبكة المنتجات ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    position: relative;
    z-index: 3;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-dark);
    border-color: var(--primary-color);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.product-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.product-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-dark);
    width: 100%;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

/* ===== أنماط التذييل ===== */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== أنماط الاستجابة ===== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .circular-products {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .floating-nav {
        right: 15px;
    }
    
    .dynamic-content {
        flex-direction: column;
        text-align: center;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }


}

@media (max-width: 480px) {
    .hero-container {
        padding: 1rem;
    }
    
    .circular-card {
        width: 100px;
        height: 100px;
    }
    
    .circular-card img {
        width: 50px;
        height: 50px;
    }
    
    .floating-nav {
        display: none;
    }

    


} 

/* ===== استكشف خدماتنا - تحسينات الحجم والتباعد ===== */
.main-sections {
    background: linear-gradient(135deg, rgba(44,24,16,0.85), rgba(74,55,40,0.75)); /* خلفية متدرجة أساسية */
    padding: 80px 20px; /* تعويض إزالة الحاوية */
    color: #f5f5f5; /* نص افتراضي فاتح داخل القسم */
    position: relative;
    overflow: hidden; /* حصر العناصر العائمة داخل القسم */
}

/* حاوية الخلفية التفاعلية داخل القسم فقط */
#coffee-beans-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* عنصر الحبة الفردي */
.coffee-bean {
    position: absolute;
    background-image: url('coffee-beans.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.95;
    pointer-events: none;
    will-change: transform, opacity;
}

/* عنصر الفقاعة الفردي */
.coffee-bubble {
    position: absolute;
    width: 28px;   /* حجم افتراضي أكبر، سيتم تجاوزه برمجياً */
    height: 28px;
    border-radius: 50%;
    background-image: url('bubble.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 12px rgba(255,255,255,0.18);
    opacity: 0.8;
    pointer-events: none;
    will-change: transform, opacity;
}

.main-sections::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 10%, rgba(234,84,51,0.06), transparent 50%),
                radial-gradient(ellipse at 80% 90%, rgba(225,191,153,0.08), transparent 50%);
    z-index: 1; /* فوق الفيديو */
    pointer-events: none;
}

/* خلفية فيديو للقسم */
/* خلفية متحركة لحبيبات البن */
/* إلغاء الطبقات القديمة لمنع التكرار فوق الخلفية الجديدة (بدون !important) */
.main-sections::before,
.main-sections::after {
    content: none;
    background: none;
}

/* طبقة حبوب بن صغيرة تتحرك ببطء */
.main-sections::before {
    background-image: url('coffee-beans.png'); /* حبوب قهوة محمصة محلية */
    background-size: 240px 240px;
    background-repeat: repeat;
    opacity: 0.15; /* زيادة الوضوح */
    animation: beansDrift 25s linear infinite; /* سرعة أكبر */
    will-change: background-position; /* تحسين السلاسة */
    z-index: 0;
}

/* طبقة تأثير ضوئي خفيف + زخرفة */
.main-sections::after {
    background: radial-gradient(ellipse at 20% 10%, rgba(234,84,51,0.06), transparent 50%),
                radial-gradient(ellipse at 80% 90%, rgba(225,191,153,0.08), transparent 50%);
    z-index: 1;
}

/* طبقة إضافية لحبوب أكبر تتحرك ببطء عكسي لإحساس عمق */
.main-sections .beans-layer::before {
    background-image: url('coffee-beans.png'); /* نفس الصورة بحجم أكبر لطبقة العمق */
    background-size: 420px 420px;
    background-repeat: repeat;
    opacity: 0.06;
    animation: beansDriftSlow 60s linear infinite reverse;
    z-index: 0;
}
.main-sections .beans-layer.layer2::before {
    background-image: url('coffee-beans.png');
    background-size: 300px 300px;
    opacity: 0.10;
    animation: beansFloat 40s linear infinite;
}

.main-sections .beans-layer.layer3::before {
    background-image: url('coffee-beans.png');
    background-size: 180px 180px;
    opacity: 0.08;
    animation: beansDriftDiag 35s linear infinite alternate;
}

.main-sections .beans-layer::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.08), transparent 30%, transparent 70%, rgba(0,0,0,0.05));
    z-index: 1;
}

/* لم نعد بحاجة لأنيمشن الخلفيات المتكررة */

/* ضمان ظهور العنوان والمحتوى فوق الفيديو والطبقة */
.main-sections .section-title,
.main-sections .content-grid {
    position: relative;
    z-index: 2;
}

/* تحسين تباين النص فوق الخلفية المتحركة */
.main-sections .section-title { text-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.main-sections .content-text p { text-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.main-sections .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
    font-size: 2.3rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.main-sections .section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
}

.sections-grid {
    display: none; /* استبدلناه بالتخطيط الجديد */
}

.section-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-6px);
    background: rgba(234, 84, 51, 0.18);
    border-color: #EA5433;
}

.section-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 8px 22px rgba(234, 84, 51, 0.28);
    flex-shrink: 0;
}

.section-content {
    flex: 1;
}

.section-content h3 {
    color: #ffffff;
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-content p {
    color: #faf8f5;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 1rem;
}

.section-btn {
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    color: #fff;
    padding: 12px 28px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.section-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(234, 84, 51, 0.35);
}

.section-image {
    width: 240px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-card:hover .section-image img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .section-image {
        width: 220px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .section-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px;
        gap: 16px;
    }
    .section-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .section-content h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    .section-content p {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .section-image {
        width: 100%;
        height: 160px;
    }
}

/* ===== تخطيط شبيه بقسم النصوص والصور في products.html ===== */
.main-sections .content-grid {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: none;
    margin: 0; /* بدون حاوية مركزية */
}

.main-sections .content-item {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px; /* تقليل المسافة بين الصور والنصوص */
    align-items: center;
    /* إعادة ضبط أنماط .content-item العامة المستخدمة في الـ Hero */
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.main-sections .content-item:hover { transform: none; box-shadow: none; }

.main-sections .content-item:nth-child(even) { background: transparent; }

.main-sections .content-item.reverse {
    direction: ltr;
}

.main-sections .content-item.reverse .content-text {
    direction: rtl;
}

.main-sections .content-text h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.main-sections .content-text {
    color: rgba(255,255,255,0.95);
    max-width: 620px;
    text-align: start;
    text-rendering: optimizeLegibility;
}

.main-sections .content-item .content-text p {
    font-size: 1.06rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
    margin-bottom: 14px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
    text-align: start;
}

.main-sections .content-image {
    border-radius: 16px;            /* حواف دائرية */
    overflow: hidden;               /* قص الصورة داخل الحاوية */
    background: #ffffff;            /* حاوية بيضاء للصورة */
    padding: 8px;                   /* مسافة داخلية بسيطة */
    border: 1px solid rgba(225,191,153,0.35);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-sections .content-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.35s ease;
    border-radius: 12px;            /* اتساق الحواف مع الحاوية */
}

.main-sections .content-image:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }

.main-sections .content-image:hover img { transform: scale(1.04); }

@media (max-width: 992px) {
    .main-sections .content-image img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .main-sections .content-item {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
        padding: 0;
    }
    .main-sections .content-item.reverse .content-text{
        margin-inline-start: 0;
        margin-inline-end: 0;
        text-align: center;
    }
    .main-sections .content-image img {
        height: 260px;
    }
}

/* أيقونة الخدمة فوق العنوان */
.main-sections .content-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(234,84,51,0.25);
    margin-bottom: 12px;
}

.main-sections .content-text .section-btn {
    display: inline-block;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .main-sections .content-text .section-btn {
        display: inline-flex;
        justify-content: center;
    }
}

/* قائمة مميزات مصغّرة لكل خدمة */
.main-sections .feature-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.main-sections .feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

.main-sections .feature-list i {
    color: #EA5433;
    font-size: 0.95rem;
}