html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #000000;
  color: #ffffff;
}

header {
  background-color: #252727;
  color: white;
  padding: 0.05rem;
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between image and text */
  text-align: left; /* makes sure text aligns left */
}
header img {
  height: 80px; /* size of the image */
  width: auto;
}
.main-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: #222;
}

.logo {
  font-size: 1.5rem;
  color: white;
  flex: 1 1 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  flex: 1 1 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-buttons a {
  font-size: calc(0.5rem + 0.5vw);
  padding: 0.5rem 2rem;
  background-color: #22AAA1;
  color: #52fae9;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.nav-buttons a:hover {
  background-color: #52fae9;
  color: #22AAA1;
}

.nav-buttons a.highlight {
  background-color: #636363; 
  color: #000000;
}



/* 🔽 Responsive: Move nav-buttons to bottom */
@media (max-width: 600px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-buttons {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    padding-top: 1rem;
  }

  .logo {
    order: 1;
    width: 100%;
  }

  .nav-buttons a {
    width: 100%;
    text-align: left;
  }
}



main {
  padding: 0rem;
  background-color: #000000;
}

a {
  color: #75af4c;
  text-decoration: none;
}

.feathered-video {
  width: 1400px;
  height: auto;
  margin-top: 10px;
  border-radius: 20px;
}

.blurred-video {
  width: 100%;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

.our-story {
  position: relative;      /* to position content above background */
  max-width: 1300px;
  margin: 4rem auto;
  padding: 2rem;
  color: white;            /* make text visible on GIF */
  text-align: center;
  
  background-image: url('https://64.media.tumblr.com/bdbfa98539dbc85102d9a44e78abfc07/tumblr_o8z460cWNK1sbitwxo1_500.gifv'); /* example GIF */
  background-size: cover;    /* cover entire container */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  border: 20px solid #15ffef;
}

.our-cv {
  position: relative;      /* to position content above background */
  max-width: 1300px;
  margin: 4rem auto;
  color: white;            /* make text visible on GIF */
  text-align: center;
  
  background-image: url('https://64.media.tumblr.com/bdbfa98539dbc85102d9a44e78abfc07/tumblr_o8z460cWNK1sbitwxo1_500.gifv'); /* example GIF */
  background-size: cover;    /* cover entire container */
  background-position: center;
  background-repeat: no-repeat;
}

.our-achievements {
  position: relative;      /* to position content above background */
  max-width: 1300px;
  margin: 4rem auto;
  padding: 2rem;
  color: rgb(255, 255, 255);          /* make text visible on GIF */
  text-align: center;
  
  background-image: url('photos/Team_Picture.png'); /* example GIF */
  background-size: cover;    /* cover entire container */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  border: 20px solid #15ffef;
}

.our-achievements::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.553); /* black overlay with 40% transparency */
  z-index: 0;
  border-radius: 12px;
}
.our-achievements > * {
  position: relative;
  z-index: 1; /* So text is above the overlay */
}
.boxmessage h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.boxmessage p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.boxmessage .btn {
  display: inline-block;
  background-color: #22AAA1;
  color: #52fae9;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 2rem;
  transition: background-color 0.3s, color 0.3s;
}
.boxmessage .btn:hover {
  background-color: #52fae9;
  color: #22AAA1;
}
.boxmessage img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  margin-top: 0rem;
}

.photo img {
  width: 300px;
  max-width: 300px;
  border-radius: 10px;
  margin-top: 0rem;
}


footer {
  background-color: #136F63;
  color: white;
  text-align: center;
  padding: 1rem;
  position: static;
  width: 100%;
}
.top-animation {
  position: relative;
  height: 50em;
  overflow: hidden;
  z-index: 1;
}

.top-gif {
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* make sure it aligns to the top */
  position: relative;
}

.top-gif img {
  width: 1200%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top; /* ensures image stays aligned to the top */
}
.top-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Adjust height as needed */
  background: linear-gradient(to top, 
    rgb(0, 0, 0) 0%,
    rgba(8, 8, 8, 0.9) 40%,
    rgba(8, 8, 8, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.top-content {
  position: relative;
  z-index: 3;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 1rem;
  margin-top: 0px;
}

.diagonal-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
body {
  margin: 0;
}

.main-header {
  background-color: #222;
  color: white;
  padding: 1rem;
  text-align: center;
}

.About-Us-Para {
  /* your styles here */
  padding: 30px;
  color: #ffffff;
  border-radius: 15px;  
  font-size: 1.5rem;
  background: linear-gradient(180deg, #22AAA1, #22aaa1a3, #22aaa162);
}

.title {
  text-align: center;
  background: linear-gradient(180deg, #22AAA1, #22aaa1a3,#22aaa162);
  color: #0affef;
  font-size: 2rem;
  border-radius: 15px;  
}

.slider {
  width: 400px;
  height: 300px;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  text-align: center;
}

.slides {
  display: flex;
  width: 60%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

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



.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: white;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 8px;

}

input[type="radio"] {
  display: none;
}

/* Slide positioning */


.nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
}

.nav-prev { left: 10px; }
.nav-next { right: 10px; }

#slide1:checked ~ .nav.slide1,
#slide2:checked ~ .nav.slide2,
#slide3:checked ~ .nav.slide3,
#slide4:checked ~ .nav.slide4 {
  display: block;
}

.Highlight {
  height: 380;
  max-width: 700px;
  margin: 20px auto;
  padding: 1.5rem;
  background-color: #145e59; /* dark background */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.7);
  color: #22AAA1; /* light text */
  font-size: 1.1rem;
  line-height: 1.5;
}

.desc {
  display: none;
  height: 100%;
  margin-top: 0px;
  overflow: auto;
  color: #14ffef;
}

#slide1:checked ~ .Highlight .desc1,
#slide2:checked ~ .Highlight .desc2,
#slide3:checked ~ .Highlight .desc3,
#slide4:checked ~ .Highlight .desc4 {
  display: block;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: #12534f;
  background-color: #22AAA1;
  border-radius: 50%;
  padding: 0.5em;
  cursor: pointer;
  transform: translateY(-600%);
  z-index: 10;
  user-select: none;
  transition: 0.3s;
}

.nav:hover {
  background-color: lightgray;
}

.nav-prev {
  left: 10px;
}

.nav-next {
  right: 10px;
}

/* Show correct buttons depending on selected radio */
#slide1:checked ~ .nav.slide1,
#slide2:checked ~ .nav.slide2,
#slide3:checked ~ .nav.slide3,
#slide4:checked ~ .nav.slide4 {
  display: block;
}
.nav.slide1,
.nav.slide2,
.nav.slide3,
.nav.slide4 {
  display: none;
}
.small-title h2 {
  font-size: 2rem; /* Match the size of your normal titles */
  margin-top: 1rem;
}
.small-title {
  text-align: center;
  background-color: #22AAA1;
  color: #0affef;
  font-size: 1.5rem;
  border-radius: 15px;  

  
}

.Text {
  text-align: left;
  background: #104947;
  color: #16e2d4;
  font-size: 1.4rem;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  border-radius: 10px;  
  padding-left: 60px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  width: 1200px;
}
table {
  border-collapse: collapse;
  width: 80%;
  margin: 1rem auto;
}

th, td {
  border: 1px solid #0a4945;
  padding: 8px 12px;
  text-align: center;
}

th {
  background-color: rgba(10, 44, 42, 0.406);
  color: white;
}

tr:nth-child(even) {
  background-color: #0f9a9174;
}
thead {
  background-color: #1a9189; /* Top row color */
  color: white;
}
/* Rightmost Column */
td:first-child,
th:first-child {
  background-color: #1a9189; /* Light blue for left side */
  color: #ffffff;
  font-weight: bold;
}

.video-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* so they stack on smaller screens */
  margin: 2rem 0;
}

.video-row video {
  width: 300px; /* adjust as needed */
  border-radius: 10px; /* optional */
}