/* ===================================================================
   EASY MARKET | إيزي ماركت للحلول الرقمية وتطوير التطبيقات
   Modern & Responsive Stylesheet (RTL First)
   Color Palette inspired by Easy Market Logo:
   Primary Navy: #0F1E36, Primary Blue: #0284C7, Cyan: #00B4D8, Accent: #38BDF8
=================================================================== */

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

:root {
  --primary-navy: #0b192c;
  --primary-dark: #102341;
  --primary-blue: #0284c7;
  --primary-cyan: #00b4d8;
  --accent-cyan: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #00b4d8 50%, #38bdf8 100%);
  --hero-gradient: linear-gradient(135deg, #081220 0%, #0e223d 60%, #112d52 100%);
  --surface-white: #ffffff;
  --surface-light: #f8fafc;
  --surface-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 8px 24px rgba(2, 132, 199, 0.1);
  --shadow-lg: 0 16px 40px rgba(11, 25, 44, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--text-main);
  background-color: var(--surface-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= Top Bar ================= */
.topbar {
  background: var(--primary-navy);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.topbar-info, .topbar-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topbar a:hover {
  color: var(--accent-cyan);
}

/* ================= Header & Navbar ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 1rem;
  position: relative;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition);
  border-radius: var(--radius-full);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-white {
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--surface-light);
  color: var(--primary-blue);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  background: var(--hero-gradient);
  color: #ffffff;
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-item p {
  font-size: 0.875rem;
  color: #94a3b8;
}

.hero-visual {
  position: relative;
}
.hero-card-stack {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}
.hero-logo-large {
  width: 180px;
  height: auto;
  margin: 0 auto 1.5rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
}
.hero-card-stack h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.hero-card-stack p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.store-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: right;
}
.store-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}
.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}
.store-btn-text span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.2;
}
.store-btn-text strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
}

/* ================= Section Common ================= */
.section {
  padding: 5rem 0;
}
.section-light {
  background: var(--surface-light);
}
.section-white {
  background: var(--surface-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ================= Services Section (Modern Tech Matrix UI) ================= */
.services-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-compact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 25, 44, 0.03);
}
.service-compact-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-compact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}
.service-compact-card:hover::before {
  opacity: 1;
}

.service-card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(0, 180, 216, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}
.service-compact-card:hover .service-icon-box {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  transform: scale(1.05);
}
.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-code-num {
  font-family: monospace, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.service-compact-card:hover .service-code-num {
  color: var(--primary-blue);
}

.service-compact-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.service-compact-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  gap: 0.5rem;
}
.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tech-pill {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.service-compact-card:hover .tech-pill {
  background: #f0f9ff;
  color: var(--primary-blue);
  border-color: #bae6fd;
}
.service-arrow-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.service-compact-card:hover .service-arrow-link {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateX(-3px);
}

@media (max-width: 1024px) {
  .services-compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-compact-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= Apps Portfolio Section ================= */
.app-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.app-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.25);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}
.app-icon-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.app-header-info {
  flex-grow: 1;
}
.app-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}
.app-category {
  display: inline-block;
  font-size: 0.775rem;
  background: #f1f5f9;
  color: var(--primary-blue);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}
.app-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #f59e0b;
  font-weight: 700;
}
.app-rating span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.75rem;
}

.app-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-platforms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid var(--border-color);
}
.platform-pill.android {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.platform-pill.ios {
  color: #0284c7;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.app-actions {
  display: flex;
  gap: 0.6rem;
}
.app-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}
.app-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}
.app-btn.primary {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}
.app-btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ================= Why Choose Us ================= */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.why-us-content .section-title {
  text-align: right;
}
.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}
.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-us-visual {
  background: var(--hero-gradient);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-us-visual::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.3), transparent 70%);
  border-radius: 50%;
}
.why-card-badge {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: block;
}
.why-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.why-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.why-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.why-card-list li svg {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}




/* ================= Partners Continuous Train Marquee ================= */
.partners-section {
  overflow: hidden;
  position: relative;
  padding: 4.5rem 0;
}
.partners-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem 0;
  direction: ltr !important;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.partners-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem;
  width: max-content;
  direction: ltr !important;
  animation: trainScrollRTL 32s linear infinite;
  will-change: transform;
}
.partners-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes trainScrollRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.partner-card {
  width: 270px;
  min-width: 270px;
  height: 195px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.05);
  transition: var(--transition);
  flex-shrink: 0;
  direction: rtl;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}
.partner-logo-wrapper {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-img {
  max-width: 160px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}
.partner-card:hover .partner-img {
  transform: scale(1.06);
}
.partner-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0.25rem 0 0;
  line-height: 1.35;
  text-align: center;
}
.partner-country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.25rem;
}
.partner-country .flag {
  font-size: 1.15rem;
  line-height: 1;
}

/* ================= Contact Section ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.contact-info-panel {
  background: var(--hero-gradient);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.contact-info-panel h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.contact-info-panel p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item-text h5 {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}
.contact-item-text a, .contact-item-text span {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  direction: ltr;
  display: inline-block;
}
.contact-item-text a:hover {
  color: var(--accent-cyan);
}

.contact-form-panel {
  padding: 3.5rem 3rem;
}
.contact-form-panel h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}
.contact-form-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-light);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}
.form-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}
.form-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ================= Footer ================= */
.footer {
  background: var(--primary-navy);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand .footer-logo {
  height: 54px;
  width: auto;
  background: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: inline-block;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(-4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}
.footer-bottom a {
  color: #94a3b8;
}
.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* ================= Floating WhatsApp & Call Buttons ================= */
.floating-actions {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  font-size: 1.5rem;
}
.floating-btn.whatsapp {
  background: #25d366;
}
.floating-btn.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}
.floating-btn.top {
  background: var(--primary-navy);
  opacity: 0;
  visibility: hidden;
}
.floating-btn.top.visible {
  opacity: 1;
  visibility: visible;
}
.floating-btn.top:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

/* ================= Breadcrumb & Internal Hero ================= */
.page-hero {
  background: var(--hero-gradient);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.breadcrumbs a {
  color: var(--accent-cyan);
}

/* ================= Legal Content Styling ================= */
.legal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.legal-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 2rem 0 1rem;
  border-right: 4px solid var(--primary-blue);
  padding-right: 0.75rem;
}
.legal-content p, .legal-content li {
  color: #475569;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 2.25rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-us-content .section-title {
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  .nav-menu.active {
    right: 0;
  }
  .header-cta {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-panel {
    padding: 2.5rem 1.5rem;
  }
  .contact-info-panel {
    padding: 2.5rem 1.5rem;
  }
  .legal-content {
    padding: 2rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
