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

/* ==========================================
   1. Design System & Variables
   ========================================== */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-rgb: 15, 23, 42;
  --secondary: #10b981;
  --secondary-hover: #059669;
  --secondary-light: rgba(16, 185, 129, 0.1);
  --mint: #34d399;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  --font-en-head: 'Outfit', sans-serif;
  --font-en-body: 'Inter', sans-serif;
  --font-fa: 'Vazirmatn', sans-serif;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. Resets & Language-Specific Typography
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* English Rules (LTR) */
[dir="ltr"] {
  font-family: var(--font-en-body);
}
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4, [dir="ltr"] h5, [dir="ltr"] h6 {
  font-family: var(--font-en-head);
  letter-spacing: -0.02em;
}

/* Farsi Rules (RTL) */
[dir="rtl"] {
  font-family: var(--font-fa);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: var(--font-fa);
  font-weight: 700;
}

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

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

/* ==========================================
   3. Navigation & Glassmorphism
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  direction: ltr !important;
}

.logo span {
  color: var(--secondary);
  position: relative;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
  background-color: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-toggle:hover {
  background-color: var(--bg-light);
  border-color: var(--text-muted);
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: left center;
}

[dir="rtl"] .hamburger span {
  transform-origin: right center;
}

/* ==========================================
   4. Layout & Grid Components
   ========================================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   5. Hero Section
   ========================================== */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative Blurry Orbs */
.orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.15;
}

.orb-1 {
  background: var(--secondary);
  top: -100px;
  right: -100px;
}

.orb-2 {
  background: var(--mint);
  bottom: -100px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 24px;
}

[dir="rtl"] .hero-title {
  font-size: 3.25rem;
  line-height: 1.3;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

/* Hero UI Mockup (Glassmorphism & Interactive feel) */
.hero-visual {
  position: relative;
  width: 100%;
}

.visual-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-premium);
  position: relative;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.visual-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chart-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.chart-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chart-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.chart-amount.green {
  color: var(--secondary);
}

.chart-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CSS-based Bar Chart Mini Graphic */
.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  margin-top: 20px;
  padding-top: 10px;
}

.chart-bar {
  width: 12%;
  background-color: var(--border);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease;
}

.chart-bar.filled {
  background: linear-gradient(180deg, var(--mint) 0%, var(--secondary) 100%);
}

.float-badge {
  position: absolute;
  bottom: -15px;
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}

.float-badge-1 {
  inset-inline-start: -20px;
  bottom: 40px;
}

.float-badge-2 {
  inset-inline-end: -25px;
  top: 80px;
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

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

/* ==========================================
   6. Services Section (Grid Layout)
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(16, 185, 129, 0.4);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

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

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================
   7. Tax Savings Calculator Section
   ========================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-premium);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.form-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.form-value-badge {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

/* Range Slider Custom Styling */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  transition: var(--transition-fast);
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.btn-group-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.btn-toggle-option {
  padding: 12px;
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-toggle-option:hover {
  border-color: var(--text-muted);
}

.btn-toggle-option.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Calculator Outputs Cards */
.calc-outputs {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.calc-outputs::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  filter: blur(30px);
}

.output-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.output-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.output-value-large {
  font-size: 3rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.output-value-sub {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.calc-cta {
  margin-top: 10px;
  width: 100%;
}

/* ==========================================
   8. Trust Indicators & Certifications
   ========================================== */
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.trust-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  transition: var(--transition);
}

.trust-logo-card:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.trust-logo-card svg {
  width: 48px;
  height: 48px;
}

.trust-logo-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   9. About Us Section
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background-color: var(--primary-light);
}

/* Placeholders inside the frame using clean vector patterns */
.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  padding: 40px;
  text-align: center;
}

.placeholder-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background-color: rgba(16, 185, 129, 0.2);
  color: var(--mint);
  border: 1px solid var(--secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.placeholder-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.placeholder-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.exp-badge {
  position: absolute;
  bottom: 30px;
  inset-inline-end: -20px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.exp-years {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.about-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Testimonial Slider Mini (Pure CSS/JS) */
.testimonial-carousel {
  margin-top: 48px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px;
  border-left: 4px solid var(--secondary);
  position: relative;
}

[dir="rtl"] .testimonial-carousel {
  border-left: none;
  border-right: 4px solid var(--secondary);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-company {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   10. Contact & Consultation Booking Form
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: flex-start;
}

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

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-desc {
  color: var(--text-muted);
  margin-top: -24px;
}

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

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.booking-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-grid .form-group.full-width {
  grid-column: span 2;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--bg-light);
  font-size: 0.95rem;
  color: var(--primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  background-color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Custom styled selectors */
.datetime-selector {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* Success toast message */
.toast-msg {
  display: none;
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--secondary);
}

[dir="rtl"] .toast-msg {
  border-left: none;
  border-right: 4px solid var(--secondary);
}

.toast-msg.show {
  display: flex;
}

.toast-icon {
  color: var(--mint);
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================
   11. Footer
   ========================================== */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--primary-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

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

.footer-link-item a:hover {
  color: var(--mint);
  padding-inline-start: 4px;
}

.countdown-box {
  background-color: var(--primary-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.countdown-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.timer-item {
  display: flex;
  flex-direction: column;
}

.timer-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mint);
}

.timer-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

/* ==========================================
   12. Responsive Media Queries
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .calc-container {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
  }
  
  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-actions {
    margin-inline-start: auto;
    margin-inline-end: 16px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  [dir="rtl"] .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid .form-group.full-width {
    grid-column: span 1;
  }
  
  .datetime-selector {
    grid-template-columns: 1fr;
  }
  
  .btn-group-toggle {
    grid-template-columns: 1fr;
  }
  
  .calc-outputs {
    padding: 24px;
  }
  
  .output-value-large {
    font-size: 2.25rem;
  }
}
