  /* Custom Font Import */
  /* تعريف الخط العادي */
  @font-face {
    font-family: "FrutigerLTArabic45Light";
    src: url("/assets/fonts/FrutigerLTArabic45Light.ttf") format("truetype");
      font-weight: 400; /* الوزن: عادي */
    font-style: normal;
  }

  /* تعريف الخط العريض */
  @font-face {
    font-family: "FrutigerLTArabic55Roman";
    src: url("/assets/fonts/FrutigerLTArabic55Roman.ttf") format("truetype");
    font-weight: 700; /* الوزن: Bold */
    font-style: normal;
  }

  /* استخدام الخط */
  body {
    font-family: FrutigerLTArabic55Roman,FrutigerLTArabic45Light;
  }

  /* CSS Variables - Color Palette */
  :root {
    --primary-darkest: rgb(80, 66, 66);
    --primary-dark: rgb(58, 58, 58);
    --primary-medium: rgb(107, 91, 91);
    --primary-light: rgb(160, 144, 144);
    --primary-lightest: #F9F4EF;
    --white: #ffffff;
    --black: #000000;
    --text-primary: var(--primary-darkest);
    --text-secondary: var(--primary-medium);
    --text-white: var(--white);
    --font-family-primary: FrutigerLTArabic55Roman, FrutigerLTArabic45Light;
  }

  /* Global Styles */
  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    font-family:var(--font-family-primary);
    color: var(--text-primary);
    background: var(--primary-lightest);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  /* Button Fill Hover Animation */
  .btn-fill-hover {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .btn-fill-hover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background: var(--primary-darkest);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
  }

  .btn-fill-hover:hover::before {
    right: 0;
  }

  .btn-fill-hover:hover {
    color: var(--white);
  }

  /* Secondary Button Fill Animation */
  .btn-fill-hover-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--text-primary);
    border-color: var(--primary-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .btn-fill-hover-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100%;
    height: 100%;
    background: var(--primary-darkest);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
  }

  .btn-fill-hover-secondary:hover::before {
    right: 0;
  }

  .btn-fill-hover-secondary:hover {
    color: var(--white);
    border-color: var(--primary-darkest);
  }

  /* NAVBAR STYLES */
  .navbar {
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5rem 0rem 0rem 0rem ;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .navbar .logo img {
    transition: transform 0.3s ease;
    width: 2.6rem;
  }

  .about-section .content img{
    width: 10rem;
    text-align: center;
  }

  .navbar .logo img:hover {
    transform: scale(1.02);
  }

  .navbar .nav-items {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
  }

  .navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .navbar .nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 900;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar .nav-link:hover {
    color: var(--primary-darkest);
  }

  .navbar .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-darkest);
  }

  .navbar .right-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
  }

  .navbar .search-button {
    background: transparent;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .navbar .search-button:hover {
    color: var(--primary-darkest);
    background-color: rgba(0, 0, 0, 0.05);
  }

  .navbar .lang-button {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #333333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .navbar .lang-button:hover {
    transform: translateY(-1px);
  }

  .navbar .mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }

  .navbar .hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    position: relative;
  }

  .navbar .hamburger span {
    background-color: #333333;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .navbar .hamburger span:nth-child(1) {
    position: absolute;
    top: 0;
  }

  .navbar .hamburger span:nth-child(2) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar .hamburger span:nth-child(3) {
    position: absolute;
    bottom: 0;
  }

  .navbar .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
  }

  .navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
  }

  /* HERO SECTION STYLES */
  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-section .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 20s ease-out;
  }

  .hero-section .hero-image:hover {
    transform: scale(1.05);
  }

  .hero-section .container {
    position: relative;
    z-index: 3;
    padding: 0 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section .hero-content {
    position: absolute;
    bottom: 200px;
    right: 150px;
    text-align: right;
    direction: rtl;
  }

  .hero-section .hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
  }

  .hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: black;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    direction: ltr;
    text-align: center;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(38, 38, 38, 0.1) 50%,
      rgba(38, 38, 38, 0.3) 100%
    );
    z-index: 2;
  }

  /* ABOUT SECTION STYLES */
  .about-section {
    background-color: var(--primary-lightest);
    padding: 6rem 0;
    direction: rtl;
  }

  .about-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .about-section .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-section .text-content {
    text-align: right;
    padding-right: 2rem;
  }

  .about-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .about-section .description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 3rem;
  }

  .about-section .description p {
    margin-bottom: 0.5rem;
  }

  .about-section .description p:last-child {
    margin-bottom: 0;
  }

  .about-section .buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
  }


  .about-section .cards-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-section .vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 400px;
  }

  .about-section .card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .about-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }

  .about-section .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--primary-lightest);
    border-radius: 50%;
    color: var(--primary-darkest);
  }

  .about-section .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 1rem;
    text-align: center;
  }

  .about-section .card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
  }



  /* PROJECTS SECTION STYLES */
  .projects-section {
    background-color: var(--primary-lightest);
    padding:0 6rem 0 0;
    direction: rtl;
  }

  .projects-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }


  .projects-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 3rem;
    text-align: right;
  }





  .projects-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 15rem;
  }

  /* Project Card Container (White background with padding) */
  .projects-section .project-card-container {
    background-color: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .projects-section .project-card-container:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
  }

  /* Project Card (Inner content) */
  .projects-section .project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }

  .projects-section .project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
  }

  .projects-section .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
  }

  .projects-section .project-card-container:hover .project-image img {
    transform: scale(1.05);
  }

  .projects-section .status-badge {
    position: absolute;
    top: 1rem;
    left: -2rem;
    padding: 0.5rem 2rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--white);
    z-index: 10;
    transform: rotate(-45deg);
    transform-origin: center;
    min-width: 150px;
    text-align: center;
  }

  .projects-section .status-badge.available {
    background-color: #ff4757;
  }

  .projects-section .status-badge.sold {
    background-color: #ff4757;
  }

  .projects-section .status-badge.under-construction {
    background-color: #3742fa;
  }

  .projects-section .project-info {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .projects-section .project-info-content {
    display: flex;
    align-items: end;
    gap: 1rem;
    width: 100%;
  }

  .projects-section .project-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-darkest);
    line-height: 1.3;
    text-align: right;
    margin: 0;
    width: 100%;
    direction: rtl;
  }

  .projects-section .project-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .projects-section .location {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: var(--primary-medium);
    font-size: 0.95rem;
    direction: rtl;
    text-align: right;
  }

  .projects-section .specs {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    direction: rtl;
    flex-wrap: wrap;
  }

  .projects-section .spec {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-medium);
    font-size: 0.9rem;
    direction: rtl;
    text-align: right;
  }

  .projects-section .details-button {
    font-family: var(--font-family-primary);
    background-color: var(--primary-darkest);
    color: var(--white);
    border: 1px solid transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
  }

  .projects-section .details-button:hover {
    transform: translateY(-2px);
    background-color:  var(  --primary-lightest);
    border: solid 2px var(--primary-darkest);
    color: var(--primary-darkest);
  }

  .projects-section .view-more-container {
    text-align: center;
  }

  .projects-section .view-more-button {
    background: transparent;
    color: var(--primary-darkest);
    border: 2px solid var(--primary-light);
    padding: 1.2rem 3rem;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
  }

  .projects-section .view-more-button:hover {
    transform: translateY(-2px);
    background-color: var(--primary-darkest);
    color: var(--white);
    border-color: var(--primary-darkest);
  }

  /* WHY DYARI SECTION STYLES */
  .why-dyari-section {
    background-color: var(--primary-lightest);
    padding:0rem 0rem 6rem 0rem;
    direction: rtl;
  }

  .why-dyari-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding:2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .why-dyari-section .header {
    text-align: right;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin: 0 auto;

  }

  .why-dyari-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
  }

  .why-dyari-section .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-medium);
    text-align: center;
  }

  .why-dyari-section .features-grid {
    display: flex;
  justify-content: center;
    gap: 3rem;
    align-items: start;
  }

  .why-dyari-section .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
  }

  .why-dyari-section .feature-card:hover {
    transform: translateY(-5px);
  }

  .why-dyari-section .feature-card:hover .icon {
    transform: scale(1.1);
  }

  .why-dyari-section .icon-container {
    margin-bottom: 1.5rem;
  }

  .why-dyari-section .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-darkest);
    transition: all 0.3s ease;
  }

  .why-dyari-section .feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .why-dyari-section .feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-darkest);
    line-height: 1.3;
    text-align: center;
  }

  .why-dyari-section .feature-subtitle {
    font-size: 0.9rem;
    color: var(--primary-medium);
    line-height: 1.4;
    text-align: center;
  }

  /* VISION MISSION SECTION STYLES */
  .vision-mission-section {
    background-color: var(--primary-lightest);
    padding: 6rem 0;
    direction: rtl;
  }

  .vision-mission-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .vision-mission-section .header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .vision-mission-section .text-wrapper {
    margin-bottom: 2rem;
  }

  .vision-mission-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 2rem;
    text-align: center;
  }

  .vision-mission-section .description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--primary-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .vision-mission-section .description p {
    margin-bottom: 0.5rem;
  }







  .vision-mission-section .cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: end;
  }

  .vision-mission-section .card {
    /* background: var(--white); */
    padding: 2.5rem;
    /* border-radius: 12px; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }

  /* .vision-mission-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  } */

  .vision-mission-section .card-content {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .vision-mission-section .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50%;
    color: var(--primary-darkest);
  }

  .vision-mission-section .card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-darkest);
    text-align: center;
  }

  .vision-mission-section .card-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-medium);
    text-align: center;
    direction: rtl;
  }

  /* VALUES SECTION STYLES */
  .values-section {
    background-color: var(--primary-lightest);
    padding: 6rem 0;
    direction: rtl;
  }

  .values-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .values-section .header {
    text-align: right;
    margin-bottom: 4rem;
    max-width: 1000px;
  }

  .values-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .values-section .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-medium);
    text-align: justify;
  }

  .values-section .values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .values-section .value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: transparent;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
  }

  .values-section .value-card:hover {
    transform: translateY(-5px);
  }

  .values-section .value-card:hover .value-icon {
    transform: scale(1.1);
  }

  .values-section .value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-darkest);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
  }

  .values-section .value-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
  }

  .values-section .value-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-darkest);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .values-section .value-description {
    font-size: 0.9rem;
    color: var(--primary-medium);
    line-height: 1.4;
    text-align: center;
  }

  /* CORE VALUES SECTION STYLES (Dark Background) */
  .core-values-section {
    background-color: var(--primary-darkest);
    background-image: 
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      );
    padding: 6rem 0;
    direction: rtl;
  }

  .core-values-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .core-values-section .header {
    text-align: right;
    margin-bottom: 4rem;
  }

  .core-values-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
  }

  .core-value-icon{
    max-width: 5rem;
    filter:  brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(30deg) brightness(102%) contrast(103%);

  }

  .core-values-section .core-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    align-items: start;
  }

  .core-values-section .core-value-card {
    text-align: center;
    background: transparent;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
  }

  .core-values-section .core-value-card:hover {
    transform: translateY(-5px);
  }

  .core-values-section .core-value-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--white);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1rem;
  }

  .core-values-section .core-value-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
  }

  /* REGISTRATION FORM SECTION STYLES */
  .registration-form-section {
    background-color: var(--primary-lightest);
    padding:0 0 6rem  0;
    direction: rtl;
  }

  .registration-form-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .registration-form-section .header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .registration-form-section .title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-darkest);
  }

  .registration-form-section .form-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Main Form Row - 4 columns: Name, Phone, Email, Submit Button */
  .registration-form-section .form-row-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 2rem;
  }

  /* Secondary Form Row - 2 columns: Project Selection and Message */
  .registration-form-section .form-row-secondary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: start;
  }

  .registration-form-section .form-group {
    margin-bottom: 0;
  }

  .registration-form-section .input,
  .registration-form-section .select-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family-primary);
    background-color: var(--white);
    transition: border-color 0.3s ease;
    text-align: right;
    direction: rtl;
  }

  .registration-form-section .textarea-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family-primary);
    background-color: var(--white);
    transition: border-color 0.3s ease;
    text-align: right;
    direction: rtl;
    resize: vertical;
    min-height: 120px;
  }

  .registration-form-section .input:focus,
  .registration-form-section .select-input:focus,
  .registration-form-section .textarea-input:focus {
    outline: none;
    border-color: var(--primary-darkest);
  }

  .registration-form-section .phone-input-container {
    display: flex;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    direction: ltr;
  }

  .registration-form-section .phone-input-container:focus-within {
    border-color: var(--primary-darkest);
  }

  .registration-form-section .country-code {
    background-color: var(--primary-lightest);
    padding: 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-darkest);
    border-left: 1px solid var(--primary-light);
    white-space: nowrap;
  }

  .registration-form-section .phone-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    font-family: var(--font-family-primary);
    background-color: var(--white);
    text-align: right;
    direction: rtl;
  }

  .registration-form-section .phone-input:focus {
    outline: none;
  }

  .registration-form-section .submit-button {
    background-color: var(--primary-darkest);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: fit-content;
  }

  .registration-form-section .submit-button:hover {
    background-color: var(--primary-medium);
    transform: translateY(-2px);
  }


  /* FOOTER STYLES */
  .footer {
    background-color:#3a271c;
    background-image: 
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
      );
    padding: 3rem 0 2rem;
    direction: rtl;
  }

  .footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .footer .footer-content {
    display: flex;
    align-items: center;
    justify-content:space-around;
  }

  .footer .left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  .footer .fal-number {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
  }



  .footer .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:0.2rem;
    text-align: center;
  }

  .footer .section-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .footer .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
  }

  .footer .footer-link {
    color: var(--primary-lightest);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
  }

  .footer .dyari-logo img{
    width: 18rem;
  }

  /* ANIMATIONS */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in-up {
    animation: fadeInUp 0.8s ease-out;
  }

  .rahb-logo{
    padding: 1.6rem 0 0 0;
    max-width: 6rem;
  }

  /* RESPONSIVE DESIGN */
  @media (max-width: 1024px) {
    .navbar .nav-items {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: var(--white);
      flex-direction: column;
      justify-content: center;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      z-index: 999;
    }

    .navbar .nav-items.mobile-open {
      transform: translateX(0);
    }

    .navbar .nav-links {
      flex-direction: column;
      gap: 2rem;
    }

    .navbar .nav-link {
      font-size: 1.2rem;
      padding: 0.5rem 0;
    }

    .navbar .mobile-menu-button {
      display: block;
    }

    .navbar .container {
      justify-content: space-between;
    }

    .navbar .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .about-section .content {
      grid-template-columns: 1fr;
      gap: 3rem;
      text-align: center;
    }

    .about-section .text-content {
      order: 2;
      text-align: center;
      padding-right: 0;
    }

    .about-section .cards-section {
      order: 1;
    }

    .about-section .vision-mission-cards {
      flex-direction: row;
      gap: 1.5rem;
      max-width: none;
    }

    .about-section .card {
      flex: 1;
      padding: 1.5rem;
    }

    .projects-section .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 1.5rem;
    }

    .projects-section .header {
      flex-direction: column;
      gap: 1rem;
    }

    .why-dyari-section .features-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .why-dyari-section .header {
      text-align: center;
    }

    .why-dyari-section .description {
      text-align: center;
    }

    .values-section .values-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .values-section .header {
      text-align: center;
    }

    .values-section .description {
      text-align: center;
    }

    .core-values-section .core-values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem;
    }

    .core-values-section .header {
      text-align: center;
    }

    .registration-form-section .form-row-main {
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .registration-form-section .form-row-secondary {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }


    .footer .left-section {
      order: 3;
    }

    .footer .middle-sections {
      order: 2;
    }

    .footer .right-section {
      order: 1;
    }

    .vision-mission-section .cards-container {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .navbar {
      padding: 0.75rem 0;
    }

    .navbar .container {
      padding: 0 1rem;
    }

    .navbar .logo img {
      width: 40px ;
      height: auto ;
    }

    .navbar .nav-link {
      font-size: 1.1rem;
    }

    .navbar .lang-button {
      padding: 0.4rem 0.8rem;
      font-size: 1.5rem;
    }

    .hero-section {
      height: 70vh;
    }

    .hero-section .hero-title {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .hero-section .hero-subtitle {
      font-size: 1rem;
      line-height: 1.4;
    }

    .about-section {
      padding: 3rem 0;
    }

    .about-section .container {
      padding: 0 1rem;
    }

    .about-section .content {
      gap: 2rem;
    }

    .about-section .title {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .about-section .description {
      font-size: 1rem;
      margin-bottom: 2rem;
      line-height: 1.6;
    }

    .about-section .buttons {
      flex-direction: column;
      gap: 1rem;
      width: 100%;
    }



    .about-section .vision-mission-cards {
      flex-direction: column;
      gap: 1.5rem;
    }

    .about-section .card {
      padding: 1.5rem;
    }

    .about-section .card-title {
      font-size: 1.3rem;
    }

    .about-section .card-description {
      font-size: 0.9rem;
    }

    .projects-section .projects-grid {
      grid-template-columns: 1fr;
    }

    .why-dyari-section .features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .values-section .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .core-values-section .core-values-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .footer .container {
      padding: 0 1rem;
    }

    .footer .middle-sections {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .registration-form-section .form-row-main {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .registration-form-section .form-row-secondary {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .registration-form-section .phone-input-container {
      direction: ltr;
    }

    .registration-form-section .submit-button {
      width: 100%;
    }

    .vision-mission-section .cards-container {
      grid-template-columns: 1fr;
    }

    .vision-mission-section .card {
      padding: 2rem;
    }

    .projects-section .projects-grid{
      padding: 0;
    }
  }

  @media (max-width: 480px) {
  .rahb-logo{
    padding: 0.5rem 0 0 0;
    max-width: 4rem;
  }
  .projects-section .details-button{
      font-size: 1.5rem;
      padding: 0.6rem 0.6rem;
    }

    .projects-section .location{
      font-size: 0.8rem;
    }
  .projects-section .spec{
      font-size: 0.6rem;
    }
    .projects-section .specs{
      flex-wrap: nowrap;
    }

    .project-title{
      font-size: 1rem;
    }

    .project-details{
      flex-direction: row;
    }
    .projects-section .project-details {
      gap: 0.2rem;
    }

    .projects-section .specs {
      gap: 0.5rem;
    }

    .projects-section .project-info-content {
      gap: 0.8rem;
    }
    .projects-section .location{
      justify-content: center;
      align-items: center;
    }

    .projects-section .projects-grid{
      padding: 0;
    }

    .about-section .content img{
      width: 7rem;
      margin: 0;
      padding: 0;
    }

    .about-section .content{
      gap:1rem
    }
  .projects-section{
  margin: 0;
  padding: 0;
  }

  .projects-section .details-button{
    font-size: 1rem;
    padding: 0.8rem 0rem;
  }

  .projects-section .view-more-button{
    font-size:1.3rem;
    margin-bottom: 4.8rem;
  }

  .projects-section .title{
    margin-bottom: 1.6rem;
  }


    .hero-section .hero-title {
      font-size: 2rem;
    }

    .hero-section .hero-content{
      bottom: 50px;
      right: 30px;
    }

    .hero-section .hero-subtitle {
      font-size: 0.9rem;
    }

    .hero-subtitle{
      padding-left: 20px;
    }

    .about-section .title {
      font-size: 2.5rem;
      text-align: right;
    }

    .about-section .description {
      text-align: right;
    }


    .navbar .logo{
      width: 0.5rem;
    }


    /* .card-content{
      flex-direction: column;
      justify-content: center;
    } */

    .projects-section .title,
    .why-dyari-section .title,
    .vision-mission-section .title,
    .registration-form-section .title {
      font-size: 2rem;
    }

    .why-dyari-section .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      max-width: 350px;
      margin: 0 auto;
    }


    .values-section .values-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      max-width: 350px;
      margin: 0 auto;
    }

    

    .core-values-section .core-values-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      max-width: 400px;
      margin: 0 auto;
    }

    .about-section .description, .about-section .title{
      text-align: center;
    }

    .features-grid{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;  
      justify-items: center;
    }

    

    .footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:30rem;
    flex-direction: column;
    padding: 0 10rem;
    
  }

    .footer .middle-sections {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .footer .footer-content{
      display: flex;
      gap: 3rem;
    }
  .footer .dyari-logo img{
    width: 12rem;
  }

  .footer .footer-section{
    max-width: 30rem;
  }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    .hero-section .hero-image:hover {
      transform: none;
    }
  }

  /* High DPI displays */
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar .logo img,
    .navbar .search-button svg {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }


  /* --------------------- */

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* الافتراضي: يغطي كامل الشاشة */
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero img.active {
  opacity: 1;
}

/* Gradient overlay from middle down */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  pointer-events: none;
}

/* Small screens (Mobiles): خلي الارتفاع نصف الشاشة + شوي */
@media (max-width: 640px) {
  .hero {
    height:75vh; /* نصف الشاشة وأكثر شوي */
  }
}


.copyright{
  margin-top: 1.6rem;
  text-align: center;
  color: #f8e5db;

}

@media (max-width: 480px) {
  .copyright{
    font-size: 0.8rem;
  }
}
