/* -------------------------------------------------------------------------- */
/* AL TAMAM ADVANCED TRADING CORPORATION - DESIGN SYSTEM                      */
/* Medical & Hospital Equipment Solutions                                      */
/* Color Palette: Deep Teal, Gold Accents, Crisp White, Glassmorphism          */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* Brand Primary Teal Colors from Letterhead */
  --primary-teal-dark: #0F2E36;
  --primary-teal: #19434F;
  --primary-teal-light: #255866;
  --primary-teal-soft: #EEF6F8;
  
  /* Brand Accent Gold Colors */
  --accent-gold: #C5A059;
  --accent-gold-hover: #B28C45;
  --accent-gold-light: #F9F5EC;
  --accent-gold-glow: rgba(197, 160, 89, 0.3);

  /* Neutral Surface Colors */
  --bg-body: #F4F7F8;
  --surface-card: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --border-light: #E1E8EC;
  --border-teal: rgba(25, 67, 79, 0.15);

  /* Text Colors */
  --text-primary: #0F2E36;
  --text-secondary: #4A636A;
  --text-muted: #849A9F;
  --text-white: #FFFFFF;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 46, 54, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 46, 54, 0.1);
  --shadow-lg: 0 16px 40px rgba(15, 46, 54, 0.15);
  --shadow-gold: 0 8px 20px rgba(197, 160, 89, 0.25);

  /* Font Families */
  --font-en: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Tajawal', -apple-system, sans-serif;
  
  /* Transition Speeds */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-en);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: var(--font-ar);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-teal-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Top Announcement & Quick Info Bar */
.top-bar {
  background: var(--primary-teal-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent-gold);
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.top-contact-item i {
  color: var(--accent-gold);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-teal-dark);
  border-color: var(--accent-gold);
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo (Matching Letterhead Logo) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-teal-dark) 0%, var(--primary-teal) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(25, 67, 79, 0.25);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-gold);
}

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

.logo-title-en {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-sub-en {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.logo-text-ar {
  text-align: right;
}

.logo-title-ar {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  line-height: 1;
}

.logo-sub-ar {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rfq-cart-btn {
  position: relative;
  background: var(--primary-teal);
  color: var(--text-white);
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(25, 67, 79, 0.2);
  transition: all var(--transition-fast);
}

.rfq-cart-btn:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(25, 67, 79, 0.3);
}

.cart-badge {
  background: var(--accent-gold);
  color: var(--primary-teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0A242B 0%, #153C46 50%, #19434F 100%);
  color: #FFFFFF;
  padding: 90px 24px 110px;
  overflow: hidden;
}

/* Geometric Gold Swooshes matching Letterhead background graphics */
.hero-swoosh-bg {
  position: absolute;
  top: -50px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(25, 67, 79, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-swoosh-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--accent-gold);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--primary-teal-dark);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(197, 160, 89, 0.4);
  color: var(--primary-teal-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(197, 160, 89, 0.4);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-glass-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 46, 54, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-stat {
  display: flex;
  flex-direction: column;
}

.glass-stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.glass-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Category Filter Bar */
.catalog-section {
  max-width: 1280px;
  margin: -40px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-teal-dark);
  font-weight: 800;
}

.filter-bar-card {
  background: var(--surface-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.search-box-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

[dir="rtl"] .search-input-wrapper i {
  left: auto;
  right: 16px;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

[dir="rtl"] .search-input {
  padding: 14px 44px 14px 16px;
}

.search-input:focus {
  border-color: var(--primary-teal);
  background: #FFF;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  background: var(--bg-body);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(25, 67, 79, 0.15);
}

/* Equipment Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--surface-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.4);
}

.product-thumb {
  position: relative;
  height: 220px;
  background: #EAEFF2;
  overflow: hidden;
}

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

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

.product-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 46, 54, 0.85);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

[dir="rtl"] .product-category-tag {
  left: auto;
  right: 14px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-chip {
  background: var(--primary-teal-soft);
  color: var(--primary-teal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.btn-add-rfq {
  background: var(--primary-teal);
  color: #FFF;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-add-rfq:hover {
  background: var(--accent-gold);
  color: var(--primary-teal-dark);
}

.btn-view-details {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-details:hover {
  background: var(--bg-body);
  color: var(--primary-teal-dark);
}

/* Solutions & Services Section */
.solutions-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-body) 100%);
  padding: 80px 24px;
  border-top: 1px solid var(--border-light);
}

.solutions-container {
  max-width: 1280px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.solution-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-teal-soft);
  color: var(--primary-teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Live Formal Quotation Generator / Letterhead Preview Section */
.quote-preview-section {
  max-width: 1280px;
  margin: 80px auto;
  padding: 0 24px;
}

.quote-builder-card {
  background: var(--surface-card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-teal);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 992px) {
  .quote-builder-card {
    grid-template-columns: 1fr;
  }
}

.quote-builder-info {
  background: linear-gradient(135deg, var(--primary-teal-dark) 0%, var(--primary-teal) 100%);
  color: #FFF;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.quote-builder-info h2 {
  color: #FFF;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.quote-builder-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Authentic Letterhead Preview Sheet (Matching Provided Image) */
.letterhead-preview-sheet {
  background: #FFFFFF;
  padding: 30px;
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 520px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}

/* Header styled after Letterhead Header in Image */
.lh-header {
  background: var(--primary-teal-dark);
  color: #FFF;
  padding: 14px 20px;
  margin: -30px -30px 24px -30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--accent-gold);
}

.lh-logo-en {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.lh-logo-sub {
  font-size: 0.65rem;
  color: var(--accent-gold);
}

.lh-logo-ar {
  font-weight: 800;
  font-size: 1.15rem;
  text-align: right;
}

.lh-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  width: 250px;
  pointer-events: none;
}

.lh-content {
  flex: 1;
}

.lh-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 6px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.lh-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.85rem;
  background: var(--bg-body);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.lh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.lh-table th {
  background: var(--primary-teal-dark);
  color: #FFF;
  text-align: left;
  padding: 8px 10px;
  font-weight: 600;
}

[dir="rtl"] .lh-table th {
  text-align: right;
}

.lh-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
}

/* Footer styled after Letterhead Footer in Image */
.lh-footer {
  background: var(--primary-teal-dark);
  color: #FFF;
  margin: 20px -30px -30px -30px;
  padding: 12px 20px;
  font-size: 0.7rem;
  text-align: center;
  border-top: 3px solid var(--accent-gold);
}

.lh-footer-ar {
  direction: rtl;
  margin-bottom: 4px;
  font-weight: 600;
  color: #FFF;
}

.lh-footer-en {
  color: rgba(255, 255, 255, 0.85);
}

.lh-footer-contact {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Contact & Map Section */
.contact-section {
  background: var(--surface-card);
  padding: 80px 24px;
  border-top: 1px solid var(--border-light);
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-teal-soft);
  color: var(--primary-teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  color: var(--primary-teal-dark);
  margin-bottom: 4px;
}

.info-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-body);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  outline: none;
  background: #FFF;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-teal);
}

/* Site Footer */
.site-footer {
  background: var(--primary-teal-dark);
  color: #FFFFFF;
  padding: 60px 24px 20px;
  border-top: 4px solid var(--accent-gold);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-gold);
}

[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 12px;
}

/* Modals & Slide-over Drawer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 46, 54, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface-card);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-body);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 20px;
}

/* Print Styling for Letterhead Quote Export */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-quote, #printable-quote * {
    visibility: visible;
  }
  #printable-quote {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
  }
}
