@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #333;
  font-family: 'Open Sans', serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
iframe {
  max-width: 100%;
  width: 100%;
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
button {
  all: unset;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
}

header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul {
  padding: 0 0 0 20px;
  margin-bottom: 10px;
}
h1,
h2,
h3,
p {
  margin-bottom: 15px;
}
h3 {
  font-size: 20px;
}
p:last-of-type {
  margin-bottom: 0;
}
section:not(#hero) {
  margin: 20px auto;
  padding: 0 20px;
  max-width: 1100px;
}
small {
  margin-top: 10px;
  display: block;
}
.button {
  display: block;
  background-color: #ed6124;
  color: black;
  padding: 10px 15px;
  width: fit-content;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(157, 157, 157, 0.5);
  transition: all 0.3s ease; /* smooth animation */
}
.button:hover {
  background-color: #393939;
  color: #fff;
}
.space {
  padding: 10px 0;
}
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px 10px 10px;
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

header .logo {
  margin-right: auto;
}

header .logo img {
  height: 60px;
  width: auto;
  display: block;
  box-shadow: none;
}

header .burger-menu {
  display: block;
  cursor: pointer;
}
header .burger-menu .line {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-menu.active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
header .nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: calc(100vh - 70px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .nav-links.active {
  display: flex;
  z-index: 999;
}

header .nav-links li {
  margin: 0;
}

header .nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
}

header .nav-links a:hover {
  background: #f0f0f0;
}
header li.dropdown > button::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid black;
  margin-left: 15px;
  margin-bottom: 1px;
}
header li.dropdown.active > button::after {
  transform: rotate(180deg);
}
header li.dropdown {
  cursor: pointer;
}
header li.dropdown > ul {
  display: none;
}
header li.dropdown.active > ul {
  display: flex;
  flex-direction: column;
  border-top: 3px solid #ed6124;
}
header li.dropdown.active > ul a {
  padding-left: 30px;
}
/* Hero Section */
#hero {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('media/hero.png') no-repeat center center/cover;
  color: #fff;
  padding: 4rem 1rem;
}

/*  Heading  */
.heading {
  padding: 0 20px;
}
.heading.center {
  text-align: center;
}
/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2; /* Ensures text is above the overlay */
  max-width: 600px;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.2s ease-in-out;
}
/* Text Styling */
.hero-content h1 {
  font-size: 2.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
.textImage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.image img {
  max-width: 400px;
}
.round-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-top: 20px;
}
.round-images > div {
  width: 50%;
  max-width: 200px;
}
.round-images p {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}
.round-images img {
  border-radius: 100%;
  margin-bottom: 10px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.contact-details svg {
  width: 30px;
  height: 30px;
}
.contact-details iframe {
  height: 350px;
}
.socials {
  display: inline-flex;
  align-items: center;
  width: 100%;
}
.socials {
  gap: 10px;
}
.quote {
  padding: 30px 20px !important;
}
.quote.dark > div {
  background-color: #393939;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
}
.quote.light > div {
  background: linear-gradient(90deg, #cdffd8, #94b9ff);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #000;
}
.quote > div {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 5px;
}
.quote p {
  font-weight: 500;
  text-align: center;
}
.team > div {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  justify-content: center;
  gap: 30px;
}
.team > div > div.person {
  max-width: 180px;
}
.team > div p.name {
  margin-bottom: 0;
  font-size: 20px;
}
.team > div p {
  margin-bottom: 20px;
  text-align: center;
}
.team > div img {
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* video */
.video-container {
  position: relative;
  display: inline-block;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 100%;
}
.video-container img {
  object-fit: cover;
  max-width: 100%;
}
.video-container iframe {
  width: 100%;
  min-width: 400px;
  height: 100%;
  height: 225px;
}
.video-thumbnail {
  aspect-ratio: 16/9;
  height: 100%;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.play-button svg {
  width: 30px;
  height: auto;
}
/* homepage cards */
.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.6s ease;
}

.card.revealed {
  transform: translateY(0);
  opacity: 1;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Title as overlay */
.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-sizing: border-box;
}
/* timeline section */
.timeline {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  background: rgba(235, 235, 235, 0.8);
  width: 45%;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  transform: translateY(20px);
  font-size: 20px;
  color: #000;
}
.timeline-item.year {
  width: fit-content;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 55%;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 600px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2rem;
  }
}
/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #ddd;
  color: #333;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
footer a {
  display: block;
  padding: 10px;
  font-size: 14px;
}
footer > p {
  font-size: 16px;
}
/* Responsive Styles */
@media (min-width: 600px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 600px) {
  header .burger-menu {
    display: none;
  }
  /* Base styles for mobile (below 600px) */
  header .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column; /* Stacks vertically */
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: calc(100vh - 70px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  header .nav-links.active {
    display: flex;
    z-index: 999;
  }
  header .nav-links li {
    margin: 0;
  }

  header .nav-links a,
  header .nav-links button {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
  }

  header .nav-links a:hover {
    box-shadow: 0 3px 0 0 #ed6124;
    background: transparent;
  }

  header li.dropdown > a::after,
  header li.dropdown > button::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid black;
    margin-left: 15px;
    margin-bottom: 1px;
  }

  header li.dropdown.active > a::after,
  header li.dropdown.active > button::after {
    transform: rotate(180deg);
  }

  header li.dropdown > ul {
    display: none;
  }
  header li.dropdown > ul {
    padding-left: 20px;
  }
  header li.dropdown.active > ul {
    display: flex;
    flex-direction: column;
  }
}
/* Tablet styles (above 600px) */
@media (min-width: 600px) {
  header {
    height: 100px;
  }
  header .logo img {
    height: 80px;
  }
  header .nav-links {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    position: static; /* Remove absolute positioning */
    width: auto;
    height: auto;
    box-shadow: none;
  }

  header .nav-links a,
  header .nav-links button {
    padding: 10px 20px; /* Slightly larger padding for desktop */
  }

  header li.dropdown {
    position: relative;
  }
  /* Show dropdown on hover (desktop only) */
  header li.dropdown:hover > ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    min-width: 400px;
    top: 100%; /* Dropdown under the item */
    left: 0;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 3px 0 0 #ed6124, 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 12;
  }
  header li.dropdown:hover > ul a:hover {
    background: #363537;
    color: #fff;
  }
  header li.dropdown > a::after,
  header li.dropdown > button::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid black;
    margin-left: 10px;
  }
  header li.dropdown:hover > a::after,
  header li.dropdown:hover > button::after {
    transition: 0.1s;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid black;
    border-top: none;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 20px;
  }
  header .nav-links a,
  header .nav-links button {
    font-size: 18px;
  }
  .card-title {
    font-size: 18px;
  }
}
/* Tablet styles (above 900px) */
@media (min-width: 900px) {
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  .button {
    padding: 12px 20px;
  }
  .textImage {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 50px;
  }
  .textImage.left {
    flex-direction: row-reverse;
  }
  .textImage.right {
    flex-direction: row;
  }
  .oneThird {
    min-width: 35%;
    max-width: 35%;
    width: 35%;
  }
  .middle {
    align-items: center;
  }
  .text {
    flex: 1;
  }
  .image {
    flex: 1; /* Image column takes available space */
    background-size: cover; /* Ensures the background image covers the div */
    background-position: center; /* Center the background image */
    height: 100%; /* Ensures the image div stretches to fill the parent height */
  }
  .contact-details {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  .contact-details > div:first-child {
    flex: 1;
  }
  .contact-details > div:last-child {
    flex: 2;
  }
  .contact-details iframe {
    height: 250px;
  }
  .team > div {
    padding: 0;
    gap: 10px;
  }
  .team > div > div.person {
    max-width: 170px;
  }
  .team .video-container iframe {
    height: 230px;
  }
}
/* Tablet styles (above 1200px) */
@media (min-width: 1200px) {
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 28px;
  }
  p,
  li,
  a,
  button {
    font-size: 19px;
  }
  section:not(#hero) {
    max-width: 1100px;
    margin: 20px auto;
  }
  .button {
    padding: 12px 30px;
  }
  .textImage {
    gap: 80px;
  }
  .image img {
    max-width: 100%;
  }
  .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .team > div > div.person {
    max-width: 200px;
  }
  .space {
    padding: 20px 0;
  }
  .video-container iframe {
    height: 275px;
  }
  .card-title {
    font-size: 22px;
  }
}
@media (min-width: 1500px) {
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 30px;
  }
  p,
  li,
  a,
  button {
    font-size: 22px;
  }
  section:not(#hero) {
    max-width: 1300px;
    margin: 20px auto;
  }
  .textImage {
    gap: 100px;
  }
  .team > div {
    padding: 30px 20px;
    gap: 30px;
  }
  .team > div p {
    font-size: 18px;
  }
  .space {
    padding: 30px 0;
  }
  .video-container iframe {
    height: 326px;
  }
  .card-title {
    font-size: 24px;
  }
  .card img {
    height: 220px;
  }
}
