@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@font-face {
  font-family: waraich-font;
  src: url(../fonts/Century\ Gothic.ttf);
}
@font-face {
  font-family: arabic-font;
  src: url(../fonts/DroidKufi-Regular.ttf);
}
* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
  margin-top: 60px;
  font-family: waraich-font !important;
}

.navbar {
  background-color: white;
  border-bottom: 1px solid #a6b7c1;
  position: fixed;
  padding: 2px 0px;
  width: 100%;
  top: 0;
  z-index: 10;
  
}

.navbar-nav {
  display: flex;
  justify-content: flex-end;
  color: #2e5f9b;
  width: 100%;
  margin-top: 15px;
  margin-right: -105px;
}
#nav-item{
  color: #2e5f9b;
}

.navbar-brand {
  display: flex;
  align-items: flex-start;
  margin-left: -80px;
}

.navbar-brand img {
  max-width: 100%;
  height: auto;
}

.nav-link {
  color: #2e5f9b;
  font-size: 13px;
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
  position: relative;
}

.nav-link.active {
  color: #2e5f9b;
}

.nav-link.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2e5f9b;
  position: relative;
  left: 0;
  bottom: -3px;
}
.dropdown {
  position: relative;
  display: inline-block;
  margin-top: 7px;
  margin-left: 20px;
}

.dropdown-btn {
  background-color: transparent;
  color: white;
  font-size: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
}

.dropdown-btn img {
  margin-right: 10px;
  width: 20px;
}

.dropdown-content {
  display: block;
  position: absolute;
  background-color: rgba(46, 95, 155, 0.7);
  border-radius: 8px;
  margin-right: -10px;
  right: 0;
  z-index: 1;
  opacity: 0;
  max-height: 0; 
  overflow: hidden; 
  transition: opacity 0.3s ease, max-height 0.5s ease; 
}

.dropdown-content a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  margin: 5px 0px;
  transition: background-color 0.2s;
  padding: 5px 10px;
}

.dropdown-content a:hover {
  background-color: rgba(131, 154, 228, 0.2);
}

.dropdown-content img {
  margin-right: 6px;
  width: 15px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  max-height: 200px; 
}


.navbar .nav-link {
  color: #2e5f9b !important;
}

.move-to-top-btn {
  position: fixed;
  width: 50px;
  bottom: 20px;
  right: 20px;
  background-color: rgb(241, 241, 241); /* Button color */
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  font-weight:bolder;
  border: none;
  border-radius: 5%;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  outline: none; /* Remove default focus outline */
}

.move-to-top-btn:hover {
  background-color: transparent; 
  transform: scale(1.1);
}

.move-to-top-btn.show {
  opacity: 0.9;
}

.move-to-top-btn:focus {
  outline: none; 
  box-shadow: none; 
}

.info-item {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.info-item i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 10px;
}
.info-section {
  flex: 1; /* Allow the info section to take available space */
  margin-left: 200px; /* Space between logo and info section */
}
.info-container {
  display: flex; /* Create a flex container */
  justify-content: start;
  text-align: start;
  width: 100%;
  margin-top: 80px;
}
i img{
  width: 50px;
}

.hero {
  background: url('assets/images/hero-background.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 4em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.services {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.services h2 {
  margin-bottom: 40px;
  font-size: 2.5em;
  color: #333;
}

.service-grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 30px;
}

.service-item {
  background: white;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: 30%;
  text-align: center;
}

.service-item img {
  max-width: 50px;
  margin-bottom: 20px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.project-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.project-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.project-item:hover .overlay {
  opacity: 1;
}

.overlay .badge {
  background-color: #007bff;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.team {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.team h2 {
  margin-bottom: 40px;
  font-size: 2.5em;
}

.team-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.team-member {
  width: 30%;
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.number-counter {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.counter-item {
  color: #2e5f9b; 
  font-size: 13px; 
  position: relative; 
  margin-bottom: 5px;
  cursor: pointer;
  z-index: 100;
}

.counter-item::after {
  content: ""; 
  display: block; 
  width: 0%; 
  height: 1px; 
  background-color: #2e5f9b; 
  position: absolute;
  bottom: 0px; 
  left: 0;
  transition: width 0.3s ease; 
}

.counter-item.active::after {
  width: 100%; 
}

.footer {
  background-image: url('../assets/images/BACKGROUND\ FOOTER.jpg');
  color: white;
  padding: 60px 0;
  padding-left: 200px;
  padding-right: 200px;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  gap: 150px;
  font-size: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-map {
  text-align: left;
  font-size: 12px;
}

.map-image {
  width: 200px;
  height: auto;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 15px;
  width: 25px;
  height: auto;
}

.vision-logo {
  margin-top: -40px;
}

.glance-section {
  text-align: center;
  background-color: #f9fbfd;
}

.glance-title {
  font-weight: 500;
  color: #24427d;
}

.stat-number {
  font-size: 24px;
  font-weight: 600;
  color: #009fd8;
}

.stat-label {
  font-size: 14px;
  color: #6c7a89;
}

.footer-map iframe {
  width: 200px; /* Match previous image width */
  height: 112px; /* 16:9 aspect ratio for 200px width */
  border: 0;
  margin-top: 10px;
}
.social-iconsf {
  display: flex;
  justify-content: start;
  width: 26%;
  margin-top: 10px; /* Ensures it’s right below the iframe */
}

.social-iconf {
  width: 30px;
  height: 30px;
  margin: 0 5px;
}
/* Improved Login Form Styles */
.user {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.user_options-forms {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: center;
}

.forms_title {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #333;
  text-transform: uppercase;
  font-weight: 600;
}

.forms_field {
  margin-bottom: 20px;
}

.forms_field-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e8716d;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.forms_field-input:focus {
  border-color: #00aaff;
  outline: none;
}

.forms_buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.forms_buttons-action {
  background-color: #054a90;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s;
  margin: 0 auto;
  cursor: pointer;
}

.forms_buttons-action:hover {
  background-color: #007bff;
}

.separator {
  margin: 20px 0;
  color: #cccccc;
  font-size: 0.9rem;
}

.form-link {
  color: #054a90;
  text-decoration: none;
  font-weight: bold;
}

.form-link:hover {
  text-decoration: underline;
}

.error-message {
  color: #e8716d;
  font-weight: bold;
  margin-top: 10px;
}
h6, h5, h4, h3, h2, h1 {
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .navbar-brand {
    margin: 0 auto;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    margin-top: 10px;
  }

  .nav-link {
    margin: 5px 0;
    font-size: 12px;
  }

  .dropdown-content {
    right: 50%; 
    transform: translateX(50%);
  }

  .dropdown-content a {
    font-size: 12px;
    padding: 10px;
  }
}
@media (max-width: 575.98px) {
  .footer {
    padding: 15px;
    text-align: center;
  }
  .footer-container{
    display: flex;
  }
  .footer-columns {
    flex-direction: column;
    align-items: start;
    width: 30%;
    gap: 10px;
  }

  .footer-column ul {
    flex: 2;
    padding: 20;
    text-align: center;
  }

  .footer-column ul li {
    margin-bottom: 5px;
  }

  .footer-social {
    justify-content: center;
    margin: 20px 0;
  }

  .social-iconf {
    width: 20px;
    height: 20px;
  }

  .footer-map iframe {
    width: 100%;
    height: auto;
  }
  .footer-map{
    flex: 2;
  }
  .vision-logo {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .vision-logo-image {
    width: 20%;
  }
  .footer-bottom p {
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
    width: 100%; 
    margin: 0;
    margin-left: -20px;
    padding-right: 10px; 
    box-sizing: border-box;
  }
  
}

@media (max-width: 575.98px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  

  .btn-primary {
    padding: 10px 20px;
    font-size: 1em;
  }
  .poster{
    width: 100%;
    height: auto;
    background-size: cover;
  }
  .navbar{
    width: 100vw;
  }
  .navbar-brand {
    margin-left: 0;
  }
  .navbar-nav {
    margin-right: 0;
    justify-content: flex-start;
  }
}



@media (min-width: 768px) and (max-width: 992px) {
  .navbar-brand img {
    width: 80%;
  }

  .navbar-nav {
    margin-right: -50px;
  }

  .footer-container {
    flex-direction: row;
    gap: 50px;
  }

  .team-grid, .service-grid {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .team-member, .service-item {
    width: 30%;
  }

  .footer-map iframe {
    width: 250px;
  }
}

@media (min-width: 992px) {
  .navbar-brand img {
    width: 100%;
  }

  .footer-container {
    flex-direction: row;
    gap: 80px;
  }

  .footer-map iframe {
    width: 200px;
  }

  .service-grid, .team-grid {
    flex-wrap: nowrap;
  }

  .team-member, .service-item {
    width: 30%;
  }
}
