
/*=============== 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 ==========*/
  --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;
}
html, body {
  height: 100%;
}



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;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.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; 
  width: 100% !important;
}

.lang a{
  border: 1px solid rgba(255, 255, 255, 0.212);
  padding: 3px 7px;

}
.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-logo img {
  height: 60px;
}

.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;
}

/*________________________Navbar Ends _____________________________________________*/

/*______________________ Hero section ________________________________________________________*/ 

.investment-opportunities-page .hero {
  padding: 1rem 0;
  width: 90% !important; 
}

/*________________الفرص الاستثمارية _____________________________________*/
.inv-opps-section {
  width: 90% !important;
  border-radius: 10px;
  margin: 0rem auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)
    border: 1px solid rgb(223, 222, 222);
*/
}
.inv-opps-filters{
  background-color: #f5f5f5;
  border-radius: 10px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 

}
input,
textarea{
  outline: none;
  box-shadow: 0 0 5px rgba(243, 243, 243, 0.5) !important; 
  border: 1px solid rgb(230, 224, 224) !important; 
}
input:focus, 
textarea:focus, 
button:focus, 
select:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(239, 239, 240, 0.5) !important; 
  border: 1px solid rgb(174, 173, 173) !important; 
}

.search-btn {
  background-color: var(--blue) !important;
  border: none;
  color: white !important;
}

.search-btn:hover {
  background-color: var(--light-blue) !important;
}

/*cards row*/
.investment-opportunities-page .cards-row{
  border: 1px solid rgb(223, 222, 222); 

}

.inv-opportunity-card{
  border: 1px solid #ddd;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  height: 350px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease; 
  max-width: 280px !important;
  width: 100%;
  text-decoration: none !important;
  overflow: hidden;
}

.inv-opportunity-card .card-body {
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}


.investment-opportunities-page .inv-opportunity-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.inv-opportunity-card .card-text {
  font-size: 0.8rem;
  white-space: normal; 
  display: block;
  max-width: 100%;
  color: rgb(45, 44, 44);
  margin-bottom: 0.5rem;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.inv-opps-section .row {
  width: 100%;
  justify-content: center;
  gap: 1rem;
}
.inv-opps-tag-card{
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem ;
  margin-top: auto; 
  gap: 0.5rem;
}
.inv-opps-tag-card span{
  border-radius: 4px;
  padding: 4px 8px;
}
.investment-type-tag{
  background: var(--light-green);
  color: white !important;
}
.investment-place-tag{
  background: var(--light-blue);
  color: white !important;
}

/* 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;
  }




/*_________________________ inv-opportunity-detail-page ___________________________________*/

.inv-opportunity-detail-page .page-container {
  max-width: 1500px !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
} 
.inv-opportunity-detail-page .card-header .nav{
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inv-opportunity-detail-page .header-section {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.inv-opportunity-detail-page .header-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.inv-opportunity-detail-page .img-container{
  border-left:2px solid rgb(235, 233, 233);
}
.inv-opportunity-detail-page .description  {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.inv-opportunity-detail-page .description h1 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}
.inv-opportunity-detail-page .description p {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}
.inv-opportunity-detail-page .tags span {
  color: #ffffff;
  border-radius: 5px;
  padding: 5px 10px;
  margin-right: 5px;
  font-size: 14px;
}
.inv-opportunity-detail-page .tags .opp-palce{
  background: var(--light-blue) !important;
}
.inv-opportunity-detail-page .tags .opp-type{
  background: var(--light-green) !important;
}


.inv-opportunity-detail-page .card-body{
  min-height: 270px;
}
.inv-opportunity-detail-page .card {
  width: 100%;
  margin-top: 20px; 
  padding: 20px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px; 
}

.inv-opportunity-detail-page .card-header {
  background-color: #ffffff;
}

.inv-opportunity-detail-page .nav-tabs .nav-link {
  border: none;
  color: #9b9b9b !important;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent !important;
}

.inv-opportunity-detail-page .nav-tabs .nav-link.active {
  color: var(--blue) !important;
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important; 
}

.inv-opportunity-detail-page .nav-tabs .nav-link:focus {
  outline: none !important; 
  box-shadow: none !important; 
  background-color: transparent !important; 
  border: none !important;

}


.tab-content {
  padding: 20px;
}

.table {
  margin-top: 20px;
}

.table th,
.table td {
  font-size: 14px;
  color: #555;
  padding: 10px;
  vertical-align: middle;
}

.table th {
  background-color: #f8f9fa;
}

.inv-opportunity-detail-page  strong{
  color: var(--blue);
}

.inv-opportunity-detail-page .project-details .text-info, .opp-details-location{
  color: #555 !important;
}
.inv-opportunity-detail-page .opp-location-btn{
  background-color: var(--blue);
  color: white;
}
.inv-opportunity-detail-page ol li{
  line-height: 2.5rem;
}


/*____________________________ government competitions _______________________________*/
.gov-comp-section{
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}
.gov-comp-section .card {
  border: 1px solid #ddd;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  height: 350px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  transition: transform 0.3s ease; 
  max-width: 280px;
  width: 100%;
  text-decoration: none !important;
  padding: 0 !important;

}

.gov-comp-section .card-img-top {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: block; 
}

.gov-comp-section .card-body {
  flex-grow: 1;
  padding: 10px; 
  text-align: center;
  overflow: hidden; 
}


.gov-comp-section .card-text {
  font-size: 0.9rem;
  overflow: hidden;
  max-height: 4rem; 
  white-space: normal; 
  margin-bottom: 2rem;
  text-overflow: ellipsis !important; 
  display: block;
  max-width: 100%;
  color: rgb(45, 44, 44);
}
.gov-comp-page .text-muted{
  background-color: #f8f9fa; 
  text-align: center;
  font-size: 0.9rem;
  padding: 8px;
  color: #666;
  border-top: 1px solid #ddd;
}
.govcomp-info{
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  justify-content: space-between;
  gap: 1.3rem;
}
.govcomp-details-page strong{
  color: var(--light-blue);
}
/*____________________ Contact  _______________________________________________*/
.form-page form{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.form-page .card{
  border-radius: 10px;
  background-color: #fff;
}

.form-page img{
    max-width: 100%;
    height: auto;
}
.form-page  label{
  color:#6f6d6d !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}
.form-page .send-btn{
  background: var(--blue);
  color: white !important;
  transition: 0.3s;
}
.form-page .send-btn:hover{
  background: var(--light-blue);
  color: white !important;
}

::placeholder {
  color: #b0b0b0 !important; 
  opacity: 1; 
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
}
.add-new-inv-opp-page small{
  color: #d0cdcd !important;
}
/*________________________ licenses __________________________________________________*/
.licenses-section .cards-section {
  margin: 2rem auto;
  text-align: center;
  padding: 2rem 1rem;
}

.licenses-section .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* Cards Grid */
.licenses-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0rem;
  justify-items: center;
}

/* Card Styling */
.licenses-section .card {
  width: 300px; 
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.licenses-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.licenses-section .card-image {
  width: 100%; 
  height: 150px;
  object-fit: cover; 
}

/* Content Styling */
.licenses-section .card-title {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  font-weight: bold;
  color: #333;
}

.licenses-section .card-description {
  font-size: 0.9rem;
  margin: 0 1rem 1rem;
  color: #666;
}

.licenses-section .card-link {
  font-size: 1rem;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background-color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.licenses-section .card-link:hover {
  background-color: var(--blue);
  color: #fff;
}


/*_____________________________ Footer ______________________________________________*/
footer{
  position: relative;
  bottom: 0 !important;
  margin-top: 8rem !important;
  text-decoration: none !important;
 }
 .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;

 }
 
html[dir="rtl"] .footer-top {
  text-align: start; 
}

html[dir="ltr"] .footer-top {
  text-align: start; 
}


.modal-header h2{
  color: var(--green);
}
/*______________________________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;
      }
      .form-page img{
        max-width: 40%;
        height: auto;
    }
    }
    
    @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;
      }
    }
  