@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;

}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

#about {
  scroll-margin-top: 6rem;
  background: var(--neutral-50);
}

#partners {
  scroll-margin-top: 6rem;
}

:root {
  --brand-primary: #1f5f9c;
  --brand-primary-strong: #194f82;
  --brand-primary-hover: #123d68;
  --brand-primary-soft: rgba(31, 95, 156, 0.16);
  --brand-secondary: #1ca7a0;
  --brand-secondary-strong: #14756f;
  --brand-secondary-soft: rgba(28, 167, 160, 0.16);
  --brand-accent: #f3a55a;
  --brand-accent-strong: #e49446;
  --brand-accent-hover: #cf7d2e;
  --brand-accent-soft: rgba(243, 165, 90, 0.2);
  --neutral-50: #f5f8fb;
  --neutral-100: #eaf0f6;
  --neutral-300: #d4dee8;
  --neutral-600: #5f7285;
  --neutral-900: #273442;
  --color-primary: #fff6ee;
  --color-success: #2c9f95;
  --color-warning: #f3a55a;
  --color-danger: #e78b3c;
  --color-danger-variant: rgba(231, 139, 60, 0.2);
  --color-white: #1f3f61;
  --color-light: var(--neutral-600);
  --color-black: #13273c;
  --color-bg: var(--neutral-50);
  --color-bg1: var(--neutral-100);
  --color-bg2: #ffffff;
  --surface-elevated: #ffffff;
  --border-soft: var(--neutral-300);
  --shadow-sm: 0 8px 24px rgba(31, 95, 156, 0.12);
  --shadow-md: 0 14px 34px rgba(25, 79, 130, 0.18);
  --shadow-lg: 0 24px 52px rgba(31, 95, 156, 0.24);
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --container-width-lg: 80%;
  --container-width-md: 90%;
  --container-width-sm: 94%;

  --transition: all ease 0.4s;
}
body {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  /* scrollbar-width: none;  Firefox */
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
  padding: 0;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(243, 165, 90, 0.18), transparent 34%),
    radial-gradient(circle at 88% 85%, rgba(28, 167, 160, 0.18), transparent 36%),
    linear-gradient(135deg, #18476f 0%, #1f5f8f 46%, #2f768f 100%);
}
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(2px);
}
body::before {
  width: 340px;
  height: 340px;
  top: -110px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 70%);
}
body::after {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(42, 189, 181, 0.22) 0%, rgba(42, 189, 181, 0) 68%);
}
body::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
                                                   /*4th card */
                                             
       /*  ==================================================== ====== ================*/

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    min-height: 100dvh;
    background: transparent;
    padding: var(--space-16) 0;
}


/* =========================
   Typography
========================= */

.small-text1 {
    font-size: 15px; }
h1 {
    margin: 0;
    font-weight: 600;
    color: var(--color-white);
}

h2 {
    margin: 0;
    font-weight: 600;
    color: var(--color-white);
}

p {
    margin-top: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-light);
}

.red {
    margin-bottom: 0;
    font-size: 31px;
    font-weight: 200;
    color: var(--brand-secondary);
}

.paragraph {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-light);
}

/* =========================
   Components
========================= */
.text {
    max-width: 500px;
    margin: 20px auto 0;
    text-align: center;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 7px;
    max-width: 300px;
}

/* Professional cards section */
.text {
  margin-bottom: var(--space-12);
}

.text h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  font-size: 1.8rem;
}

.text .red {
  color: var(--brand-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.text .paragraph {
  color: var(--color-light);
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-strong));
  border: 1px solid rgba(228, 148, 70, 0.45);
  box-shadow: 0 12px 26px rgba(240, 152, 25, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.portfolio-cta-wrap {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-us-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(28, 167, 160, 0.12), transparent 26%),
    radial-gradient(circle at 85% 82%, rgba(243, 165, 90, 0.14), transparent 24%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
}

.why-choose-us_container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.why-choose-us_content {
  max-width: 640px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.why-choose-us_kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  background: rgba(28, 167, 160, 0.12);
  color: var(--brand-secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.why-choose-us_content h2 {
  margin-bottom: var(--space-4);
  color: var(--brand-primary-strong);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.18;
}

.why-choose-us_intro {
  margin-bottom: var(--space-8);
  color: var(--color-light);
  font-size: 1rem;
  line-height: 1.9;
}

.why-choose-us_list {
  display: grid;
  gap: 1rem;
}

.why-choose-us_item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 95, 156, 0.12);
  box-shadow: 0 12px 28px rgba(31, 95, 156, 0.08);
  color: var(--neutral-900);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-choose-us_item:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 165, 90, 0.36);
  box-shadow: 0 18px 34px rgba(31, 95, 156, 0.14);
}

.why-choose-us_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 95, 156, 0.2);
}

.why-choose-us_media {
  position: relative;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.why-choose-us_image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: transparent;
}

.why-choose-us_image-frame::after {
  content: none;
  pointer-events: none;
}

.why-choose-us_image {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 500px);
  object-fit: cover;
  background: transparent;
}

.why-choose-us-section.is-visible .why-choose-us_content,
.why-choose-us-section.is-visible .why-choose-us_media,
.why-choose-us-section.is-visible .why-choose-us_item {
  opacity: 1;
}

.why-choose-us-section.is-visible .why-choose-us_content,
.why-choose-us-section.is-visible .why-choose-us_item {
  transform: translateY(0);
}

.why-choose-us-section.is-visible .why-choose-us_media {
  transform: translateY(0) scale(1);
}

.why-choose-us_item:nth-child(1) {
  transition-delay: 0.04s;
}

.why-choose-us_item:nth-child(2) {
  transition-delay: 0.08s;
}

.why-choose-us_item:nth-child(3) {
  transition-delay: 0.12s;
}

.why-choose-us_item:nth-child(4) {
  transition-delay: 0.16s;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.15s cubic-bezier(0.25, 0.9, 0.3, 1), transform 1.15s cubic-bezier(0.25, 0.9, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 700px) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-choose-us_content,
  .why-choose-us_media,
  .why-choose-us_item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html[dir="ltr"] .why-choose-us_item {
  text-align: left;
}

.portfolio-cta span {
  line-height: 1;
}

.portfolio-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.portfolio-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--brand-accent-strong), var(--brand-accent-hover));
  box-shadow: 0 16px 30px rgba(207, 125, 46, 0.36);
}

.cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding: 0 var(--space-4);
  flex-wrap: wrap;
  max-width: 1200px;
  margin-inline: auto;
}

.firstrow,
.secoundrow {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: 0;
}

.stacked {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  background: var(--surface-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  max-width: 280px;
  min-height: 300px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
}

.pro-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  transition: right 0.4s ease;
}

.pro-card:hover::before {
  right: 0;
}

.pro-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(31, 95, 156, 0.34);
  box-shadow: var(--shadow-lg);
}

.pro-card_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary-soft), var(--brand-secondary-soft));
  border: 2px solid rgba(31, 95, 156, 0.24);
  font-size: 1.8rem;
  color: var(--brand-primary);
  transition: transform 0.35s ease, background 0.35s ease;
}

.pro-card:hover .pro-card_icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--brand-secondary-soft), var(--brand-primary-soft));
  border-color: rgba(31, 95, 156, 0.4);
}

.pro-card h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin: var(--space-2) 0;
  font-family: 'Cairo', sans-serif;
}

.pro-card p {
  color: var(--color-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.pro-card .img-cards {
  display: none;
}


.img-cards {
    align-self: flex-start;
    width: 30px;
    height: 30px;
}

/* =========================
   Card Variants
========================= */
.supervisor {
  border-top: 4px solid rgba(31, 95, 156, 0.4);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}

.team-builder {
  border-top: 4px solid rgba(243, 165, 90, 0.46);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}

.team-builder2 {
  border-top: 4px solid rgba(228, 148, 70, 0.52);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}


.karma {
  border-top: 4px solid rgba(243, 165, 90, 0.72);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}


.calculator {
  border-top: 4px solid rgba(28, 167, 160, 0.58);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}
/*========================= */
.innovation {
  border-top: 4px solid rgba(31, 95, 156, 0.34);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}

.clients {
  border-top: 4px solid rgba(243, 165, 90, 0.34);
  box-shadow: 0 8px 12px rgba(31, 95, 156, 0.2);
}
/* =========================
   Responsive
========================= */
@media (max-width: 768px) {

    .cards {
        flex-direction: column;
        align-items: center;
         width: 90%
    }

    .firstrow{
       flex-direction: column;
        align-items: center;
         width: 90% ;
         gap: 20px;
         
    }
     


    .secoundrow{
      flex-direction: column;
        align-items: center;
        width: 90% ;
         gap: 20px;
    }
    .stacked {
        width: 90%;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 350px;
    }

    h1 {
        font-size: 20px;
    }

    .red {
        font-size: 20px;
    }

    p {
        font-size: 12px;
    }

    .paragraph {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 0;
    }
}
       

body {
  direction: rtl;
  text-align: right;
   font-family: 'Tajawal', sans-serif !important;
}
body {
  line-height: 1.7;
  color: var(--color-white);
  background: transparent;
  letter-spacing: 0.1px;
}
#main {
  background: var(--color-bg2);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(24, 36, 92, 0.26);
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  overflow-x: clip;
  overflow-y: hidden;
}
.container {
  width: min(var(--container-width-lg), 1280px);
  margin: 0 auto;
}
section {
  padding: var(--space-12) 0;
}
section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-family: 'Cairo', sans-serif;
}
h1 {
  font-size: 2.4rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.6rem;
}
h4 {
  font-size: 1.3rem;
}
a {
  color: var(--brand-primary-strong);
  transition: color 0.25s ease;
}
a:hover {
  color: var(--brand-secondary-strong);
}
img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.btn {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--color-black);
  padding: var(--space-3) var(--space-8);
  border: 1px solid rgba(228, 148, 70, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(228, 148, 70, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--brand-primary);
  color: #ffffff;
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: 0 14px 26px rgba(31, 95, 156, 0.3);
}

.btn-primary {
  background: var(--brand-accent);
  color: var(--color-black);
  border-color: rgba(228, 148, 70, 0.4);
  box-shadow: 0 10px 20px rgba(228, 148, 70, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-primary);
  color: #ffffff;
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: 0 14px 26px rgba(31, 95, 156, 0.3);
}

nav {
  width: 100%;
  height: 5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
  backdrop-filter: blur(10px);
  transition: background 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 1s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav_logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: var(--transition);
}

.nav_logo:hover {
  opacity: 0.85;
}

.logo_img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  object-fit: cover;
 
  background: white;
}

.nav_logo h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-primary-strong);
}
.window-scroll {
  background: rgba(255, 255, 255, 0.94);
  
  box-shadow: var(--shadow-sm);
  transition: background 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 1s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.window-scroll .nav_logo h4,
.window-scroll .nav_menu a,
.window-scroll button {
  color: var(--brand-primary-strong);
}

.window-scroll .nav_menu a:hover {
  color: var(--brand-accent-hover);
}

.window-scroll .lang-toggle:hover,
.window-scroll .lang-toggle:focus-visible {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary-strong);
}

.nav_container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav button {
  display: none;
}
.nav_menu {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
.nav_menu a {
  color: var(--brand-primary-strong);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav_menu a:hover {
  color: var(--brand-accent-strong);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 2.2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--brand-secondary-soft);
  color: var(--brand-primary-strong);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.window-scroll .lang-toggle {
  border-color: var(--border-soft);
  background: var(--brand-secondary-soft);
  color: var(--brand-primary-strong);
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary-strong);
}
header {
  position: relative;
  top: 5rem;
  overflow: hidden;
  height: auto;
  min-height: 0;
  margin-bottom: 3rem;
  padding: 2rem 0 1rem;
}
.header_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  height: auto;
}
.header_left p {
  margin: var(--space-4) 0 var(--space-10);
}

.header_right-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.header-svg {
  display: block;
  width: min(100%, 480px);
  min-width: 260px;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin-inline: auto;
  height: auto;
  filter: hue-rotate(330deg) saturate(0.9) brightness(1.05);
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .nav_menu {
  direction: ltr;
}

html[dir="ltr"] .header_container,
html[dir="ltr"] .categories_container,
html[dir="ltr"] .footer_container {
  direction: ltr;
}

html[dir="ltr"] .page-hero_container,
html[dir="ltr"] .categories_left,
html[dir="ltr"] .footer_1,
html[dir="ltr"] .footer_2,
html[dir="ltr"] .footer_4 {
  text-align: left;
}

.page-hero {
  position: relative;
  margin-top: 2rem;
  padding: var(--space-16) 0 var(--space-12);
  background:
    radial-gradient(circle at 90% 15%, rgba(31, 95, 156, 0.16), transparent 30%),
    radial-gradient(circle at 12% 78%, rgba(28, 167, 160, 0.12), transparent 32%),
    linear-gradient(135deg, #f4f8fc 0%, #ffffff 52%, #eef5fb 100%);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero_container {
  text-align: center;
  max-width: 760px;
}

.page-hero_kicker {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary-strong);
  background: var(--brand-secondary-soft);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.page-hero p {
  color: var(--color-light);
  font-size: 1.05rem;
}

.categories {
  background: linear-gradient(180deg, #f4f8fc 0%, #edf4fa 100%);
  height: 50rem;
}
.categories h1 {
  line-height: 1;
  margin-bottom: 3rem;
}
.categories_container {
  display: grid;
  grid-template-columns: 40% 60%;
  /* gap: 4rem; */
}
.categories_left {
  margin-right: 4rem;
}
.categories_left p {
  margin: 1rem 0 3rem;
}
.categories_right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.category {
  background: var(--surface-elevated);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.category:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.category:nth-child(2) .category_icon {
  background: var(--brand-secondary);
}
.category:nth-child(3) .category_icon {
  background: var(--brand-primary);
}
.category:nth-child(4) .category_icon {
  background: var(--color-warning);
}
.category:nth-child(5) .category_icon {
  background: var(--color-danger);
}
.category_icon {
  background: var(--color-primary);
  padding: 0.7rem;
  border-radius: 0.9rem;
}
.category h5 {
  margin: 2rem 0 1rem;
}
.category p {
  font-size: 0.85rem;
}

/* courses  */

.courses {
  margin-top: 1rem;
}
.courses_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}

.courses .course_image {
  height: 14rem;
  overflow: hidden;
}

.courses .course_image img {
  height: 100%;
  object-fit: cover;
}

.courses .course {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.courses .course_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.courses .course_info .btn {
  margin-top: auto;
}

.courses .course_info .btn:hover {
  transform: translateY(-2px);
  background: var(--brand-primary);
  color: #ffffff;
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: 0 14px 26px rgba(31, 95, 156, 0.3);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-light);
  font-size: 1rem;
}

.projects-section,
.services-section {
  position: relative;
  padding: 4rem 0;
}

.projects-section {
  background: var(--color-bg2);
}
.services-section {
  background: var(--color-bg2);
}


.projects-section::before {
  content: none;
}

.projects-section > .container {
  position: static;
}

.projects-section .courses_container,
.services-section .courses_container {
  align-items: stretch;
}

.project-card,
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 21.5rem;
  margin-inline: auto;
}

.projects-section .course_image,
.services-section .course_image {
  height: 12.8rem;
}

.projects-section .course_info,
.services-section .course_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  gap: var(--space-4);
  flex: 1;
  padding: 1.5rem;
}

.projects-section .course_info .btn,
.services-section .course_info .btn {
  margin-top: auto;
}

.projects-section .course {
  position: relative;
  border: 1px solid rgba(31, 95, 156, 0.24);
  border-radius: 1.75rem;
  box-shadow: 0 1.2rem 2.8rem rgba(58, 57, 57, 0.078);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.projects-section .course::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0.35rem;
  
}

.projects-section .course:hover {
   transform: translateY(-0.75rem);
  border-color: rgba(31, 95, 156, 0.34);
  box-shadow: 0 1.6rem 3.2rem rgba(31, 95, 156, 0.2);
  background-color: #f4f9fc;
}


.project-year {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(47, 57, 67, 0.9);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}




.services-section h2 {
  position: relative;
  margin-bottom: 3rem;
  color: var(--color-white);
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.services-section .courses_container {
  position: relative;
  z-index: 1;
  gap: 2.25rem;
}

.services-section .course {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 95, 156, 0.24);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1.2rem 2.8rem rgba(58, 57, 57, 0.078);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

 

.services-section .course::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0.35rem;
  
}

.services-section .course:hover {
  transform: translateY(-0.75rem);
border-color: rgba(31, 95, 156, 0.34);
  box-shadow: 0 1.6rem 3.2rem rgba(31, 95, 156, 0.2);
  background-color: #f4f9fc;
}







.services-section .course_image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.services-section .course_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
}

.services-section .course_image img {
  height: 100%;
  transition: transform 0.45s ease;
}

.services-section .course:hover .course_image img {
  transform: scale(1.06);
}

.services-section .course_info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  text-align: right;
}

.services-section .course_info h4 {
  color: var(--brand-secondary);
  font-family: 'Cairo', sans-serif;
  font-size: 1.35rem;
}

.services-section .course_info .btn {
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  box-shadow: 0 0.75rem 1.5rem rgba(228, 148, 70, 0.3);
}

.services-section .course_info .btn:hover {
  transform: translateY(-2px);
  background: var(--brand-primary);
  color: #ffffff;
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: 0 14px 26px rgba(31, 95, 156, 0.3);
}

.projects-more-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}

.btn-view-more {
  background: var(--brand-accent);
  color: var(--color-black);
  border: 1px solid rgba(243, 165, 90, 0.3);
  box-shadow: 0 8px 20px rgba(243, 165, 90, 0.2);
  margin-top: var(--space-8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-more:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: 0 12px 28px rgba(31, 95, 156, 0.3);
  transform: translateY(-3px);
}

.projects-more-page .courses_container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ourwork-page .ourwork-block + .ourwork-block {
  padding-top: 2.25rem;
}

.ourwork-page .ourwork-block .section-header {
  margin-bottom: var(--space-10);
}

.course {
  background: var(--surface-elevated);
  text-align: center;
  border: 1px solid var(--border-soft);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course:hover {
  transform: translateY(-10px);
  background: var(--surface-elevated);
  border-color: rgba(31, 95, 156, 0.3);
  box-shadow: var(--shadow-lg);
}
.course_info {
  padding: var(--space-8);
  color: var(--color-light);
}
.course_info h4 {
  color: var(--brand-secondary);
}
.course_info p {
  margin: 1.2rem 0 2rem;
  font-size: 0.9rem;
  color: var(--color-light);
}
.faqs {
  background: var(--neutral-50);
  box-shadow: inset 0 0 2rem rgba(15, 23, 42, 0.08);
}
.faqs_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.faq {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: fit-content;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.faq h4 {
  font-size: 1rem;
  line-height: 2.2;
}
.faq_icon {
  align-self: flex-start;
  font-size: 1.2rem;
}

.faq p {
  margin-top: 0.8rem;
  display: none;
}
.faq.open p {
  display: block;
}

/* testimonials */

.testimonial_container {
  background: var(--color-bg2);
  overflow-x: hidden;
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}

.testimonial {
  padding-top: 2rem;
}

.avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
 
  margin: 0 auto 1rem;
  border: 0.1rem solid var(--color-bg1);
}
.testimonial_info {
  text-align: center;
}
.testimonial_body {
  background: var(--color-primary);
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}
.testimonial_body::before {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(
    135deg,
    transparent,
    var(--color-primary),
    var(--color-primary),
    var(--color-primary)
  );
  width: 3rem;
  height: 3rem;
  left: 50%;
  transform: rotate(45deg) translateX(-50%);
  top: 0;
}

.testimonial_container .swiper-button-prev,
.testimonial_container .swiper-button-next {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 95, 156, 0.28);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  z-index: 40;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
}

.testimonial_container .swiper-button-prev:hover,
.testimonial_container .swiper-button-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.testimonial_container .swiper-button-prev::after,
.testimonial_container .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 800;
  pointer-events: none;
}

.testimonial_container .swiper-button-prev {
  right: calc(50% - 7rem);
  left: auto;
  top: auto;
  bottom: 0.2rem;
}

.testimonial_container .swiper-button-next {
  left: calc(50% - 7rem);
  right: auto;
  top: auto;
  bottom: 0.2rem;
}

.testimonial_container .swiper-pagination {
  bottom: 0.55rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 95, 156, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(31, 95, 156, 0.15);
  backdrop-filter: blur(8px);
  z-index: 30;
  pointer-events: auto;
}

.testimonial_container .swiper-pagination-bullet {
  width: 0.56rem;
  height: 0.56rem;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(31, 95, 156, 0.3);
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: width 0.32s ease, background-color 0.32s ease, transform 0.32s ease;
}

.testimonial_container .swiper-pagination-bullet-active {
  width: 1.55rem;
  background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent-strong));
  box-shadow: 0 4px 12px rgba(228, 148, 70, 0.32);
}

.end-page-action {
  padding: 0 0 var(--space-12);
}

.end-page-action .container {
  display: flex;
  justify-content: center;
}

.project-detail-section {
  margin: var(--space-12) 0;
}

.project-detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(31, 95, 156, 0.2);
  border-radius: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  box-shadow: 0 1.1rem 2.6rem rgba(31, 95, 156, 0.16);
}

.project-detail-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1rem;
  min-height: 220px;
}

.project-detail-logo {
  max-width: min(100%, 260px);
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.project-detail-content h2 {
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
}

.project-detail-list {
  display: grid;
  gap: var(--space-4);
  color: var(--neutral-900);
}

.project-detail-list li {
  position: relative;
  padding-right: 1.4rem;
  font-size: 1rem;
}

.project-detail-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f3a55a;
}

html[dir="ltr"] .project-detail-list {
  text-align: left;
}

html[dir="ltr"] .project-detail-list li {
  padding-right: 0;
  padding-left: 1.4rem;
  text-align: left;
}

html[dir="ltr"] .project-detail-list li::before {
  right: auto;
  left: 0;
}

.portfolio-gallery-section {
  padding: 0 0 var(--space-16);
}

.portfolio-slider-shell {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.portfolioSwiper {
  width: min(100%, 760px);
  padding: 0 0 4.5rem;
  overflow: visible;
  margin: 0 auto;
}

.portfolio-slide-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(31, 95, 156, 0.22);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.portfolio-slide-card img {
  width: 100%;
  height: clamp(180px, 34vw, 320px);
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
}

.portfolio-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 61, 0.08) 0%, rgba(20, 39, 61, 0.36) 100%);
  transition: background 0.35s ease;
}

.portfolio-slide-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.portfolio-slide-card:hover .portfolio-slide-overlay {
  background: linear-gradient(180deg, rgba(20, 39, 61, 0.04) 0%, rgba(20, 39, 61, 0.2) 100%);
}

.portfolioSwiper .swiper-slide {
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.74;
}

.portfolioSwiper .swiper-slide-active {
  opacity: 1;
}

.portfolioSwiper .swiper-slide-active .portfolio-slide-card,
.portfolioSwiper .swiper-slide:hover .portfolio-slide-card {
  transform: translateY(-4px);
}

.portfolio-swiper-prev,
.portfolio-swiper-next {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 95, 156, 0.28);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  z-index: 40;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
}

.portfolio-swiper-prev:hover,
.portfolio-swiper-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.portfolio-swiper-prev::after,
.portfolio-swiper-next::after {
  font-size: 1rem;
  font-weight: 800;
}

.portfolio-swiper-prev {
  left: calc(50% - 4.25rem);
  right: auto;
  top: auto;
  bottom: 0;
}

.portfolio-swiper-next {
  right: calc(50% - 4.25rem);
  left: auto;
  top: auto;
  bottom: 0;
}

html[dir="ltr"] .portfolio-swiper-prev {
  right: calc(50% - 4.25rem);
  left: auto;
}

html[dir="ltr"] .portfolio-swiper-next {
  left: calc(50% - 4.25rem);
  right: auto;
}

.portfolio-swiper-pagination {
  bottom: 0.62rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 95, 156, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(31, 95, 156, 0.15);
  backdrop-filter: blur(8px);
}

.portfolio-swiper-pagination .swiper-pagination-bullet {
  width: 0.56rem;
  height: 0.56rem;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(31, 95, 156, 0.3);
  opacity: 1;
  transition: width 0.32s ease, background-color 0.32s ease, transform 0.32s ease;
}

.portfolio-swiper-pagination .swiper-pagination-bullet-active {
  width: 1.55rem;
  background: linear-gradient(120deg, var(--brand-accent), var(--brand-accent-strong));
  box-shadow: 0 4px 12px rgba(228, 148, 70, 0.32);
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

.testimonial_container .swiper-pagination,
.portfolio-swiper-pagination,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  display: none !important;
}

/* footer */

footer {
  background: var(--neutral-100);
  padding-top: 5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
}

.footer_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
}

.footer_container > div {
  text-align: right;
}

.footer_container > div h4 {
  margin-bottom: 1.2rem;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
}

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

.footer_1 p {
  margin: 0 0 2rem;
  color: var(--color-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer_logo h4 {
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

footer ul li a {
  color: var(--color-light);
  transition: all 0.3s ease;
  display: inline-block;
}

footer ul li a:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
  transform: translateX(-4px);
}

.footer_4 > div {
  margin-bottom: 1.5rem;
}

.footer_4 > div p {
  margin: 0.5rem 0;
  color: var(--color-light);
  line-height: 1.6;
}

.footer_copyright {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: none;
}

.footer_copyright small {
  color: var(--color-light);
  font-size: 0.85rem;
}

@media screen and (min-width: 1600px) {
  section {
    padding: 2.5rem 0;
  }

  .projects-section,
  .services-section,
  .why-choose-us-section,
  .project-detail-section,
  .portfolio-gallery-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }
}

/* MEDIA QUERIES FOR TABLET */

@media screen and (max-width: 1024px) {
  .container {
    width: var(--container-width-md);
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  /* Navbar */

  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--brand-primary-strong);
    cursor: pointer;
  }

  .lang-toggle {
    order: -1;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .nav_menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav_menu li {
    width: 100%;
    height: 5.8rem;
    animation: animateNavItems 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
  }
  .nav_menu li:nth-child(2) {
    animation-delay: 0.2s;
  }
  .nav_menu li:nth-child(3) {
    animation-delay: 0.4s;
  }
  .nav_menu li:nth-child(4) {
    animation-delay: 0.6s;
  }
  @keyframes animateNavItems {
    0% {
      transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }
    100% {
      transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;
    }
  }

  .nav_menu li a {
    background: var(--color-primary);
    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav_menu li a:hover {
    background: var(--brand-accent);
    color: var(--color-black);
  }

  /* Header */

  header {
    height: auto;
    min-height: 0;
    margin-bottom: 4rem;
  }
  .header_container {
    gap: 0;
    padding-bottom: var(--space-12);
  }

  /* Category */

  .categories {
    height: fit-content;
  }
  .categories_container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .categories_left {
    margin-right: 0;
  }

  /* Popular Courses */

  .courses {
    margin-top: 0;
  }
  .courses_container {
    grid-template-columns: 1fr 1fr;
  }
  .services-section {
    padding: 4rem 0;
  }

  .services-section .courses_container {
    gap: 1.5rem;
  }

  /* FAQs */

  .faqs_container {
    grid-template-columns: 1fr;
  }
  .faq {
    padding: 1.5rem;
  }

  /* FOOTER */

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

  .page-hero {
    padding: var(--space-12) 0 var(--space-10);
  }

  .portfolio-slide-card img {
    height: clamp(170px, 32vw, 250px);
  }

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

  .why-choose-us_content {
    max-width: 100%;
  }

  .why-choose-us_media {
    order: -1;
  }

  .why-choose-us_image {
    height: clamp(280px, 48vw, 420px);
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
  }

  .firstrow,
  .secoundrow,
  .stacked {
    width: 100%;
    align-items: center;
    gap: var(--space-6);
  }

  .pro-card {
    max-width: 280px;
    width: 100%;
  }

  .project-detail-card {
    grid-template-columns: 1fr;
  }

  .project-detail-content {
    text-align: right;
  }
}



/* MEDIA QUERIES FOR MOBILE */

@media screen and (max-width: 600px) {
  body {
    padding: 0;
  }

  #main {
    border-radius: 18px;
    width: 100%;
  }

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

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

  .nav_menu {
    right: 3%;
  }
  header {
    height: auto;
    min-height: 0;
    margin-bottom: 2rem;
    padding: 1.5rem 0 0;
  }
  .header_container {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 0;
    gap: 1.5rem;
    height: auto;
  }

  .header_right-image {
    min-height: 0;
    margin-top: 0;
  }

  .header-svg {
    width: min(100%, 360px);
    min-width: 0;
  }
  .header_left p {
    margin-bottom: 1.3rem;
  }

  .categories_right {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .category {
    padding: 1rem;
    border-radius: 1rem;
  }
  .category_icon {
    margin-top: 4px;
  }

  .cards {
    flex-direction: column;
    gap: var(--space-8);
  }

  .firstrow,
  .secoundrow,
  .stacked {
    width: 100% !important;
    gap: var(--space-6);
  }

  .pro-card {
    max-width: 100%;
    width: 100%;
    min-height: 280px;
  }

  .text {
    margin-bottom: var(--space-8);
  }

  .why-choose-us-section {
    padding: 4.5rem 0;
  }

  .why-choose-us_content {
    text-align: center;
  }

  .why-choose-us_item {
    text-align: right;
  }

  .why-choose-us_icon {
    width: 1.95rem;
    height: 1.95rem;
  }

  .why-choose-us_image {
    height: 260px;
  }

  .portfolio-cta-wrap {
    margin-top: var(--space-8);
    gap: var(--space-4);
  }

  .portfolio-cta-thumb {
    width: min(320px, 92vw);
  }

  .portfolio-cta-thumb img {
    height: 145px;
  }

  .portfolio-cta {
    min-height: 50px;
    padding: 0.8rem 1.4rem;
  }

  .text h1 {
    font-size: 1.8rem;
  }

  .text .paragraph {
    font-size: 0.95rem;
  }


  .footer_container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer_1 p {
    margin: 1rem auto;
  }

  .page-hero {
    margin-top: 4.5rem;
    padding: var(--space-10) 0 var(--space-8);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .portfolioSwiper {
    padding-bottom: 4.25rem;
  }

  .portfolio-slide-card img {
    height: 170px;
  }

  .portfolio-swiper-prev,
  .portfolio-swiper-next {
    width: 2.45rem;
    height: 2.45rem;
  }

  .portfolio-swiper-prev {
    left: calc(50% - 5.8rem);
    right: auto;
  }

  .portfolio-swiper-next {
    right: calc(50% - 5.8rem);
    left: auto;
  }

  html[dir="ltr"] .portfolio-swiper-prev {
    right: calc(50% - 5.8rem);
    left: auto;
  }

  html[dir="ltr"] .portfolio-swiper-next {
    left: calc(50% - 5.8rem);
    right: auto;
  }

  .testimonial_container .swiper-button-prev,
  .testimonial_container .swiper-button-next {
    width: 2.4rem;
    height: 2.4rem;
  }

  .testimonial_container .swiper-button-prev {
    right: calc(50% - 6rem);
  }

  .testimonial_container .swiper-button-next {
    left: calc(50% - 6rem);
  }
}
