@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

:root {
  --mantis: #7ac74f;
  --argentinian-blue: #4bb3fd;
  --ghost-white: #f7f7ff;
  --prussian-blue: #0b3954;
  --ut-orange: #ff8811;
}

/* HEADING */

.navbar-custom {
  background-color: var(--prussian-blue);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--ghost-white) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--mantis) !important;
}

.navbar-toggler {
  border-color: var(--ghost-white) !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}
/* .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b3954;
  padding: 1rem 2rem;
}

.nav {
  background-color: #0b3954;
  padding: 0.5rem 1rem;
}

.nav-link {
  text-decoration: none;
  color: #f7f7f7;
  align-items: center;
  margin-left: 10px;
  padding: 5px 10px;
}

.nav-link:link,
.nav-link:visited {
  display: inline-block;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link:active {
  color: #535353;
}

.nav-link.nav-link-bor:link,
.nav-link.nav-link-bor:visited {
  padding: 12px 24px;
  border-radius: 9px;
  color: #fff;
  background-color: #214d6d;
}

.nav-link.nav-link-bor:hover,
.nav-link.nav-link-bor:active {
  background-color: #1c435e;
}*/

.logo {
  height: 40px;
}

/* ---------------- MAIN ----------------- */

/* ------ SECTION ABOUT US ------- */

/* .about-us-section {
  max-width: 100%;
  margin: 0 auto;
}

.about-us-relative {
  position: relative;
}

.about-photo-img {
  width: 100%;
  display: block;
}

.about-us-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-us-content h1 {
  font-size: 48px;
  font-weight: 600;
  color: #0b3954;
} */

/* ------ SECTION OUR ---------- */

/* .our-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 auto;
}

.our-text-left {
  padding-left: 24px;
}

.our-h2 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 24px;
}

.our-img-box img {
  width: 100%;
  display: block;
}

#our-img-box-2 {
  grid-column: 1/2;
  grid-row: 2/3;
}

.our-p {
  font-size: 20px;
  line-height: 1.6;
  color: rgb(58, 58, 58);
} */

/* -------- SECTION OUR TEAM --------- */

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* .our-team-section {
  max-width: 100%;
  margin: 0 auto;
}

.our-team {
  position: relative;
  min-height: 630px;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.our-team-content {
  max-width: 400px;
}

.our-team-img {
  height: 200px;
  position: absolute;
  transition: transform 0.3s ease-in;
}

.our-team-img:hover {
  transform: scale(1.05);
  transition: all 0.3s;
}

#our-team-img1 {
  bottom: 50%;
  right: 75%;
  height: 250px;
}

#our-team-img2 {
  top: 60%;
  left: 15%;
  height: 170px;
}

#our-team-img3 {
  top: 55%;
  left: 77%;
  height: 220px;
}

#our-team-img4 {
  top: 10%;
  right: 13%;
  height: 170px;
}

#our-team-img5 {
  top: 82%;
  right: 32%;
  height: 175px;
}

.our-team-h2 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 24px;
}

.our-team-p {
  font-size: 20px;
  line-height: 1.6;
  color: rgb(90, 90, 90);
  margin-bottom: 24px;
}

.our-team-content {
  text-align: center;
  justify-content: center;
}

.our-team-link:link,
.our-team-link:visited {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.3s ease;
}

.our-team-link:hover,
.our-team-link:active {
  color: rgba(0, 0, 0, 1);
}

.heading-primary {
  font-size: 48px;
  font-weight: 600;
} */

/* -------- SECTION GALLERY --------- */

/*.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}*/
/*.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
} */

/*.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
}*/

/* Responsive layout */
/* @media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}  */

/*  -------------- FOOTER ---------------- */
.grid {
  display: grid;
  column-gap: 64px;
  row-gap: 96px;
}

.footer {
  padding: 64px 0;
  border-top: 1px solid #eee;
  background-color: var(--prussian-blue) !important;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 32px;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
}

.social-icon {
  height: 24px;
  width: 24px;
}

.copyright {
  font-size: 14px;
  line-height: 1.6;
  color: #dedee6;
  margin-top: 24px;
}

.footer-heading {
  padding-top: 24px;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #f7f7ff;
}

.contacts {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.address {
  margin-bottom: 24px;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 16px;
  color: #dedee6;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #adadb3;
}

.team-col {
  margin-top: 24px;
}

.team-p {
  color: #f7f7ff;
}

#header,
.navbar-custom {
  background-color: var(--prussian-blue) !important;
}
/* .container {
  max-width: 1200px;
  padding: 0 320px;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 64px;
  row-gap: 96px;
}

.footer {
  padding: 64px 0;
  border-top: 1px solid #eee;
  background-color: #0b3954;
}

.grid--footer {
  grid-template-columns: 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 32px;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
}

.social-icon {
  height: 24px;
  width: 24px;
}

.copyright {
  font-size: 14px;
  line-height: 1.6;
  color: #dedee6;
  margin-top: 24px;
}

.footer-heading {
  padding-top: 24px;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #f7f7ff;
}

.contacts {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.address {
  margin-bottom: 24px;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 16px;
  color: #dedee6;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #adadb3;
}

.team-col {
  margin-top: 24px;
}

.team-p {
  color: #f7f7ff;
}
.section-gallery {
  padding: 4rem 2rem;
  background: #fafafa;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
} */
/* 🌙 Dark Mode Styles for About Us Page */
.dark-mode {
  background-color: #121212;
  color: #e8eef6;
}

/* Header */
.dark-mode header {
  color: #e8eef6 !important;
  border-bottom: 1px solid #2e2e2e;
}

.dark-mode header .nav-link {
  color: #e8eef6 !important;
}

.dark-mode header .nav-link.active {
  color: #00bcd4 !important;
}

.dark-mode header .btn-outline-dark {
  color: #e8eef6;
  border-color: #e8eef6;
}

.dark-mode header .btn-outline-dark:hover {
  background-color: #00bcd4;
  color: #fff;
  border-color: #00bcd4;
}

/* About Section */
.dark-mode .about-us-section {
  background-color: #1a1a1a;
}

.dark-mode .about-us-section h1 {
  /* color: #12afe4 !important; */
}

/* Main Content Sections */
.dark-mode section {
  background-color: #121212;
  color: #e8eef6;
}

.dark-mode h2,
.dark-mode h3 {
  color: #f0f0f0;
}

.dark-mode p,
.dark-mode .text-muted {
  color: #c8c8c8 !important;
}

.dark-mode img.rounded,
.dark-mode .shadow-sm {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08) !important;
}

/* Our Team Section */
.dark-mode .bg-light {
  background-color: #1a1a1a !important;
  color: #e8eef6 !important;
}

.dark-mode .btn-outline-dark {
  color: #e8eef6 !important;
  border-color: #e8eef6 !important;
}

.dark-mode .btn-outline-dark:hover {
  background-color: #00bcd4 !important;
  border-color: #00bcd4 !important;
  color: #fff !important;
}

/* Gallery / Carousel */
.dark-mode .carousel {
  background-color: #181818;
}

.dark-mode .carousel-item img {
  border: 1px solid #2b2d30;
}

.dark-mode .carousel-control-prev-icon,
.dark-mode .carousel-control-next-icon {
  filter: invert(1) brightness(1.2);
}

.dark-mode .carousel-indicators button {
  background-color: #00bcd4 !important;
  opacity: 0.6;
}

.dark-mode .carousel-indicators .active {
  opacity: 1;
}

/* Footer */
.dark-mode footer {
  background-color: #0f0f0f !important;
  color: #e8eef6 !important;
  border-top: 1px solid #2e2e2e;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.dark-mode footer a {
  color: #12afe4 !important;
}

.dark-mode footer a:hover {
  color: #76d4ff !important;
}

.dark-mode footer ion-icon {
  color: #12afe4 !important;
}

/* Logo Contrast */
.dark-mode .logo {
  filter: brightness(0.9) contrast(1.1);
}

/* General hover scaling fix in dark mode */
.dark-mode .hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar-toggler {
    margin: 10px auto;
  }

  .navbar-collapse {
    width: 100%;
  }
}

.lazy-img {
  filter: blur(20px);
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px; /* толщина линии */
  width: 0%;
  background: linear-gradient(90deg, #28a745, #80ed99);
  z-index: 9999;
  transition: width 0.15s ease-out;
}
