/* =====================================================
   NOOR AL-MANSOOR — Premium Pakistani Rice Exporter
   Navy Blue (Logo) + Gold + Cream Theme
   ===================================================== */

:root {
  /* Logo-aligned: Deep Navy Blue + Gold + Cream */
  --burgundy: #0A2A5C;
  --burgundy-dark: #061B3A;
  --burgundy-light: #123A7A;
  --navy: #0A2A5C;
  --navy-dark: #061B3A;
  --gold: #C9A227;
  --gold-light: #D4AF37;
  --gold-dark: #A88B1E;
  --cream: #F7F9FC;
  --cream-dark: #EEF2F7;
  --white: #FFFFFF;
  --charcoal: #1A1A1A;
  --text: #1E2A3A;
  --text-light: #5A6A7A;
  --border: #D8E0EA;
  --shadow: 0 4px 20px rgba(10, 42, 92, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 42, 92, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--burgundy-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--burgundy-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: var(--white);
}

/* ========== HEADER ========== */
.site-header {
  background: var(--burgundy-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.header-top {
  background: var(--burgundy);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  text-align: center;
}

.header-top a {
  color: var(--gold-light);
}

.header-top a:hover {
  color: var(--white);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 6px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.logo-tag {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .logo-name {
    font-size: 0.95rem;
  }
  .logo-tag {
    font-size: 0.55rem;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 42px;
  }
  .logo-text {
    display: none;
  }
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.nav-desktop a {
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.nav-desktop .has-dropdown {
  position: relative;
}

.nav-desktop .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  padding: 0.5rem 0;
  z-index: 100;
}

.nav-desktop .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-desktop .dropdown a {
  color: var(--text);
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.nav-desktop .dropdown a:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.header-cta {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  background: var(--burgundy-dark);
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.9);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}

.nav-mobile .sub-links {
  padding-left: 1.5rem;
  background: rgba(0,0,0,0.15);
}

.nav-mobile .sub-links a {
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, #6B2433 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(201,162,39,0.35);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.75rem;
  font-size: 1.05rem;
}

.section-header-left {
  margin-bottom: 2.5rem;
}

.section-header-left .section-subtitle {
  text-align: left;
  margin: 0.5rem 0 0;
}

.bg-white {
  background: var(--white);
}

.bg-cream {
  background: var(--cream);
}

.bg-burgundy {
  background: var(--burgundy-dark);
  color: var(--white);
}

.bg-burgundy h2,
.bg-burgundy h3 {
  color: var(--white);
}

.bg-burgundy .section-subtitle {
  color: rgba(255,255,255,0.75);
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card-img {
  height: 260px;
  background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
}

.product-card-img img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-card-img .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--burgundy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card .btn {
  align-self: flex-start;
}

/* ========== FEATURE BOXES ========== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-box {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.1rem;
}

.feature-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.feature-box p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  padding-left: 4.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.25rem;
  top: 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.process-step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== SAUDI CITIES ========== */
.cities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.city-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.city-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.city-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}

.city-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex: 1;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ========== ABOUT / CONTENT ========== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.content-text h2 {
  margin-bottom: 1rem;
}

.content-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.content-text ul {
  margin: 1.25rem 0;
}

.content-text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.content-text li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.35rem;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info {
  background: var(--burgundy-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(201,162,39,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--gold-light);
}

.contact-item a:hover {
  color: var(--white);
}

.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--burgundy-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.5rem;
}

.blog-card-body {
  padding: 1.4rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--burgundy-dark);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-name {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: white;
  background: #1DA851;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
  color: var(--white);
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: var(--gold-light);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.product-gallery {
  background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
  border-radius: var(--radius-lg);
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-gallery img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.product-specs {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.product-specs td:first-child {
  font-weight: 600;
  color: var(--burgundy-dark);
  width: 45%;
}

/* ========== 404 ========== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  .header-cta {
    display: block;
  }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }
  .section {
    padding: 3.5rem 0;
  }
}

/* ========== RTL / ARABIC OVERRIDES ========== */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav-desktop .dropdown { left: auto; right: 0; text-align: right; }
html[dir="rtl"] .nav-mobile .sub-links { padding-left: 0; padding-right: 1.5rem; }
html[dir="rtl"] .stat-item,
html[dir="rtl"] .section-header-left .section-subtitle { text-align: right; }
html[dir="rtl"] .product-card-img .badge { left: auto; right: 0.75rem; }
html[dir="rtl"] .process-step { padding-left: 1.75rem; padding-right: 4.5rem; }
html[dir="rtl"] .process-step::before { left: auto; right: 1.25rem; }
html[dir="rtl"] .content-text li,
html[dir="rtl"] .blog-post-content li { padding-left: 0; padding-right: 1.5rem; }
html[dir="rtl"] .content-text li::before,
html[dir="rtl"] .blog-post-content li::before { left: auto; right: 0; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 1.5rem; }
html[dir="rtl"] .hero::before { right: auto; left: 0; }
html[dir="rtl"] .section-header-left,
html[dir="rtl"] .stat-item,
html[dir="rtl"] .breadcrumb { text-align: right; }
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Arabic / RTL presentation */
html[dir="rtl"] body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] h5, html[dir="rtl"] h6 {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
html[dir="rtl"] .logo-text, html[dir="rtl"] .nav-desktop, html[dir="rtl"] .nav-mobile,
html[dir="rtl"] .btn, html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}
html[dir="rtl"] .hero-content, html[dir="rtl"] .page-hero .container,
html[dir="rtl"] .section-title, html[dir="rtl"] .section-subtitle {
  text-align: right;
}
html[dir="rtl"] .hero-actions, html[dir="rtl"] .cta-actions {
  justify-content: flex-start;
}
html[dir="rtl"] .header-main { direction: rtl; }
html[dir="rtl"] .logo { direction: rtl; }
html[dir="rtl"] .logo img { margin-left: 0; margin-right: 0; }
html[dir="rtl"] .product-card-body, html[dir="rtl"] .feature-box,
html[dir="rtl"] .city-card, html[dir="rtl"] .content-text { text-align: right; }
html[dir="rtl"] .process-step p, html[dir="rtl"] .process-step h3 { text-align: right; }
html[dir="rtl"] .form-group label { text-align: right; }
@media (max-width: 768px) {
  html[dir="rtl"] .hero-actions, html[dir="rtl"] .cta-actions { justify-content: center; }
  html[dir="rtl"] .hero-content, html[dir="rtl"] .page-hero .container { text-align: center; }
}
