
/*
Theme Name: Joan Theme
Theme URI: #
Author: Antigravity
Author URI: #
Description: A custom WordPress theme for Joan
Version: 1.6
Text Domain: joan
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Careem', sans-serif;
  direction: rtl;
  text-align: right;
  color: #1a1a2e;
  background: #ffffff;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* ---------- VARIABLES ---------- */
:root {
  --primary: rgba(33, 104, 148, 1);
  --primary-dark: rgba(23, 74, 108, 1);
  --primary-light: rgba(33, 104, 148, 0.1);
  --navy: #0d2137;
  --navy-2: #0a3d5c;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #f7fafa;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(33, 104, 148, 0.10);
  --shadow-md: 0 8px 32px rgba(33, 104, 148, 0.14);
  --shadow-lg: 0 16px 48px rgba(33, 104, 148, 0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1400px;
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(10, 181, 176, 0.08);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
}

.section-icon {
  width: 18px;
  height: 18px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: rgba(8, 61, 94, 1);
  line-height: 1.4;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;

  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(10, 181, 176, 0.35);
  transform: translateY(-2px);
}

.btn--hero {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-size: 16px;
  padding: 14px 36px;
  box-shadow: 0 8px 32px rgba(10, 181, 176, 0.4);
}

.btn--hero:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10, 181, 176, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--map {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  margin-top: 16px;
  width: fit-content;
}

.btn--map:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  padding: 16px;
  font-size: 17px;
}

/* ================= REUSABLE SECTION HEADER ================= */

.split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

/* RIGHT SIDE */
.section-header__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-header__label {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 130%;
  color: #083D5E;
  text-transform: capitalize;
}

.section-header__label img {
  width: 26px;
  height: 26px;
}

/* MAIN TITLE */
.section-header__title {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 120%;
  color: #083D5E;
  text-align: right;
}

/* LEFT SIDE TEXT */
.section-header__left {
  flex: 1;
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  color: #454545;
  text-align: right;
  max-width: 520px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .split-header {
    flex-direction: column;
    gap: 20px;
  }

  .section-header__title {
    font-size: 32px;
  }

  .section-header__label {
    font-size: 20px;
  }

  .section-header__left {
    font-size: 18px;
    max-width: 100%;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
/* ============================================================
   PREMIUM NAVBAR REDESIGN
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  gap: 24px;
}

.navbar__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.navbar__logo:hover img {
  transform: scale(1.05);
}

.navbar__toggle {
  display: none;
  background: rgba(33, 104, 148, 0.1);
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.navbar__toggle:hover {
  background: var(--primary);
  color: #fff;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__menu a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: block;
}

.navbar__menu a:hover,
.navbar__menu a.active,
.navbar__menu .current-menu-item > a {
  color: var(--primary);
  background: rgba(33, 104, 148, 0.08);
}

/* ============================================================
   SUBMENU (DROPDOWN) STYLES
   ============================================================ */
.navbar__menu .menu-item-has-children {
  position: relative;
}

/* Add an arrow to the parent link */
.navbar__menu .menu-item-has-children > a::after {
  content: '▼';
  font-size: 10px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.7;
}

/* Dropdown Container */
.navbar__menu .sub-menu {
  position: absolute;
  top: 130%;
  right: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  
  /* Animation / Visibility */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Nested Dropdowns (3rd level) */
.navbar__menu .sub-menu .sub-menu {
  top: 0;
  right: 100%;
  margin-right: 10px;
}

/* Show on Hover */
.navbar__menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  top: 100%; /* Snap slightly up */
}

/* Submenu Links */
.navbar__menu .sub-menu a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  border-radius: 0;
  transition: all 0.2s ease;
}

/* Remove hover arrow on submenus */
.navbar__menu .sub-menu .menu-item-has-children > a::after {
  content: '◀'; /* Left arrow for nested menus */
  float: left;
  margin-top: 5px;
}

/* Submenu Link Hover State */
.navbar__menu .sub-menu a:hover {
  background: rgba(33, 104, 148, 0.05);
  color: var(--primary);
  padding-right: 32px; /* Smooth indent */
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  direction: ltr;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(33, 104, 148, 0.05);
  transition: all 0.3s ease;
}
.navbar__phone:hover {
  background: var(--primary);
  color: #fff;
}
.navbar__phone:hover svg {
  stroke: #fff;
  fill: #fff;
}
.navbar__phone svg {
  flex-shrink: 0;
  transition: all 0.3s ease;
}



/* ================= HERO SECTION ================= */
/* ================= HERO SECTION ================= */
/* ================= HERO SECTION ================= */
/* ================= HERO SECTION ================= */
/* ================= HERO SECTION ================= */

.hero {
  padding: 24px 0;
}

/* البانر نفسه */
.hero__inner {
  position: relative;
   min-height: 850px;
background: url("assets/images/banner1.png") center left  no-repeat;
background-size: cover;
background-color: #ffffff;
    border-radius: 24px; 
    display: flex; 
    justify-content: flex-start; 
    /* المحتوى شمال */
     align-items: center; padding: 80px;
   overflow: hidden;

   position: relative;

}

/* CONTENT */
.hero__content {
  max-width: 696px;

  display: flex;
  flex-direction: column;
  gap: 24px;

  text-align: right;
  /* align-items: flex-end; */

  color: #fff;

  z-index: 2;
  text-align: left; 
  align-items: flex-start;
}

/* TITLE */
.hero__title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
}

/* SUBTITLE */
.hero__subtitle {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
}

/* BUTTON */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-direction: row-reverse;
  gap: 16px;

  background: #216894;
  color: #fff;

  padding: 14px 32px;
  border-radius: 10px;

  font-size: 24px;
  font-weight: 700;

  width: fit-content;

  transition: 0.3s ease;
}

.hero__btn:hover {
  transform: translateY(-2px);
}

.hero__btn img {
  width: 32px;
  height: 32px;
}

/* INFO BOX */
.hero__info {
  position: absolute;
  left: 32px;
  bottom: 16px;

  display: flex;
  align-items: center;
  gap: 16px;

  z-index: 2;
}

/* الأيقونة */
.hero__info-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* النص */
.hero__info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* السطر الأول */
.hero__info-text h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: #216894;
}

/* السطر الثاني */
.hero__info-text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: #000000;
}
/* ================= HERO RESPONSIVE FIX ================= */

/* Tablet */
@media (max-width: 1024px) {

  .hero__inner {
    padding: 60px;
    min-height: 700px;
  }

  .hero__content {
    max-width: 520px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 1.2;
  }

  .hero__subtitle {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero__btn {
    font-size: 18px;
    padding: 12px 24px;
  }

  .hero__info {
    left: 24px;
    bottom: 24px;
   bottom: 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .hero {
    padding: 16px 0;
  }

  .hero__inner {
    min-height: 520px;

    padding: 24px 16px;

    justify-content: center;

    border-radius: 16px;
    
  }

  .hero__content {
    max-width: 100%;
    align-items: center;
    gap: 16px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero__btn {
    font-size: 15px;
    padding: 10px 18px;
    gap: 10px;
  }

  .hero__btn img {
    width: 24px;
    height: 24px;
  }

  .hero__info {
    left: 16px;
    bottom: 16px;
    left: 40px;
        bottom: 14px;
        bottom: 7px;

    flex-direction: row; /* مهم: يفضل يفضل أفقي في الموبايل */
    align-items: center;
    gap: 10px;
  }

  .hero__info-icon img {
    width: 40px;
    height: 40px;
  }

  .hero__info-text h4 {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero__info-text p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .hero__title {
    font-size: 22px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  .hero__info {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 6px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
  overflow: hidden;
}

/* ============================================================
   REUSABLE SECTION HEADER
   ============================================================ */

.split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;

  margin-bottom: 64px;
}

/* RIGHT SIDE */
.section-header__right {
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* LABEL */


.section-header__label {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 130%;
  text-transform: capitalize;

  color: #083D5E;
}

.section-header__label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* TITLE */
.section-header__title {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 120%;
  letter-spacing: 0;

  color: #083D5E;
}

/* LEFT TEXT */
.section-header__left {
  flex: 1;
  max-width: 520px;
}

.section-header__left p {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0;

  color: #454545;
}

/* ============================================================
   ABOUT CONTENT
   ============================================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;

  align-items: center;
   
}

/* RIGHT SIDE */
.about-content__text {
  display: flex;
  flex-direction: column;
  gap: 56px;

   padding-block: 40px;
}

/* DESCRIPTION */
/* DESCRIPTION */
.about-content__desc {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 150%;
  letter-spacing: 0;
  color: #454545;
  text-align: right;
}

/* كل جملة */
.about-content__desc span {
  display: block;
  margin-bottom: 24px;
}

.about-content__desc span:last-child {
  margin-bottom: 0;
}

/* BUTTON */
.about-content__btn {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  background: #216894;
  color: #FFFFFF;

  border-radius: 50px;

  padding: 9px 24px 9px 32px;

  transition: 0.3s ease;
}

.about-content__btn:hover {
  background: #174a6c;
  transform: translateY(-2px);
}

/* BUTTON TEXT */
.about-content__btn span {
  font-family: 'Careem', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
}

/* BUTTON ICON */
/* BUTTON ICON */
.about-content__btn svg {
  width: 20px;
  height: 20px;

  flex-shrink: 0;

  /* شكل الدائرة */
  background: #ffffff;
  color: #216894;

  border-radius: 50%;

  padding: 6px;

  /* عكس اتجاه السهم */
  transform: rotate(180deg);
}
/* LEFT IMAGE */
.about-content__image {
  width: 100%;
  height: 433px;

  border-radius: 24px;
  overflow: hidden;
}

.about-content__image img {
  width: 100%;
  height: 100%;

  /* مهم */
  object-fit: contain;

  /* عشان الفراغ يبقى شكله نضيف */
  background: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

  .section-header__title {
    font-size: 46px;
  }

  .about-content__desc {
    font-size: 24px;
  }

}

@media (max-width: 992px) {

  .split-header {
    flex-direction: column;
    gap: 24px;

    margin-bottom: 48px;
  }

  .section-header__left {
    max-width: 100%;
  }

  .about-content {
    gap: 32px;
  }

  .about-content__desc {
    font-size: 22px;
  }

}

@media (max-width: 768px) {

  .section-header__label {
    font-size: 22px;
  }

  .section-header__label img {
    width: 22px;
    height: 22px;
  }

  .section-header__title {
    font-size: 34px;
  }

  .section-header__left p {
    font-size: 18px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-content__image {
    order: 1;
    height: 320px;
  }

  .about-content__text {
    order: 2;
    gap: 32px;
  }

  .about-content__desc {
    font-size: 18px;
  }

}

@media (max-width: 480px) {

  .split-header {
    margin-bottom: 32px;
  }

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

  .section-header__left p {
    font-size: 16px;
  }

  .about-content__image {
    height: 240px;
    border-radius: 16px;
  }

  .about-content__desc {
    font-size: 16px;
  }

  .about-content__btn {
    width: 100%;
    justify-content: center;
  }

}






/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services {
  background: var(--bg-light);
}

/* HEADER */
.services-header {
  margin-bottom: 56px;
}

.services-header .section-header__right {
  max-width: 780px;
}

/* الوصف تحت العنوان */
.services-header__desc {
  margin-top: 12px;

  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  color: #454545;

  text-align: right;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* CARD */
.service-card {
  background: var(--white);

  border-radius: 24px;

  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);

  overflow: hidden;

  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* CONTENT */
.service-card__body {
  padding: 24px 20px 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  flex-grow: 1;
}

/* TITLE */
.service-card__body h3 {
  font-family: 'Careem', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;

  color: #083D5E;
}

/* TEXT */
.service-card__body p {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;

  color: #454545;
}

/* IMAGE */
.service-card__img-wrapper {
  padding: 0 16px 16px;
}

.service-card img {
  width: 100%;
  height: 220px;

  object-fit: cover;

  border-radius: 18px;

  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .services-header {
    margin-bottom: 40px;
  }

  .services-header__desc {
    font-size: 18px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card__body h3 {
    font-size: 18px;
  }

  .service-card__body p {
    font-size: 15px;
  }

  .service-card img {
    height: 200px;
  }

}

@media (max-width: 480px) {

  .services-header__desc {
    font-size: 16px;
  }

  .service-card {
    border-radius: 18px;
  }

  .service-card img {
    height: 180px;
    border-radius: 14px;
  }

}


/* ============================================================
   WHY US SECTION
   ============================================================ */

.why-us {
  background: #ffffff;
}

/* GRID */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* CARD */
.why-card {
  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: 24px;

  padding: 32px 24px;

  transition: 0.3s ease;

  display: flex;
  flex-direction: column;

  /* مهم */
  align-items: flex-start;
  text-align: right;
}

.why-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* ICON */
.why-card__icon {
  width: 72px;
  height: 72px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;
}

.why-card__icon img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}

/* TITLE */
.why-card h3 {
  font-family: 'Careem', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;

  color: #083D5E;

  margin-bottom: 12px;
}

/* TEXT */
.why-card p {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 170%;

  color: #454545;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 24px 20px;
  }

  .why-card h3 {
    font-size: 20px;
  }

  .why-card p {
    font-size: 15px;
  }

}

@media (max-width: 480px) {

  .why-card {
    border-radius: 18px;
  }

  .why-card__icon {
    width: 60px;
    height: 60px;
  }

  .why-card__icon img {
    width: 30px;
    height: 30px;
  }

}






/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials {
  background: #ffffff;
}

/* HEADER */
.testimonials-header {
  margin-bottom: 56px;
}

.testimonials-header .section-header__right {
  max-width: 950px;
}

/* DESCRIPTION */
.testimonials-header__desc {
  margin-top: 12px;

  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;

  color: #454545;

  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  .testimonials-header {
    margin-bottom: 40px;
  }

  .testimonials-header__desc {
    font-size: 18px;
  }

}

@media (max-width: 480px) {

  .testimonials-header__desc {
    font-size: 16px;
  }

}




/* ============================================================
   BANNER SECTION
   ============================================================ */

.banner-section {
  overflow: hidden;
}

.banner-box {
  width: 100%;

  border-radius: 32px;

  overflow: hidden;
}

.banner-box img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: cover;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  .banner-box {
    border-radius: 20px;
  }

}

@media (max-width: 480px) {

  .banner-box {
    border-radius: 16px;
  }

}












/* ============================================================
   BEFORE & AFTER SECTION
   ============================================================ */

.before-after {
  background: #ffffff;
}

/* GRID */
.before-after__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* ITEM */
.before-after__item {
  width: 100%;

  border-radius: 24px;

  overflow: hidden;

  background: #f8f8f8;
}

/* IMAGE */
.before-after__item img {
  width: 100%;
  height: 100%;

  display: block;

  /* مهم عشان الصورة تظهر كاملة */
  object-fit: contain;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

  .before-after__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .before-after__grid {
    grid-template-columns: 1fr;
  }

  .before-after__item {
    border-radius: 18px;
  }

}

@media (max-width: 480px) {

  .before-after__grid {
    gap: 16px;
  }

  .before-after__item {
    border-radius: 16px;
  }

}









/* ============================================================
   BLOG SECTION
   ============================================================ */

.blog {
  background: #ffffff;
}

/* GRID */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 24px;
}

/* CARD */
.blog-card {
  background: #ffffff;

  border-radius: 16px;

  border: 1px solid transparent;

  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(
      89.07deg,
      rgba(33, 104, 148, 0.3) 0.6%,
      rgba(32, 150, 223, 0.3) 100.64%
    );

  background-origin: border-box;
  background-clip: padding-box, border-box;

  overflow: hidden;

  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* IMAGE */
.blog-card__image {
  width: 100%;
  height: 260px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

/* CONTENT */
.blog-card__content {
  padding: 24px;

  display: flex;
  flex-direction: column;

  gap: 20px;

  flex-grow: 1;
}

/* META */
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card__category,
.blog-card__date {
  font-family: 'Careem', sans-serif;
  font-size: 14px;
  font-weight: 400;

  color: #454545;
}

/* TITLE */
.blog-card__title {
  font-family: 'Careem', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;

  color: #083D5E;

  text-align: right;
}

/* TEXT */
.blog-card__text {
  font-family: 'Careem', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;

  color: #454545;

  text-align: right;
}

/* LINK */
.blog-card { position: relative; } /* Ensure parent is relative for the clickable area */

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #216894;
  font-family: 'Careem', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
}

/* Make entire card clickable */
.blog-card__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.blog-card__link svg {
  width: 18px;
  height: 18px;

  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .blog-card__title {
    font-size: 22px;
  }

  .blog-card__text {
    font-size: 16px;
  }

}

@media (max-width: 480px) {

  .blog-card__content {
    padding: 20px;
  }

  .blog-card__image {
    height: 220px;
  }

}







/* ============================================================
   BOOKING SECTION
   ============================================================ */

.booking {
  background: #ffffff;
}

/* INNER */
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 32px;

  align-items: stretch;
}

/* MAP */
.booking__map {
  border-radius: 24px;

  overflow: hidden;

  position: relative;

  min-height: 400px;

  border: 1px solid rgba(0, 0, 0, 0.08);
}

.booking__map iframe {
  width: 100%;
  height: 100%;

  border: 0;

  display: block;
}

/* BUTTON CUTOUT */
.booking__map-cutout {
  position: absolute;

  bottom: 0;
  right: 0;

  background: #ffffff;

  padding: 24px;

  border-top-left-radius: 24px;

  z-index: 10;
}

/* SUBMIT BUTTON */
.booking__submit-btn {
  box-shadow: 0 8px 24px rgba(33, 104, 148, 0.25);
}

/* FORM */
.booking__form {
  background: #f8f9fa;

  border-radius: 24px;

  padding: 40px;
}

/* ROW */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 24px;
}

/* GROUP */
.form-group {
  display: flex;
  flex-direction: column;

  gap: 12px;

  margin-bottom: 24px;
}

/* LABEL */
.form-group label {
  font-size: 15px;
  font-weight: 400;

  color: #083D5E;
}

/* INPUTS */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 14px 16px;

  border: 1px solid rgba(0, 0, 0, 0.08);

  border-radius: 12px;

  font-size: 14px;

  color: #454545;

  background: #ffffff;

  transition: 0.3s ease;

  outline: none;
}

.form-group textarea {
  resize: vertical;
}

/* SELECT */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper::after {
  content: "";

  position: absolute;

  left: 16px;
  top: 50%;

  transform: translateY(-50%);

  width: 14px;
  height: 8px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454545' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-size: contain;

  pointer-events: none;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;

  padding-left: 36px;
}

/* FOCUS */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #216894;

  box-shadow: 0 0 0 3px rgba(33, 104, 148, 0.08);
}

/* PLACEHOLDER */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {

  .booking__inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .booking__form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking__map {
    min-height: 350px;
  }

}

@media (max-width: 480px) {

  .booking__map-cutout {
    padding: 16px;
  }

  .booking__form {
    border-radius: 18px;
  }

  .booking__map {
    border-radius: 18px;
  }

}





/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.5fr 1fr;
  gap: 24px;
  padding-bottom: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__brand {
  align-items: flex-start;
}

.footer__logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 250px;
}





.footer__socials {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links ul li a {
  font-size: 14px;
  color: var(--white);
  transition: var(--transition);
  font-weight: 400;
}

.footer__links ul li a:hover {
  opacity: 0.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--white);
  font-weight: 400;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}



/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking__map {
    height: 360px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }

  /* Navbar */
  .navbar__toggle {
    display: flex;
    margin-right: auto;
  }

  .navbar__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
  }

  .navbar__links,
  .navbar__actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
  }

  .navbar.is-open .navbar__links,
  .navbar.is-open .navbar__actions {
    display: flex;
  }

  .navbar__actions {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 24px;
  }

  /* Hero */
  .hero {
    min-height: 380px;
  }

  .hero__title {
    font-size: 22px;
  }

  /* Stats bar */
  .stats-bar__inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 140px;
    flex: 0 0 calc(50% - 8px);
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Quiz */
  .quiz__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Why us */
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Booking form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .booking__form {
    padding: 24px 20px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

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

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__overlay {
    background: linear-gradient(to left,
        rgba(10, 30, 50, 0.75) 0%,
        rgba(10, 30, 50, 0.55) 100%);
  }
}







/* =====================================
   STAGGER ANIMATION
===================================== */

.fade-up {
  opacity: 0;
  transform: translateY(50px) scale(.96);
  transition:
    opacity .8s ease,
    transform .8s ease;
  will-change: transform, opacity;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* delays احتياطي */
.fade-up-delay-1 {
  transition-delay: .1s;
}

.fade-up-delay-2 {
  transition-delay: .2s;
}

.fade-up-delay-3 {
  transition-delay: .3s;
}

.fade-up-delay-4 {
  transition-delay: .4s;
}


/* =====================================
   SOFT CARD HOVER EFFECT
===================================== */

/* الكروت فقط */
.service-card,
.blog-card,
.why-card {
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

/* حركة هادئة */
.service-card:hover,
.blog-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* الصور */
.service-card img,
.blog-card img {
  transition: transform .5s ease;
}

.service-card:hover img,
.blog-card:hover img {
  transform: scale(1.03);
}

/* العنوان */
.service-card h3,
.blog-card__title {
  transition: color .3s ease;
}

.service-card:hover h3,
.blog-card:hover .blog-card__title {
  color: var(--primary);
}

/* =========================================
   SINGLE POST / PAGE STYLES 
   ========================================= */

/* Single Page / Post Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
  border-radius: 0 0 30px 30px;
}
.page-header .page-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}
.page-header .post-meta {
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Article Container */
.article-main {
  padding-bottom: 80px;
}
.article-container {
  max-width: 900px;
  margin: 0 auto;
}
.article-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  overflow: hidden;
}
.article-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 450px;
  border-bottom: 1px solid #eee;
}
.article-body {
  padding: 40px;
  line-height: 1.8;
  font-size: 18px;
  color: #444;
}
.article-body h2, 
.article-body h3, 
.article-body h4 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}
.article-body h2 {
  font-size: 28px;
}
.article-body h3 {
  font-size: 24px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body ul, 
.article-body ol {
  margin-bottom: 20px;
  padding-right: 20px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}
.article-body a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-header {
    padding: 50px 0;
  }
  .page-header .page-title {
    font-size: 28px;
  }
  .article-body {
    padding: 25px;
    font-size: 16px;
  }
}
