html {
  scroll-behavior: smooth;
}

body {
  min-height: 99vh;
  margin: 0;
  font-family: "Century Gothic", sans-serif;
  background-color: black;
  color: white;
}

/* Home Page */
.section-left {
  height: 99vh;
  padding: 0 0 25px;
}

.section-left .logo {
  width:230px;
}

.description {
  padding: 0 20px;
}

.description .title {
  text-align: start;
  margin-bottom: 30px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.599);
}

.description p {
  text-align: start;
}

.social-icons i {
  color: white;
  font-size: 22px;
}

.section-right {
  min-height: 99vh;
  padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
  text-transform: uppercase;
    font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: red;
    font-weight: 800;

}

.navbar {
  border-bottom: 2px solid red;
  background-color: black;
  position: sticky;
  top: 0;
  z-index: 1030;
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 12px;
}

.navbar .logo-img {
  display: none;
}

.navbar-nav {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  column-gap: 15px;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  z-index: 1050;
}

#carouselExampleIndicators {
  height: calc(99vh - 104px);
  padding: 0 5px;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
  height: 100%;
}

/* About Us Section */
.about-section {
  display: flex;
  flex-direction: column;
}

.profile-section {
  min-height: calc(99vh - 104px) !important;
  flex: 1;
  padding: 0 5px;
}

.profile-img {
  flex: 1;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-description {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  row-gap: 50px;
}

.profile-description p {
  margin: 0;
}

.short-description {
  margin-top: 20px;
}

.sponsors-section {
  margin: 30px 0;
  padding: 0 5px;
}

.sponsors-content {
  background-color: white;
  padding: 20px;
}

.sponsors-content h5 {
  color: black;
  margin-bottom: 20px;
}

.sponsors {
  column-gap: 20px;
  row-gap: 40px;
  justify-content: center;
}

.sponsor-img {
  width: 100px;
  height: auto;
  margin: 10px;
}

/* Projects Section */
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 20px;
}

.project-item {
  transition: transform 0.3s;
}

.project-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.project-title {
  margin: 10px 0 0;
  font-size: 18px;
  color: white;
}

.project-description {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

/* Pagination styles */
.pagination {
  margin-top: 25px;
  gap: 15px;
}

.pagination .page-item .page-link {
  color: red;
}

.pagination .page-item .page-link:hover {
  color: darkred;
}



.project-item[data-page="1"] {
  display: block;
}

@media (max-width: 767.98px) {
  .pagination {
    flex-wrap: wrap;
  }

  .pagination .page-item {
    margin: 2px;
  }
}

/* Single Project Section */
.single-project .imgs-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 20px;
}

.imgs-container .img-container .proj-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
}

/* Popup styling */
.image-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.image-popup .popup-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 70vh;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.image-popup .close-popup {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.image-popup .close-popup:hover,
.image-popup .close-popup:focus {
  color: #d12525;
  text-decoration: none;
  cursor: pointer;
}

/* News Section */
.news-section {
  padding: 0 16px;
}

.news-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.news-section .short-desc {
  font-size: 1rem;
}

.news-section .long-desc {
  font-size: 0.875rem;
  margin-bottom: 0.7rem;
}

.news-section img {
  width: 100%;
  height: auto;
}

/* Careers Section */
.careers-section {
  padding: 0 20px;
}

.job-row {
  padding: 0 60px;
  margin-bottom: 20px;
}

.job-row:not(:last-of-type) .job {
  border-bottom: 2px solid red;
}

.job .job-description,
.job .job-role {
  margin-top: 25px;
  margin-bottom: 5px;
}

/* Contacts Section */
.contacts-section {
  padding: 0 5px 20px;
}

.contacts-section h2 {
  text-transform: uppercase;
  font-size: 1.7rem;
}

.contact-form {
  background-color: black;
  padding: 20px;
  margin-bottom: 20px;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form .form-group label {
  font-size: 16px;
  color: #ccc;
}

.contact-form .form-control {
  background-color: black;
  color: #fff;
  border: 1px solid #444;
}

.contact-form .form-control::placeholder {
  color: #777;
}

.contact-form .btn-primary {
  background-color: red;
  border-color: red;
}

.contact-form .btn-primary:hover {
  background-color: darkred;
  border-color: darkred;
}

.contact-info {
  background-color: black;
  padding: 20px;
  margin-bottom: 20px;
  color: #ccc;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: white;
}

.contact-info p {
  margin: 10px 0;
}

.map-section {
  background-color: black;
  padding: 20px;
}

.map-section h2 {
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .section-left {
    display: none !important;
  }
    .navbar-nav {
        flex-direction: column;
    }
  .description {
    display: none;
  }

  .section-right {
    height: auto;
  }

  .navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
  }

  .navbar .logo-img {
    display: block;
  }

  .navbar .navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav {
    padding-left: 12px;
  }

  .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    font-weight: bold;
    line-height: 8px;
  }
    .blog-row .short-desc {
        font-size: 0.8rem;
    }
    .project-title {
        font-size: 14px;
        line-height: 9px;
    }
    .project-description {
        font-size: 10px;
        line-height: 14px;
    }
    .blog-row h2{
      font-size: 1.2rem;
      font-weight: 900;
    }
    .projects {
        gap: 12px 7px;
    }
  #carouselExampleIndicators {
      height: calc(63vh - 260px);
  }

  .carousel-item img {
    height: auto;
  }

  /* About section */
  .about-section {
    height: auto;
  }

  .profile-section {
    flex-direction: column;
  }

  .profile-img img {
    height: auto;
  }

  .profile-description {
    text-align: center;
    padding: 15px;
  }

  .short-description {
    font-size: 1.5rem;
  }

  .sponsors-content h5 {
    font-size: 1.1rem;
  }

  /* projects section */
  .projects-section {
    padding: 0 5px;
  }
  .project-title,
  .project-description {
    text-align: left;
  }

  /* careers section */
  .job-row {
    padding: 5px 0;
  }

  .careers-section p {
    font-size: 14px;
  }

  .contact-form,
  .map-section {
    padding: 10px;
  }

  /* Contacts Section */
  .contacts-section h2 {
    font-size: 1.2rem;
  }

  .contact-form,
  .contact-info {
    padding: 10px;
  }

  .contacts-section .row {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .navbar {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

  .section-left {
    position: sticky;
    top: 0;
    left: 15px;
  }
  .news-section .short-desc,
  .news-section .long-desc {
    width: 70%;
  }
}

/* Single Project */
@media (min-width: 992px) {
  .navbar-nav {
    justify-content: space-between;
  }

  .profile-section {
    max-height: calc(99vh - 104px) !important;
  }

  .profile-img {
    padding-left: 0;
  }

  .projects {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-project .imgs-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 0px;
    border-radius: 50%;
    font-size: 28px;
    height: 40px;
    width: 40px;
}

#scrollTopBtn:hover {
  background-color: #555;
}

.contact-info a {
  color: white;
    text-decoration: none;
}
.contact-info a:hover {
  color: red;
}
