/* ============================================
   SHARED STYLE - Global Design Tokens & Utilities
   Sahla Now Design System
   ============================================ */

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Brand Colors */
  --primary: #2E8A6E;
  --white:#ffffff;
  --primary-light: #258367;
  --primary-dark: #004d3b;
  --primary-bg-tint: #9BF4D233;
  --primary-bg-tint-hover: rgba(0, 105, 80, 0.14);

  /* Accent */
  --accent-yellow: #F5D800;
  --accent-yellow-light: #FFF8DC;
  --accent-red: #D93025;
  --accent-red-light: #FFF0F1;

  /* Neutrals */
  --page-bg:rgba(248, 250, 252, 0.5) ;
  --white: #ffffff;
  --dark: #0C1B33;
  --text-dark: #2c2c2c; 
  --text-muted: #2C2C2C;
  --text-light: #6c757d;
  --border-light: #e8e8e8;

  /* Dark palette (for comparison table, banners) */
  --navy: #0C1B33;
  --navy-light: #243761;
  --navy-row: #F8FAFF;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 6px 24px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
    --radius-regular: 16px;
  --radius-xl: 20px;
  --radius-pill: 50px;

  /* Spacing */
  --navbar-height: 72px;
  --section-py: 80px;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--page-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
}

/* ============================================
   SHARED SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0C1B33;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color:#45556C;
  max-width: 631px;
  margin: 0 auto;
}

/* ============================================
   SHARED BUTTONS
   ============================================ */

/* Main CTA Button */
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:var(--primary) ;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-regular);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 105, 80, 0.35);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.main-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 105, 80, 0.4);
}

.main-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 105, 80, 0.25);
}

.main-btn i {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

.main-btn:hover i {
  transform: translateX(-4px);
}

/* Secondary / Outline Button */
.main-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.main-btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 105, 80, 0.3);
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 991.98px) {
  :root {
    --navbar-height: 64px;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .main-btn {
    padding: 12px 28px;
    font-size: 15px;
  }
}
