
/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.8rem;
  --blue:#066D97;
  --light-blue: #6AA9BF;
  --green:#0A8B58;
  --light-green:#6CB99D;
  --brown:#9F713E;
  --light-brown:#C5AA8B;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif !important;
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
html, body {
  height: 100% !important;
}

ul {
  list-style: none;
}

a {
  text-decoration: none !important;
}
.go-back a{
  color:#737373 !important;
}
.go-back i{
  color:#737373 !important;
}

.container {
  max-width: 1520px !important;
  margin-inline: 1.5rem;
}


hr {
  border: 0;
  height: 3px !important; 
  background: linear-gradient(to right, #FFFFFF 0%, var(--green) 50%, var(--green) 50%, #FFFFFF 100%);
  border-radius: 6px; 
  margin: 1rem 0 !important; 
}
a:focus {
  outline: none !important; 
  box-shadow: none !important; 
  background-color: transparent !important; 
  border: none !important;

}
.ltr-content {
  text-align: left;
  direction: ltr;
}

.lang2 a{
  border: 1px solid rgba(255, 255, 255, 0.212);
  padding: 3px 7px;
  border-radius: 4px;
}

.page-title{
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--blue);
 
}
main {
  margin-top:180px ;
  flex: 1;
}


/*___________________________ HEADER & NAV _____________________*/
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(45deg, #6AA8BF, #6CB7A0, #C1AB8C);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: calc(var(--header-height) + 4rem);

}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  top: -1rem;
}

.nav a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.nav-logo img {
  height: 180px !important;
  object-fit: contain;
  position: relative;
  top: -1rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link i {
  font-size: 1rem !important;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  color: rgb(255, 255, 255) !important;
}

.nav-link span {
  position: relative;
  transition: margin 0.4s;
  font-size: 1rem !important;
}

.nav-link span::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #87d3ef;
  transition: width 0.4s ease-out;
}

/* Hover effects RTL & LTR */
html[dir="rtl"] .nav-link:hover span {
  margin-right: 2.5rem;
  margin-left: 0;
}

html[dir="ltr"] .nav-link:hover span {
  margin-left: 2.5rem !important;
  margin-right: 0 !important;
}


html[dir="rtl"] .nav-link span::after {
  right: 0;
  left: auto;
}

html[dir="ltr"] .nav-link span::after {
  left: 0;
  right: auto;
}

.nav-link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav-link:hover span::after {
  width: 100%;
}

.nav-list:has(.nav-link:hover) .nav-link:not(:hover) {
  opacity: 0.4;
}

.dropdown-menu {
  position: relative;
  z-index: 1050;
  background-color: var(--white-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: right !important;
}

.dropdown-menu a {
  color: var(--blue) !important;
  padding: 5px 8px;
}

/*========== Media for Mobile Nav ==========*/
@media screen and (max-width: 1352px) {
  .nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 0.2rem;
  }
  .nav-logo img {
    height: 180px;
    object-fit: contain;
    position: relative;
    top: -2.3rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--blue);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    transition: 0.4s ease-in-out;
    padding: 5rem 2rem !important;
  }

  .nav-menu {
    right: -100%;
    left: auto;
  }

  html[dir="ltr"] .nav-menu {
    left: -100%;
    right: auto;
  }

  .show-menu {
    right: 0;
    left: auto;
  }

  html[dir="ltr"] .show-menu {
    left: 0;
    right: auto;
  }

  .nav-link span {
    color: rgb(255, 255, 255) !important;
    font-weight: bold;
    font-size: 1.4rem;
  }

  .nav-item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform 0.4s ease-out, visibility 0.4s;
  }

  .show-menu .nav-item {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-item:nth-child(5) {
    transition-delay: 0.5s;
  }

  .dropdown-menu {
    top: 100%;
    background-color: var(--white-color) !important;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .dropdown-menu {
    top: 100%;
    background-color: var(--white-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  html[dir="rtl"] .dropdown-menu {
    right: 70% !important;
    left: auto !important;
    text-align: right !important;
  }

  html[dir="ltr"] .dropdown-menu {
    left: 70% !important;
    right: auto !important;
    text-align: left !important;
  }

}
/*=================== Menu Toggle Buttons ===================*/
.nav-btn-link {
  color: var(--white-color);
  padding: 10px 38px;
  border-radius: 8px;
  background: linear-gradient(45deg, #066D97, #059f7b, #ac773c);
  text-decoration: none;
  transition: 0.5s !important;
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-btn-link:hover {
  color: white;
  background: linear-gradient(45deg, #065d80, #0A8B58, #6CB99D);
}

.nav-toggle,
.nav-close {
  display: flex;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 2rem;
}

/* RTL: menu button on left */
html[dir="rtl"] .nav-toggle,
html[dir="rtl"] .nav-close {
  left: 2rem;
  right: auto;
}

/* LTR: menu button on right */
html[dir="ltr"] .nav-toggle,
html[dir="ltr"] .nav-close {
  right: 2rem;
  left: auto;
}

.nav-close.hide,
.nav-toggle.hide {
  display: none !important;
}

  
/*________________________Pagination____________________________________*/

/* General pagination styles */
/* General pagination styles */
.pagination {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  gap: 1.1rem;
}

.pagination .page-link {
  border: none;
  padding: 0;
  transition: all 0.3s ease;
  color: gray;
  text-align: center;
  background: none !important;
}


.pagination .page-link:hover {
  color: var(--light-green);
}

/* Active state */
.pagination .page-item.active .page-link {
 color: var(--green);

}

/* Disabled state */
.pagination .page-item.disabled .page-link {
  color: #aaa;
}

/* Focus state */
.pagination .page-link:focus {
  outline: none;
  box-shadow: none;
}

  /* LTR-specific styles */
  body[dir="ltr"] .pagination {
    direction: ltr;
  }

  /* RTL-specific styles */
  body[dir="rtl"] .pagination {
    direction: rtl;
  }

/*____________________________________________________________________*/

h2{
   margin-top: 2rem !important;
   margin-bottom: 5rem !important;
}

.media-page .card {
  display: flex;
  flex-direction: row;
  max-width: 60em !important; 
  margin: auto;
  overflow: hidden;
  max-width: 30em;
  margin-bottom: 1.3rem;
}

.media-page .card img {
  max-width: 25% !important;
  margin: auto;
  padding: 0.8rem;
  border-radius:12px !important;
}

.media-page .card-body{
  display: flex;
  justify-content: space-between !important;
  
}

.media-page .text-section{
  max-width: 60% !important;
}
.media-page .card-text {
    display: block;
    overflow: hidden; 
    max-height: 4.5em; 
    line-height: 1.5; 
    text-overflow: ellipsis; 
    white-space: normal; 
    margin-top: 10px !important;
    color: gray;
}

.media-date{
    color: rgb(171, 171, 171);
}
.cta-section{
  max-width: 40% !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cta-section .btn{
    padding: 0.3em 0.5em;
  background: var(--blue);
  color: white !important;
  transition: 0.3s;
}
.cta-section .btn:hover{
    background: white;
    color: var(--blue)!important;
 }
@media screen and (max-width:475px){
  .media-page .card{
    font-size: 0.9em;
  }
}
/*_________________________________________________________*/
      /* Custom CSS */
      .content-box {
        max-width: 1200px;
        margin: 2rem auto;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
    }

    .img-container{
      background: #ffffff;
      width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      padding: 2rem 0;
      border-bottom: 1px solid rgb(237, 237, 237);
    }
    .content-box  .img-container img {
        width: 100%;
        height: auto;
        display: block;
        max-width:450px ;
        border-radius: 12px;
  
    }
    .content-box .details {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    .content-box .details .date {
        font-size: 0.9rem;
        color: #777;
        margin-bottom: 0.5rem;
    }
    .content-box .details .title {
        font-size: 1.6rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .content-box .details .paragraph {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #333;
    }
/*_____________________________ Footer ______________________________________________*/
footer{
  position: relative;
  bottom: 0 !important;
  margin-top: 8rem !important;
  text-decoration: none !important;
  flex-shrink: 0;
 }
 .developed_by img{
  height: 45px;
  box-sizing: content-box;
  margin-top: 0.5rem;
}
 footer a{
  color: var(--light-brown);
  text-decoration: none !important;
  transition: 0.4s;
 }
 footer a:hover{
  color: var(--light-brown);
 }
 .main-footer {
   background-color: #333;
   color: #fff;
   padding: 20px;
   margin-top: auto; 
 }
 
 .footer-title {
   font-size: 18px;
   font-weight: bold;
   color: var(--light-brown);
 }
 
 .footer-description {
   font-size: 12px;
 }
 
 .footer-divider {
   margin: 15px 0;
   border: 0;
   height: 1px;
   background: #555;
 }
 
 .footer-bottom {
   display: flex;
   justify-content: space-between;
   font-size: 14px;
 }
 
 footer .social i{
  padding: 8px;
  border-radius: 8px ;
  font-size: 1.2rem !important;
  background: var(--light-brown);
  color: #333 !important;
  transition: 0.3s;
 }
 footer .social i:hover{
  background: white;

 }
 

/*______________________________BREAKPOINTS_______________________________________________ */
/* Navbar For large devices */
@media screen and (min-width: 1350px) {
    .container {
      margin-inline: auto;
    }
  
    .header .nav {
      height: calc(var(--header-height) + 2rem);
    }
  
    .header .nav-toggle, 
    .header .nav-close {
      display: none;
    }
  
    .header .nav-link {
      font-size: var(--normal-font-size);
    }
  
    .header .nav-link i {
      font-size: 1.5rem;
    }
  
    .header .nav-list {
      flex-direction: row;
      column-gap: 3.5rem;
    }
  
    .header .nav-menu {
      display: flex;
      align-items: center;
      column-gap: 3.5rem;
    }
  }
  @media screen and (max-width: 768px) {
    .header .nav {
          padding: 0 1rem !important; 
      }
      .header .dropdown-menu {
          position: relative; 
          top: 0;
          right: 0;
          padding: 0;
          background: transparent; 
          box-shadow: none;
      }
      .header .dropdown-link {
          padding: 0.5rem 1rem !important; 
      }
      .footer-top {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 1.5rem;
      }
    
      .footer-top .col-lg-4,
      .footer-top .developed_by {
        width: 100%;
      }
    
      .developed_by img {
        margin: 0.5rem 0;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: center;
      }
    
      .footer-column {
        flex: unset; 
        margin-bottom: 10px;
      }
    
      .footer-divider {
        margin: 10px 0;
      }
      .inv-opportunity-detail-page .card-header .nav{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-around;
      }
  
    }
    
    @media (max-width: 576px) {
      .footer-title {
        font-size: 16px;
      }
    
      .footer-description {
        font-size: 12px;
      }
    
      .footer-column a {
        font-size: 12px;
      }
    
      .footer-column.social a {
        font-size: 16px;
      }
    }

  /*Responsive typography */
  @media screen and (min-width: 1150px) {
      :root {
        --normal-font-size: 1rem;
      }
    }
  