@font-face {
  font-family: "Somar";
  src: url("../fonts/SomarSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* (اختياري) لو تبغى 500 بس بدون ما يزيد السمك كثير */
@font-face {
  font-family: "Somar";
  src: url("../fonts/SomarSans-Regular.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Somar";
  src: url("../fonts/SomarSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --oy-color-primary: #F7922F;
  --oy-color-navy: #173159;
  --oy-color-link-hover: rgba(197, 204, 214, 0.34);
  --oy-color-white: #ffffff;
  --oy-color-black: #000000;
  --oy-color-text: #111827;

  --oy-font-base: "Somar", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --oy-font-size-h-lg: 36px;
  --oy-line-height-h-lg: 1.35;

  --oy-font-size-body: 18px;
  --oy-line-height-body: 1.75;

  --oy-hero-title-max-width: 611px;
  --oy-hero-title-font-size: 64px;
  --oy-hero-title-line-height: 96px;
  --oy-hero-title-font-weight: 700;
  --oy-hero-title-shadow: 2px 4px 9px rgba(0, 0, 0, 0.62);

  --oy-radius-sm: 8px;
  --oy-shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.12);

  --oy-space-1: 4px;
  --oy-space-2: 8px;
  --oy-space-3: 12px;
  --oy-space-4: 16px;
  --oy-space-5: 20px;
  --oy-space-6: 24px;
  --oy-space-8: 32px;
  --oy-space-10: 40px;

  --oy-container-max: 1200px;
  --oy-container-pad: 24px;

  --oy-btn-pad-y: 12px;
  --oy-btn-pad-x: 18px;

  --oy-header-bg: var(--oy-color-white);
  --oy-header-border: #F1F1F3;

  --oy-header-pt: 16px;
  --oy-header-pb: 16px;

  --oy-header-pad-x-lg: 80px;
  --oy-header-pad-x-md: 24px;

  --oy-page-pad-x: clamp(16px, 4vw, var(--oy-header-pad-x-lg));

  --oy-header-start-gap: 30px;
  --oy-nav-gap: 26px;

  --oy-nav-pill-pad-x: 24px;
  --oy-nav-pill-pad-y: 8px;
  --oy-nav-pill-radius: var(--oy-radius-sm);

  --oy-header-btn-pad-y: 8px;
  --oy-header-btn-pad-x: 18px;

  --oy-hero-height: 720px;

  --oy-hero-overlay-bg: rgba(23, 49, 89, 0.25);
  --oy-hero-overlay-shadow: 0px 1px 9px rgba(246, 166, 38, 0.86);

  --oy-hero-content-shift-y: -60px;

  --oy-hero-h2-max-width: 749px;
  --oy-hero-h2-font-size: 48px;
  --oy-hero-h2-line-height: 81px;
  --oy-hero-h2-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

  --oy-hero-h3-max-width: 749px;
  --oy-hero-h3-font-size: 40px;
  --oy-hero-h3-line-height: 60px;
  --oy-hero-h3-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

  --oy-hero-h3-accent-width: 543px;
  --oy-hero-h3-accent-height: 30px;

  --oy-hero-controls-bottom: 40px;
  --oy-hero-controls-gap: 8px;

  --oy-hero-arrow-size: 24px;
  --oy-hero-arrow-pad: 8px;
  --oy-hero-arrow-color: var(--oy-color-primary);

  --oy-hero-dot-size: 12px;
  --oy-hero-dot-active-size: 16px;
  --oy-hero-dot-opacity: 0.5;
  --oy-hero-dot-gap: 10px;

  --oy-hero-dots-shift-y: -10px;

  --oy-hero-interval-ms: 4000ms;
  --oy-hero-fade-duration: 700ms;

  --oy-section-pad-y: 96px;

  --oy-section-title-font-size: 40px;
  --oy-section-title-line-height: 60px;
  --oy-section-title-weight: 700;

  --oy-section-text-font-size: 18px;
  --oy-section-text-line-height: 1.9;
  --oy-section-text-max-width: 980px;

  --oy-section-title-icon-size: 44px;
  --oy-section-title-side-logo-size: 56px;

  --oy-about-pattern-width: 900px;
  --oy-about-pattern-scale: 1.45;
  --oy-about-pattern-shift-x: 560px;
  --oy-about-pattern-opacity: 1;

  --oy-about-gap-sm: 24px;
  --oy-about-pattern-height-sm: 180px;
}

@media (max-width: 1024px) {
  :root {
    --oy-header-pad-x-lg: var(--oy-header-pad-x-md);
    --oy-container-pad: 20px;

    --oy-hero-content-shift-y: -35px;
    --oy-hero-height: 660px;
    --oy-hero-dots-shift-y: -8px;

    --oy-section-pad-y: 72px;

    --oy-section-title-font-size: 34px;
    --oy-section-title-line-height: 52px;

    --oy-section-title-icon-size: 36px;
    --oy-section-text-max-width: 92vw;

    --oy-about-pattern-width: 680px;
    --oy-about-pattern-scale: 1.3;
    --oy-about-pattern-shift-x: 200px;
  }
}

@media (max-width: 768px) {
  :root {
    --oy-font-size-h-lg: 28px;
    --oy-font-size-body: 16px;

    --oy-hero-title-font-size: 40px;
    --oy-hero-title-line-height: 56px;
    --oy-hero-title-max-width: 92vw;

    --oy-hero-h2-font-size: 32px;
    --oy-hero-h2-line-height: 48px;

    --oy-hero-h3-font-size: 24px;
    --oy-hero-h3-line-height: 36px;

    --oy-hero-h3-accent-width: 280px;
    --oy-hero-h3-accent-height: 16px;

    --oy-hero-height: 560px;
    --oy-hero-controls-bottom: 20px;

    --oy-container-pad: 16px;
    --oy-hero-dots-shift-y: -6px;

    --oy-section-pad-y: 56px;
    --oy-section-title-font-size: 28px;
    --oy-section-title-line-height: 42px;
    --oy-section-text-font-size: 16px;
    --oy-section-title-icon-size: 28px;

    --oy-section-title-side-logo-size: 36px;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--oy-font-base);
  color: var(--oy-color-text);
  background: var(--oy-color-white);
}

.oy-container {
  max-width: var(--oy-container-max);
  margin: 0 auto;
  padding-left: var(--oy-container-pad);
  padding-right: var(--oy-container-pad);
}

.oy-text-white { color: var(--oy-color-white); }
.oy-text-black { color: var(--oy-color-black); }
.oy-text-navy  { color: var(--oy-color-navy); }

.oy-title-lg {
  font-size: var(--oy-font-size-h-lg);
  line-height: var(--oy-line-height-h-lg);
  font-weight: 700;
  margin: 0;
}

.oy-body {
  font-size: var(--oy-font-size-body);
  line-height: var(--oy-line-height-body);
  font-weight: 400;
  margin: 0;
}

.oy-hero-title {
  max-width: var(--oy-hero-title-max-width);
  text-align: center;
  color: var(--oy-color-white);
  font-size: var(--oy-hero-title-font-size);
  font-family: var(--oy-font-base);
  font-weight: var(--oy-hero-title-font-weight);
  line-height: var(--oy-hero-title-line-height);
  word-wrap: break-word;
  text-shadow: var(--oy-hero-title-shadow);
  margin: 0 auto;
}

.oy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--oy-radius-sm);
  padding: var(--oy-btn-pad-y) var(--oy-btn-pad-x);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease, border-color .15s ease;
  user-select: none;
}

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

.oy-btn--primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.oy-link {
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}

.oy-link:hover {
  color: var(--oy-color-link-hover);
}
