/* Base styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
a{
  text-decoration: none;
  color: white;
}

.container {
  width: 80%;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

li {
  list-style: none;
}

/* Home section */
.home {
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: none;
  position: relative;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: white;
  border-radius: 10px;
  position: relative;
}

header ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  margin-top: 30px;
}

header ul li:hover {
  cursor: pointer;
  color: #3498db;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1000;
  cursor: pointer;
}

.menu-btn img {
  width: 30px;
  height: 30px;
}

.mobilMenu {
  display: flex;
  width: 100%;
  /* background-color: rgba(0, 0, 0, 0.95); */
  z-index: 999;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 50px 0;
  overflow-y: auto; /* Allow scrolling within the menu if needed */
}

.mobilMenu.active {
  display: flex;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  filter: brightness(0.5);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.head-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 220px;
}

.head-content img {
  width: 140px;
}

.head-content h1 {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  font-size: 45px;
  color: white;
}

.head-content button {
  width: 65px;
  height: 65px;
  transform: rotate(90deg);
  font-weight: 900;
  font-size: 40px;
  border-radius: 50%;
  background-color: #3498db;
  border: none;
  cursor: pointer;
}

/* About section */
.home-2 {
  position: relative;
  background-image: url(./assent/Ins.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.644);
  z-index: 0;
}

.home-2 .news {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 120px 0 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
}

.about-button {
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  background-color: #0070f3;
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #0060df;
}

.about-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news h1 {
  text-align: center;
  font-size: 45px;
  color: white;
  margin-bottom: 50px;
}

/* Interactive services section */
.home-3 {
  position: relative;
  background-image: url(./assent/Int.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.home-3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.644);
  z-index: 0;
}

.interaktive {
  width: 100%;
  position: relative;
  padding: 120px 0 50px;
  z-index: 2;
}

.interaktive h1 {
  text-align: center;
  color: white;
  margin-bottom: 50px;
  font-size: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 64px;
  height: 64px;
  background-color: #4066e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-circle svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.service-title {
  width: 100%;
  max-width: 200px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}

/* Academy staff section */
.home-4 {
  position: relative;
  background-image: url(./assent/Ins2.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.644);
  z-index: 0;
}

.academy {
  width: 100%;
  position: relative;
  padding: 120px 0 50px;
  z-index: 2;
}

.academy h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 40px;
  color: white;
}

.staff-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px;
  scrollbar-width: none;
  position: relative;
}

.staff-slider::-webkit-scrollbar {
  display: none;
}

.staff-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  flex: 0 0 calc(25% - 20px);
  min-width: 250px;
}

.staff-card:hover {
  transform: translateY(-5px);
}

.staff-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.staff-info {
  padding: 15px;
  text-align: center;
}

.staff-name {
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  z-index: 10;
}

.nav-button:hover {
  background-color: #f0f0f0;
}

.nav-prev {
  left: 10px;
}

.nav-next {
  right: 10px;
}

.nav-button svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

/* Statistics section */
.home-5 {
  position: relative;
  background-image: url(./assent/bg3.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.home-5::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.644);
  z-index: 0;
}

.statistika {
  width: 100%;
  position: relative;
  padding: 120px 0 50px;
  z-index: 2;
}

.statistika h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 40px;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-text {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Useful links section */
.home-6 {
  position: relative;
  background-image: url(./assent/Ins.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-6::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.644);
  z-index: 0;
}

.link {
  width: 100%;
  position: relative;
  padding: 120px 0 50px;
  z-index: 2;
  margin: 0 auto;
}

.link h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 40px;
  color: white;
}

.links-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  position: relative;
}

.links-slider::-webkit-scrollbar {
  display: none;
}

.link-card {
  min-width: 300px;
  height: 300px;
  flex: 0 0 calc(33.333% - 20px);
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.link-title {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.4;
}

.nav-prev1 {
  left: 10px;
}

.nav-next2 {
  right: 10px;
}

/* Footer */
.foo {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}

footer {
  width: 100%;
  position: relative;
  z-index: 1;
}

.f-top {
  width: 100%;
  height: 100px;
  background-color: #222222;
}

.f-bottom {
  width: 100%;
  height: 70px;
  background-color: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 15px;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .staff-card {
    flex: 0 0 calc(33.333% - 20px);
  }

  .link-card {
    min-width: 280px;
  }
}

@media (max-width: 992px) {
  .container {
    width: 90%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-card {
    flex: 0 0 calc(50% - 20px);
  }

  .head-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  header ul {
    display: none;
  }

  .menu-btn {
    display: block;
    position: fixed;
    z-index: 1000;
  }

  .mobilMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px 0;
    overflow-y: auto; /* Allow scrolling within the menu if needed */
  }

  .mobilMenu.active {
    display: flex;
  }

  .mobilMenu li {
    font-size: 18px;
    padding: 10px 0;
  }

  .head-content {
    margin-top: 150px;
  }

  .head-content h1 {
    font-size: 30px;
  }

  .head-content button {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .news h1,
  .interaktive h1,
  .academy h1,
  .statistika h1,
  .link h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .service-title {
    font-size: 16px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .staff-card {
    min-width: 220px;
  }

  .staff-image {
    height: 250px;
  }

  .link-card {
    min-width: 250px;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .head-content h1 {
    font-size: 24px;
  }

  .head-content img {
    width: 100px;
  }

  .head-content button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .news h1,
  .interaktive h1,
  .academy h1,
  .statistika h1,
  .link h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .about-text {
    font-size: 14px;
  }

  .staff-card {
    min-width: 200px;
  }

  .staff-image {
    height: 200px;
  }

  .staff-name {
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-text {
    font-size: 0.9rem;
  }

  .link-card {
    min-width: 200px;
    height: 200px;
    padding: 20px;
  }

  .link-icon {
    width: 60px;
    height: 60px;
  }

  .link-title {
    font-size: 0.9rem;
  }

  .f-top {
    height: 70px;
  }

  .f-bottom {
    height: auto;
    padding: 15px;
  }

  .f-bottom p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .head-content {
    margin-top: 100px;
  }

  .head-content h1 {
    font-size: 20px;
  }

  .head-content img {
    width: 80px;
  }

  .head-content button {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .news h1,
  .interaktive h1,
  .academy h1,
  .statistika h1,
  .link h1 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-title {
    font-size: 14px;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .icon-circle svg {
    width: 20px;
    height: 20px;
  }

  .staff-card {
    min-width: 180px;
  }

  .staff-image {
    height: 180px;
  }

  .nav-button {
    width: 30px;
    height: 30px;
  }

  .nav-button svg {
    width: 18px;
    height: 18px;
  }
}

