@font-face {
  font-family: 'GEDinarOne-Bold';
  src: url('fonts/GEDinarOne-Bold.woff2') format('woff2'),
       url('fonts/GEDinarOne-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  direction: rtl;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'GEDinarOne-Bold', Arial, sans-serif;
}


.ps-container {
  max-width: 1218px;
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
position: relative;
z-index: 2;
}



/* HEADER Section */
.ps-header {

  font-family: 'GEDinarOne-Bold', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  min-height: 500px;
  color: white;
  background-size: cover;
  background-position: center;
  position: relative;
}


.ps-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
  z-index: 2;
}

.ps-header-text {
  position: relative;
  z-index: 3;
  text-align: right;
}


/* Main title */
.ps-header h1 {
  font-size: 4.2em;
  margin: 0;
}

/* Subheadline */
.ps-header p {
  font-size: 1.5em;
  margin-top: 10px;
  font-weight: normal;
  background-color: #002f6c;
  color: white;
  border-radius: 30px;
  padding: 12px 24px;
  display: inline-block;
}

/* === INTRO SECTION === */


.intro-wrapper {
  background-color: #002f6c;
  width: 100%;
}


.intro {
  background-color: #002f6c;
  color: white;
  text-align: center;
  padding: 50px 0;
  margin: auto;
}

.intro p {
  margin: 0 0 20px 0;
  font-size: 1.4em;
  font-family: 'GEDinarOne-Bold', Arial, sans-serif;
  text-align: center;
  direction: rtl;
}

.intro h1 {
  text-align: center;
  direction: rtl;
  margin: 0 0 20px 0;
  font-family: 'GEDinarOne-Bold', Arial, sans-serif;
  font-size: 4em;
}

.intro-line {
  border: none;
  height: 2px;
  background-color: white;
  width: 730px;
  margin: 20px auto;
}

/* === CARDS SECTION === */
.program-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}



.ps-card {
  font-family: 'GEDinarOne-Bold', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  min-height: 500px;;
  color: white;
  background-size: cover;
/*  background-position: center;*/
  position: relative;
  padding: 30px 0;
}


.card-content {
  position: relative;
  z-index: 2;
  background-color: transparent;
  flex-grow: 1;
  text-align: right;
/*  padding: 60px 60px;*/
}

.card-content h2 {
  font-size: 4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1.2em;
  margin: 0;
  font-weight: normal;
}

.logo {
  height: 100px;
  width: auto;
  display: inline-block;

}

/* === FOOTER === */
.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 1em;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  .ps-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .ps-header-text {
    padding: 60px 20px;
    max-width: 100%;
  }

  .ps-header h1 {
    font-size: 2.4em;
  }

  .ps-header p {
    font-size: 1.2em;
    padding: 10px 18px;
    font-family: 'GEDinarOne-Bold', Arial, sans-serif;

  }

  .intro {
    font-size: 1.2em;
  }

  .intro-line {
    width: 80%;
  }


  .card-content {
    padding: 20px;
  }

  .card-content h2 {
    font-size: 1.6em;
  }

  .card-content p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .ps-header h1 {
    font-size: 1.8em;
  }

  .ps-header p {
    font-size: 1em;
    padding: 8px 16px;
  }

  .card-content h2 {
    font-size: 1.4em;
  }

  .card-content p {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .logo {
    height: 80px;
    padding: 20px;
    margin: 0 auto;
    display: block;
    margin-bottom: 16px;

  }
}