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

:root {
  /* Brand Colors */
  --color-primary: #0f2b48;       /* Dark Corporate Navy */
  --color-secondary: #1a4d7c;     /* Steel Blue */
  --color-accent: #3b82f6;        /* Bright Active Blue */
  --color-accent-hover: #2563eb;
  
  /* Support Colors */
  --color-success: #10b981;       /* WhatsApp Green */
  --color-success-hover: #059669;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  /* Neutral Palette */
  --color-dark: #0b1523;          /* Deep Dark */
  --color-charcoal: #1e293b;      /* Text Dark */
  --color-slate: #64748b;         /* Secondary Text */
  --color-light-gray: #f8fafc;    /* Background Light */
  --color-border: #e2e8f0;        /* Subtle Border */
  --color-white: #ffffff;
  
  /* UI Attributes */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-arabic: 'Cairo', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 10px 20px -5px rgba(15, 43, 72, 0.2);
  --shadow-whatsapp: 0 8px 24px rgba(16, 185, 129, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-light-gray);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL / Arabic Override */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}
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: var(--font-arabic);
}

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

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

html[dir="rtl"] h2::after {
  left: auto;
  right: 0;
}

.center-title {
  text-align: center;
}

.center-title::after {
  left: 50%;
  transform: translateX(-50%);
}
html[dir="rtl"] .center-title::after {
  right: 50%;
  transform: translateX(50%);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-slate);
}

.lead {
  font-size: 1.125rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-logo-img {
  height: 45px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
}
html[dir="rtl"] .nav-title {
  font-family: var(--font-arabic);
}

.nav-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-link {
  text-decoration: none;
  color: var(--color-charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent);
}

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

.nav-link.active {
  color: var(--color-accent);
}

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

.lang-switch {
  background: var(--color-light-gray);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.lang-switch:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition-normal);
  background-color: var(--color-primary);
}

/* Page Layout Wrappers */
section {
  padding: 5rem 1.5rem;
}

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

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

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

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

.section-bg-dark p {
  color: #a5b4fc;
}

/* Hero Banner */
.hero {
  padding: 8rem 1.5rem 5rem 1.5rem;
  background: linear-gradient(135deg, #091a2c 0%, #0f2b48 100%);
  color: var(--color-white);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  gap: 0.5rem;
}

html[dir="rtl"] .btn {
  font-family: var(--font-arabic);
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-success);
  color: var(--color-white);
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-success-hover);
  transform: translateY(-2px);
}

/* Features Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-accent);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-link {
  margin-top: auto;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--color-accent-hover);
  gap: 0.5rem;
}

/* Interactive Calculator Container */
.calculator-box {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  margin-top: 3rem;
}

.calc-inputs {
  padding: 3rem;
  border-right: 1px solid var(--color-border);
}
html[dir="rtl"] .calc-inputs {
  border-right: none;
  border-left: 1px solid var(--color-border);
}

.calc-inputs h3 {
  margin-bottom: 1.5rem;
}

.calc-results {
  padding: 3rem;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
}

.calc-results h3 {
  margin-bottom: 1.5rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
html[dir="rtl"] .form-control {
  font-family: var(--font-arabic);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.calc-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Canvas drawing visualizer style */
.visualizer-container {
  width: 100%;
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visualizer-header {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--color-light-gray);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
}

#layout-canvas {
  background-color: #ffffff;
  display: block;
  max-width: 100%;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.result-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.result-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate);
  margin-bottom: 0.5rem;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
}
html[dir="rtl"] .result-value {
  font-family: var(--font-arabic);
}

.calc-note {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--color-slate);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
}

/* Location Pages SEO Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.loc-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.loc-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.loc-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
html[dir="rtl"] .loc-name {
  font-family: var(--font-arabic);
}

.loc-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate);
}

/* WhatsApp Floating Bubble & Delayed Tooltip */
.whatsapp-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}
html[dir="rtl"] .whatsapp-wrapper {
  right: auto;
  left: 24px;
  align-items: flex-start;
}

.whatsapp-bubble {
  pointer-events: auto;
  background-color: var(--color-success);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp);
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
}

.whatsapp-bubble:hover {
  background-color: var(--color-success-hover);
  transform: scale(1.1);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: var(--color-success);
  opacity: 0.4;
  z-index: -1;
  animation: pulse 2s infinite;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

.whatsapp-tooltip {
  pointer-events: auto;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}

.whatsapp-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 22px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--color-primary) transparent;
  display: block;
  width: 0;
}
html[dir="rtl"] .whatsapp-tooltip::after {
  right: auto;
  left: 22px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Showcase Sliders & Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}

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

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 21, 35, 0.9) 0%, rgba(11, 21, 35, 0.2) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0.95;
  transition: var(--transition-normal);
}

.gallery-title {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
}

/* Location Header (Specific SEO Pages) */
.location-hero {
  background: linear-gradient(135deg, #091a2c 0%, #153c63 100%);
  color: var(--color-white);
  padding: 10rem 1.5rem 6rem 1.5rem;
  text-align: center;
}

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

.location-hero .lead {
  color: #93c5fd;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}
html[dir="rtl"] .faq-question {
  font-family: var(--font-arabic);
  text-align: right;
}

.faq-question:hover {
  background-color: var(--color-light-gray);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-icon::before {
  content: '+';
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-slate);
}

.faq-item.active .faq-icon::before {
  content: '−';
}

/* Contact Quote Form */
.quote-wizard {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.quote-wizard h2 {
  margin-bottom: 1.5rem;
}

/* Grid Layout for forms */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Guided Racking Finder Quiz styling */
.quiz-container {
  background-color: var(--color-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.quiz-opt-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
html[dir="rtl"] .quiz-opt-btn {
  font-family: var(--font-arabic);
  text-align: right;
}

.quiz-opt-btn:hover {
  border-color: var(--color-accent);
  background-color: rgba(59, 130, 246, 0.05);
}

.quiz-opt-btn.selected {
  border-color: var(--color-accent);
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-accent-hover);
}

/* Footer styling */
footer {
  background-color: var(--color-dark);
  color: #cbd5e1;
  padding: 5rem 1.5rem 2rem 1.5rem;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}
html[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}
html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-info {
  list-style: none;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-info a {
  color: #94a3b8;
  text-decoration: none;
}

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

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #64748b;
}

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

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: #94a3b8;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .calculator-box {
    grid-template-columns: 1fr;
  }
  
  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  html[dir="rtl"] .calc-inputs {
    border-left: none;
    border-bottom: 1px solid var(--color-border);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--color-white);
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
