/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/*HEADER & NAVBAR*/
header {
  text-align: center;
  padding: 20px 0;
  background: #ffffff;
  border-radius: 50px 50px 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  width: 250px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 50px;
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  border-bottom: 2px solid #00bcd4;
  color: #00bcd4;
}

/*SECTIONS BASE STYLE*/
.section-block {
  padding: 80px 5%;
  text-align: center;
  transition: all 0.5s ease;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*WELCOME SECTION*/
.welcome {
  background: linear-gradient(to right, #dcd5d5, #336981);
  color: white;
  border-radius: 0 0 50px 50px;
  padding: 120px 20px;
}

.welcome h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.welcome p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn-accent {
  background: white;
  color: #007c91;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-accent:hover {
  background: #007c91;
  color: white;
}

/*OUR STORY SECTION*/
.story-section {
  position: relative;
  background: url('images/bg-pattern.jpg') center/cover no-repeat;
  color: rgb(0, 0, 0);
}

.story-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.911);
  z-index: 1;
}

.story-content {
  position: relative;
  z-index: 2;
}

.story-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.story-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.story-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.feature-card {
  background:#dcd5d5;
  border-radius: 50px;
  width: 300px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 15px;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/*OUR WORK SECTIO*/
#shows {
  background: #dcd5d5;
  border-radius: 50px;
}

#shows h2 {
  font-size: 2rem;
  margin-bottom: 50px;
}

.grid-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.grid-gallery img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.grid-gallery img:hover {
  transform: scale(1.05);
}

/*TEAM SECTION*/
#team {
  background: white;
}

.team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.team-member {
  width: 260px;
  background: #dcd5d5;
  border-radius: 50px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.team-member img {
  width: 100%;
  height: 230px;
  border-radius: 30px;
  clip-path: circle(60%);
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.role {
  color: #007c91;
  font-weight: 600;
  margin-bottom: 10px;
}

/*GALLERY SECTION*/
.history-section {
  background: #f2eeeed6;
  border-radius: 50px;
  padding: 80px 5%;
}

.history-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.history-image {
  flex: 1 1 55%;
  overflow: hidden;
  position: relative;
}

.history-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
  border-radius: 20px;
}

.history-slide.active {
  display: block;
}

.history-text {
  flex: 1 1 40%;
  text-align: left;
}

.history-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/*VIDEO SECTION*/
.video-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 5%;
  background: #dcd5d5;
  border-radius: 50px 50px 0 0;
}

.video-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
}

.video-text {
  flex: 1 1 30%;
  text-align: left;
}

.video-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #007c91;
}

.video-text p {
  color: #333;
  font-size: 1.1rem;
}

.video-gallery {
  flex: 1 1 65%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 15px;
}

.video-gallery video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.video-gallery video:hover {
  transform: scale(1.05);
}

/*OUR MISSION SECTION*/
.mission-section {
  background:rgba(42, 133, 26, 0.804);
  border-radius:0 0 50px 50px;
  padding: 30px;
  color: rgb(26, 35, 134);
}

.mission-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.mission-section p {
  font-size: 1.1rem;
}

.mission-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.mission-card {
  background: rgba(72, 87, 132, 0.804);
  padding: 20px;
  border-radius:50px ;
  width: 260px;
  text-align: center;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
}

/* CONTACT SECTION*/
.contact {
  background: #dcd5d5;
  border-radius:50px 50px 0 0;
  padding: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-links a {
  text-decoration: none;
  border: 3px solid #007c91;
  border-radius: 30px;
  padding: 4px 15px;
  color: #007c91;
  font-weight: 600;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #000000;
}

.contact-info {
  margin-bottom: 20px;
  line-height: 1.8;
}

.email-link {
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
  color: #007c91;
  text-decoration: none;
  border: 3px solid #007c91;
  padding: 4px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.email-link:hover {
  background: #007c91;
  color: rgb(255, 255, 255);
}

/*FOOTER */
footer {
  background: #111;
  color: white;
  border-radius:0 0 50px 50px;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/*RESPONSIVENESS */
@media (max-width: 1024px) {
  .history-content,
  .video-content {
    flex-direction: column-reverse;
  }

  .video-text, .history-text {
    text-align: center;
  }

  .video-gallery video {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .welcome h1 {
    font-size: 2rem;
  }

  .navbar ul {
    gap: 10px;
  }

  .feature-card, .mission-card, .team-member {
    width: 90%;
  }

  .grid-gallery img {
    width: 100%;
  }

  .video-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }
}