* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo",sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.8;
}

body.dark {
  background: #111827;
  color: white;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Header */

header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  z-index: 1000;
}

body.dark header {
  background: #1f2937;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 7%;

}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #009fa1ff;
  text-shadow:
  0 0 15px rgba(0,159,161,.4),
  0 0 35px rgba(0,159,161,.25),
  0 10px 30px rgba(0,0,0,.15);
}

nav ul {
  display: flex;
  gap: 25px;
}

nav ul a {
  color: #333;
  font-weight: 600;
  transition: .3s;
}

body.dark nav ul a {
  color: white;
}

nav ul a:hover {
  color: #009fa1ff;
}
nav ul li {
  width: 100%;
  text-align: center;
}

nav ul li a {
  display: block;
  width: 100%;
}
.menu-btn {
  display: none;
  font-size: 30px;
  color: #009fa1ff;
  cursor: pointer;
}
.close-btn {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  font-size: 28px;
  color: #009fa1ff;
  cursor: pointer;
}
#theme-btn {
  position: relative;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #009fa1ff;
  color: white;
  cursor: pointer;
  left: -70%;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 160px 8% 100px;
  flex-wrap: wrap;

}

.hero-image img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid #009fa1ff;
  box-shadow:
  0 0 20px #009fa1,
  0 0 40px rgba(0,159,161,.6),
  0 0 70px rgba(0,159,161,.3);
}


.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 50px;
  color: #009fa1ff;
  margin: 15px 0;
}

.hero-content h2 {
  margin-bottom: 15px;
}

.info {
  margin-top: 20px;
}

.info div {
  margin: 12px 0;
}

/* Sections */

.section {
  padding: 90px 8%;

}

.title {
  text-align: center;
  color: #009fa1ff;
  margin-bottom: 20px;
  font-size: 35px;
  align-items: center;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,.1);
}

body.dark .card {
  background: #1f2937;
}

.card p {
  margin-bottom: 15px;
}

/* Timeline */

.timeline-item {
  background: white;
  padding: 25px;
  margin-bottom: 25px;
  border-right: 6px solid #009fa1ff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

body.dark .timeline-item {
  background: #1f2937;
}

.timeline-item h3 {
  color: #009fa1ff;
  margin-bottom: 10px;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 20px;
}

.gallery-card img {
  width: 100%;
  border-radius: 20px;
  transition: .4s;
}

.gallery-card img:hover {
  transform: scale(1.05);
}

/* Videos */

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
  gap: 25px;
}

.video-card video {
  width: 100%;
  border-radius: 20px;
}

/* Button */

.btn {
  display: inline-block;
  background: #009fa1ff;
  color: white;
  padding: 14px 30px;
  border-radius: 12px;
  margin-top: 20px;
}

/* Contact */

.contact-item {
  margin-bottom: 20px;
}

.contact-item i {
  color: #009fa1ff;
  margin-left: 10px;
}

/* Footer */

footer {
  background: #009fa1ff;
  color: white;
  text-align: center;
  padding: 30px;
}

/* Top Button */

#topBtn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #009fa1ff;
  color: white;
  cursor: pointer;
  display: none;
}

/* Mobile */

@media(max-width:992px) {

  nav {
    padding: 15px 5%;
  }

  .menu-btn {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 20px;
    left: -100%;
    width: fit-content;
    min-width: 190px;
    height: auto;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    transition: .5s;
    border-radius: 0 20px 20px 0;
    box-shadow: -5px 0 20px rgba(0,0,0,.2);

  }

  body.dark nav ul {
    background: #1f2937;
  }

  nav ul.active {
    left: 0;
  }

  .hero {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 35px;
  }

  .hero-content h2 {
    font-size: 22px;
  }

  .hero-image img {
    width: 280px;
    height: 280px;
  }

  .section {
    padding: 70px 5%;
  }

  .title {
    font-size: 28px;
  }

  .video-container {
    grid-template-columns: 1fr;
  }

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

}