/* ==========================================================================
   CHANGE AL MANAR - PREMIUM CURRENCY EXCHANGE OFFICE
   DESIGN SYSTEM & GLOBAL STYLES (Apple, Stripe, Revolut & Goldman Sachs Inspired)
   ========================================================================== */

/* Google Fonts Preloaded in HTML to prevent render blocking */

:root {
  /* Color Palette */
  --primary-blue: #0D3B8E;
  --primary-blue-rgb: 13, 59, 142;
  --primary-gold: #F4A623;
  --primary-gold-rgb: 244, 166, 35;
  --gold-accent: #D4AF37;
  --gold-accent-rgb: 212, 175, 55;
  
  /* Backgrounds */
  --bg-dark: #030a1a;
  --bg-darker: #01050e;
  --bg-light: #f8fafc;
  --bg-card-dark: rgba(13, 59, 142, 0.05);
  --bg-glass-dark: rgba(3, 10, 26, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.85);
  
  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-gold-glass: rgba(244, 166, 35, 0.15);
  --border-blue-glass: rgba(13, 59, 142, 0.2);
  
  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-gold-glow: 0 0 30px rgba(244, 166, 35, 0.15);
  --shadow-blue-glow: 0 0 30px rgba(13, 59, 142, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Selection & Scrollbar */
::selection {
  background-color: var(--primary-gold);
  color: var(--bg-darker);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Custom Interactive Cursor (Gold Ring) */
.custom-cursor {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(244, 166, 35, 0.6);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}
.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
}

.custom-cursor.hover {
  width: 45px;
  height: 45px;
  background-color: rgba(244, 166, 35, 0.1);
  border-color: var(--primary-gold);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
}

.text-gold {
  color: var(--primary-gold);
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Button Systems */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 80px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1752bd 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-blue-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(13, 59, 142, 0.4), 0 0 0 4px rgba(13, 59, 142, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-accent) 100%);
  color: var(--bg-darker);
  border: none;
  box-shadow: var(--shadow-gold-glow);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(244, 166, 35, 0.4), 0 0 0 4px rgba(244, 166, 35, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 166, 35, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}
.section-badge {
  display: inline-block;
  background: rgba(13, 59, 142, 0.1);
  border: 1px solid var(--border-blue-glass);
  color: var(--primary-gold);
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-darker);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-welcome {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.preloader-logo svg {
  width: 100%;
  height: 100%;
}

.preloader-logo path {
  fill: none;
  stroke: var(--primary-gold);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLogo 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-bar-bg {
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
  margin-bottom: 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.preloader-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes drawLogo {
  to {
    stroke-dashoffset: 0;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

header.scrolled {
  background: rgba(3, 10, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #ffffff;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

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

.logo-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.6rem;
  color: var(--primary-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #ffffff;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn svg {
  transition: var(--transition-fast);
}

.lang-selector:hover .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(3, 10, 26, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.5rem;
  list-style: none;
  min-width: 120px;
  box-shadow: var(--shadow-premium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.lang-dropdown li.active a {
  color: var(--primary-gold);
  background: rgba(244, 166, 35, 0.05);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  filter: brightness(0.65) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(3, 10, 26, 0.2) 0%, rgba(3, 10, 26, 0.85) 100%),
              linear-gradient(180deg, rgba(3, 10, 26, 0.4) 0%, rgba(3, 10, 26, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: rgba(244, 166, 35, 0.1);
  border: 1px solid rgba(244, 166, 35, 0.25);
  color: var(--primary-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(244, 166, 35, 0.05);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-title span.title-main {
  display: block;
  font-weight: 800;
}

.hero-title span.title-sub {
  display: block;
  font-weight: 300;
  font-size: 2rem;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, var(--primary-gold), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: #ffffff;
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  80% { transform: translateY(250%); opacity: 0; }
  100% { transform: translateY(250%); opacity: 0; }
}

/* General Section Spacing */
section.py-20 {
  padding: 8rem 0;
  position: relative;
}

/* Background Gradients & Shapes */
.glow-shape {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 59, 142, 0.15) 0%, rgba(13, 59, 142, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.glow-shape-gold {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 166, 35, 0.08) 0%, rgba(244, 166, 35, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Live Exchange Rates Dashboard */
.rates-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.rates-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  transition: var(--transition-smooth);
}

.rate-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(244, 166, 35, 0.25);
  transform: translateX(5px);
}

.currency-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.currency-flag {
  width: 48px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency-flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.currency-details {
  display: flex;
  flex-direction: column;
}

.currency-code {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.rate-trend {
  width: 100px;
  height: 30px;
}

.rate-trend path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.rate-trend.up path {
  stroke: #10B981;
}

.rate-trend.down path {
  stroke: #EF4444;
}

.rate-values {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rate-price {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.rate-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.rate-change.up {
  color: #10B981;
}

.rate-change.down {
  color: #EF4444;
}

/* Calculator Card */
.calculator-card {
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.calc-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.calc-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.calc-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.calc-input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.calc-input-wrapper:focus-within {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.05);
}

.calc-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  width: 100%;
}

.calc-select {
  background: rgba(13, 59, 142, 0.2);
  border: none;
  border-left: 1px solid var(--border-glass);
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-select option {
  background: var(--bg-darker);
  color: #ffffff;
}

.calc-select:hover {
  background: rgba(13, 59, 142, 0.35);
}

.calc-swap-btn {
  display: flex;
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  border: 1px solid var(--border-glass);
  padding: 0;
  outline: none;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto;
  cursor: pointer;
  color: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-blue-glow);
}

.calc-swap-btn:hover {
  transform: rotate(180deg) scale(1.05);
  background: var(--primary-gold);
  color: var(--bg-darker);
  box-shadow: var(--shadow-gold-glow);
}

.calc-result-box {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(13, 59, 142, 0.15);
  border-radius: 12px;
  border: 1px solid var(--border-blue-glass);
  text-align: center;
}

.calc-result-rate {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-gold);
  font-family: var(--font-sans);
  letter-spacing: -0.5px;
}

.calc-update-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(244, 166, 35, 0.05);
  border: 1px solid rgba(244, 166, 35, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary-gold);
  color: var(--bg-darker);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-gold-glow);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-features {
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  color: var(--primary-gold);
  margin-top: 0.2rem;
}

.about-feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

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

.about-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.about-image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(3, 10, 26, 0.75) 0%, rgba(3, 10, 26, 0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2.5rem 2rem;
}

.why-card-icon {
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.why-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.why-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Office Gallery Splide Slider & Before/After Slider */
.gallery-section {
  background: var(--bg-darker);
}

.splide__slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 24px;
}

.splide__arrow {
  background: rgba(3, 10, 26, 0.8) !important;
  border: 1px solid var(--border-glass);
  opacity: 0.8;
}

.splide__arrow svg {
  fill: #ffffff !important;
}

.splide__arrow:hover {
  background: var(--primary-gold) !important;
  opacity: 1;
}

.splide__arrow:hover svg {
  fill: var(--bg-darker) !important;
}

/* Before / After Slider Component */
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-img.before-img {
  z-index: 1;
}

.slider-img.after-img {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-gold);
  z-index: 3;
  cursor: ew-resize;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--primary-gold);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary-gold);
  border: 4px solid var(--bg-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-darker);
  box-shadow: var(--shadow-premium);
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(3, 10, 26, 0.85);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 4;
}

.slider-label.before-label {
  left: 1.5rem;
  color: var(--text-muted);
}

.slider-label.after-label {
  right: 1.5rem;
  color: var(--primary-gold);
}

/* Map & Location details */
.location-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: stretch;
}

#mapContainer {
  height: 500px;
  border-radius: 24px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  z-index: 5;
}

/* Styling Leaflet theme to make it darker */
.leaflet-container {
  background-color: var(--bg-darker) !important;
}

.leaflet-bar {
  border: 1px solid var(--border-glass) !important;
  box-shadow: var(--shadow-premium) !important;
}

.leaflet-bar a {
  background: rgba(3, 10, 26, 0.9) !important;
  color: #ffffff !important;
  border-bottom: 1px solid var(--border-glass) !important;
}

.leaflet-bar a:hover {
  background: var(--primary-gold) !important;
  color: var(--bg-darker) !important;
}

.info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
}

.info-item-icon {
  color: var(--primary-gold);
  margin-top: 0.2rem;
}

.info-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 2rem;
  font-size: 0.88rem;
}

.hours-day {
  color: var(--text-muted);
}

.hours-time {
  text-align: right;
  font-weight: 600;
}

/* Contact Section & Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

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

.contact-quick-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
}

.quick-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.quick-channel-card:hover {
  background: rgba(13, 59, 142, 0.15);
  border-color: var(--border-blue-glass);
  transform: translateX(5px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.channel-icon.phone {
  background: rgba(244, 166, 35, 0.1);
  color: var(--primary-gold);
}

.channel-name {
  font-weight: 600;
  font-size: 1rem;
}

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

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

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

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input option {
  background-color: #030A1A;
  color: #ffffff;
}

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

.form-input:focus {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.05);
}

.form-label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--primary-gold);
  background: var(--bg-dark);
  padding: 0 0.4rem;
}

/* Floating WhatsApp Badge */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Footer Styles */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 6rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-license {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-gold);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-langs {
  display: flex;
  gap: 1.5rem;
}

.footer-langs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-langs a:hover {
  color: #ffffff;
}

.footer-langs a.active {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Responsiveness adjustments */
@media (max-width: 1024px) {
  .rates-dashboard,
  .about-section,
  .location-wrapper,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3.5rem !important;
  }

  .hero-title span.title-sub {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 768px) {
  section.py-20 {
    padding: 5rem 0;
  }
  
  .splide__slide img,
  .slider-container {
    height: 400px;
  }
  
  #mapContainer {
    height: 350px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .contact-form .form-group-full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  /* Header Nav Mobile Layout */
  .mobile-menu-btn {
    display: block !important;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 10, 26, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .logo {
    gap: 0.5rem !important;
  }

  .logo-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .logo-title {
    font-size: 0.95rem !important;
  }
  
  .logo-subtitle {
    font-size: 0.48rem !important;
    letter-spacing: 1px !important;
  }

  .nav-right .btn-glass {
    display: none !important;
  }
  
  .mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Hero Optimization */
  .hero {
    padding: 7rem 0 4rem 0;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  
  .hero-title span.title-sub {
    font-size: 1.35rem !important;
  }
  
  .hero-title span.title-desc {
    font-size: 0.95rem !important;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-scroll-indicator {
    display: none;
  }
  
  /* General section title adjustments */
  .section-title {
    font-size: 2rem !important;
  }
  
  .section-desc {
    font-size: 0.95rem;
  }
}

/* Card Focus Interactions */
.service-card, .why-card {
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
  cursor: pointer;
}

.service-card.unfocused, .why-card.unfocused {
  opacity: 0.55 !important;
  filter: blur(1.5px) grayscale(20%) !important;
  transform: scale(0.97) translateY(0) !important;
}

.service-card.focused, .why-card.focused {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.03) translateY(-8px) !important;
  border-color: var(--primary-gold) !important;
  box-shadow: 0 15px 35px rgba(244, 166, 35, 0.15) !important;
}

/* Blog Card Hover Styles */
.blog-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--primary-gold) !important;
  box-shadow: 0 15px 35px rgba(244, 166, 35, 0.15) !important;
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* Unified Mobile and iOS Layout Adjustments */
html, body {
  width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

@media (max-width: 768px) {
  /* Prevent side-overflow and center containers */
  .container {
    padding: 0 1.25rem !important;
  }
  
  .rates-dashboard {
    gap: 2rem !important;
  }
  
  /* Shrink padding to prevent right overflow of content elements */
  .calculator-card {
    padding: 2rem 1.25rem !important;
    border-radius: 20px !important;
  }
  
  .rate-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }
  
  /* Prevent about-image from taking too much vertical space on phones */
  .about-image {
    height: 320px !important;
  }
  
  .about-image-wrapper {
    border-radius: 20px !important;
  }
}

@media (max-width: 480px) {
  /* Hide sparkline trend to fit flag/details and price/change perfectly */
  .rate-trend {
    display: none !important;
  }
  
  .currency-info {
    gap: 0.75rem !important;
  }
  
  .currency-flag {
    width: 40px !important;
    height: 28px !important;
  }
  
  .currency-code {
    font-size: 1.05rem !important;
  }
}