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

/* ==========================================
   DESIGN TOKENS & RESPONSIVE LAYOUTS
   ========================================== */
:root {
  /* Brand Colors */
  --primary-rgb: 10, 48, 122; /* Gulfex Royal Blue */
  --primary: rgb(var(--primary-rgb));
  --primary-light: #245cd1;
  --secondary-rgb: 219, 14, 34; /* Gulfex Red */
  --secondary: rgb(var(--secondary-rgb));
  --secondary-light: #ff3b4e;
  
  --accent-gold: #c5a86d; /* Dubai Gold accent */
  --accent-gold-rgb: 197, 168, 109;
  --success: #10b981;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Common Layout Styles */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(var(--primary-rgb), 0.2);

  /* Light Theme Variables (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(10, 48, 122, 0.05);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #131a2b;
  --bg-tertiary: #1a233a;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: #1e293b;
  --glass-bg: rgba(19, 26, 43, 0.7);
  --glass-border: rgba(255, 255, 255, 0.03);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  
  --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.4);
}

/* ==========================================
   BASE & RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

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

section {
  padding: 100px 0;
  position: relative;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: background var(--transition-normal), border var(--transition-normal);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo-container:hover img {
  transform: scale(1.03);
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-normal);
}

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

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .nav-link.active {
  color: var(--secondary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border var(--transition-fast), transform var(--transition-fast);
  color: var(--text-primary);
}

.theme-toggle:hover {
  transform: scale(1.05);
  background: var(--border-color);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Call to Action Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--secondary-light);
  color: var(--secondary-light);
}

/* 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(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile responsive menu active states */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .header-actions {
    display: none;
  }

  .nav-menu .header-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: auto;
  }
  
  .nav-menu .header-actions-mobile .btn {
    width: 100%;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(248, 250, 252, 0) 100%);
  z-index: 2;
  transition: background var(--transition-normal);
}

[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(11, 15, 25, 0.85) 50%, rgba(11, 15, 25, 0) 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

[data-theme="dark"] .hero-img {
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

[data-theme="dark"] .hero-tag {
  background: rgba(219, 14, 34, 0.08);
  border-color: rgba(219, 14, 34, 0.2);
  color: var(--secondary-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

[data-theme="dark"] .hero-title span {
  background: linear-gradient(135deg, #3b82f6 30%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

[data-theme="dark"] .stat-item h3 {
  color: var(--secondary-light);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 140px 0 80px 0;
  }
  
  .hero-bg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
  }
  
  .hero-bg::after {
    background: radial-gradient(circle, transparent 20%, var(--bg-primary) 80%);
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .stat-item {
    flex: 1 1 40%;
  }
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

[data-theme="dark"] .section-tag {
  background: rgba(219, 14, 34, 0.1);
  color: var(--secondary-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

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

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transition: height var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon-wrapper {
  background: rgba(var(--primary-rgb), 0.05);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition-normal), transform var(--transition-normal);
  color: var(--primary);
}

[data-theme="dark"] .service-icon-wrapper {
  background: rgba(219, 14, 34, 0.1);
  color: var(--secondary-light);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.08) rotate(5deg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 32px;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230a307a'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l5-5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

[data-theme="dark"] .service-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff3b4e'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l5-5z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.service-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-top: auto;
}

[data-theme="dark"] .service-btn {
  color: var(--secondary-light);
}

.service-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  fill: currentColor;
}

.service-card:hover .service-btn svg {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   INTERACTIVE COST CALCULATOR SECTION
   ========================================== */
.calculator-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .calculator-box {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 36px;
  }
}

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

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-card-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-normal);
}

.calc-card-option:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.02);
}

.calc-card-option.active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

[data-theme="dark"] .calc-card-option:hover {
  border-color: var(--secondary-light);
  background: rgba(219, 14, 34, 0.02);
}

[data-theme="dark"] .calc-card-option.active {
  border-color: var(--secondary-light);
  background: rgba(219, 14, 34, 0.05);
}

.option-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Range Slider Styling */
.range-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

[data-theme="dark"] .range-val {
  color: var(--secondary-light);
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  outline: none;
  transition: background var(--transition-fast);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

[data-theme="dark"] .slider::-webkit-slider-thumb {
  background: var(--secondary-light);
}

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

/* Toggle Switch Option */
.calc-switch-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider-round {
  background-color: var(--primary);
}

[data-theme="dark"] input:checked + .slider-round {
  background-color: var(--secondary-light);
}

input:checked + .slider-round:before {
  transform: translateX(24px);
}

/* Results Display Box */
.calc-results {
  background: linear-gradient(145deg, var(--bg-tertiary) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.calc-glow-bg {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.result-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  z-index: 2;
}

.result-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  z-index: 2;
  font-family: var(--font-heading);
}

.result-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  z-index: 2;
}

.calc-breakdown {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-bottom: 32px;
  z-index: 2;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.breakdown-row.total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 2;
}

/* ==========================================
   PROCESS TIMELINE SECTION
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
  width: 100%;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step-left {
  flex-direction: row-reverse;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%, -20%);
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border: 4px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  z-index: 2;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .timeline-badge {
  color: var(--secondary-light);
}

.timeline-step:hover .timeline-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--bg-primary);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.timeline-content-wrapper {
  width: 45%;
}

.timeline-step-left .timeline-content-wrapper {
  text-align: right;
}

.timeline-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

@media (max-width: 767px) {
  .timeline-line {
    left: 24px;
  }
  
  .timeline-step {
    flex-direction: row !important;
    padding-left: 64px;
  }
  
  .timeline-badge {
    left: 24px;
    transform: translate(-50%, -20%);
  }
  
  .timeline-content-wrapper {
    width: 100%;
    text-align: left !important;
  }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

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

.contact-details-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-details-card h3 {
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

[data-theme="dark"] .contact-icon-box {
  background: rgba(219, 14, 34, 0.08);
  color: var(--secondary-light);
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-text-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-text-box p,
.contact-text-box a {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
}

.address-banner-wrapper {
  margin-top: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.address-banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.address-banner-wrapper:hover .address-banner-img {
  transform: scale(1.02);
}

/* Glassmorphic Contact Form */
.contact-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--glass-shadow);
}

@media (max-width: 575px) {
  .contact-form-card {
    padding: 28px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 575px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input-wrapper label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
  background: var(--bg-secondary);
}

[data-theme="dark"] .form-control:focus {
  border-color: var(--secondary-light);
  box-shadow: 0 0 0 4px rgba(219, 14, 34, 0.15);
}

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

.submit-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
  transition: background-color var(--transition-normal);
}

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

@media (max-width: 991px) {
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 24px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

[data-theme="dark"] .social-link:hover {
  background: var(--secondary);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

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

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ==========================================
   INTERACTIVE ANIMATIONS
   ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating shapes for premium background glow */
.floating-glow-1,
.floating-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  animation: float-slow 15s infinite alternate;
}

.floating-glow-1 {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
  top: 10%;
  left: -100px;
}

.floating-glow-2 {
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.25) 0%, transparent 70%);
  bottom: 10%;
  right: -100px;
  animation-delay: -5s;
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -60px) scale(1.1);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Copy Button & Tooltip Styles */
.copy-btn {
  position: relative;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--border-color);
  color: var(--primary);
  transform: scale(1.05);
}

[data-theme="dark"] .copy-btn:hover {
  color: var(--secondary-light);
}

/* Tooltip container */
.copy-btn .tooltip-text {
  visibility: hidden;
  width: 100px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -50px;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.copy-btn .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--text-primary) transparent transparent transparent;
}

.copy-btn:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

