/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  height: 100%;
  margin: 0px;
}

body {
  font-family: "Rubik", sans-serif;
  margin: 0;
  background-color: #ffffff;
  min-height: 100vh;
}
/* __________________Navbar__________________ */
.navbar {
  background-color: white;
  padding: 10px 20px;
  /* position: sticky; */
  top: 0;
  z-index: 1000;
  display: flex;
}

.n_logo {
  flex: 0 0 auto;
  margin-right: 10px;
  display: inline;
}

.n_logo img {
  height: 60px;
}

.n_items {
  margin: auto;
  width: 100%;
  align-content: center;
  font-size: 17px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.n_items button {
  background: none;
  border: none;
  padding: 0px 15px;
}

/* __________________Megamenu__________________ */

.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  width: 100%;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  color: white;
  width: 100%;
  left: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  /*background-color: rgb(69,7,7, 0.93);*/
  background-image: linear-gradient(
      0deg,
      rgb(69, 7, 7, 0.93),
      rgb(69, 7, 7, 0.93)
    ),
    url("/media/ji19-video-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 40px;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.menu0 {
  width: 1110px;
  display: inherit;
  position: relative;
  margin: 40px auto 40px auto;
  opacity: 93%;
  z-index: 12;
}

.menualt {
  width: 100%; /* Take full width of its parent */
  max-width: 1200px; /* Constrain max width for large screens */
  display: flex; /* Use Flexbox for layout */
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: center; /* Center items horizontally */
  margin: 40px auto 40px auto; /* Center the menu0 container */
  opacity: 93%;
  z-index: 12;
  gap: 20px; /* Add space between cards */
}

/* New CSS for individual card items */
.card-item {
  flex: 0 0 calc(25% - 20px); /* 25% width for 4 items, minus gap */
  padding: 14px;
  box-sizing: border-box; /* Include padding in the element's total width and height */
  min-width: 250px; /* Ensure cards don't get too small on narrow screens */
}

.menu1 {
  width: 60%;
  float: left;
  padding: 14px;
}

.menu2 {
  width: 40%;
  float: left;
  padding: 14px;
  display: flex;
  justify-content: center;
}

.menu2 button {
  text-decoration: none;
}

.menu0 h1 {
  padding-bottom: 20px;
  font-size: 34px;
  font-family: "Rubik", sans-serif !important;
  font-weight: 600;
  color: white;
}

.overlay-buttons-wrapper h1 {
  font-size: 28px;
  font-family: "Rubik", sans-serif !important;
  font-weight: 600;
  color: white;
  padding-bottom: 5px;
}

.overlay-buttons-wrapper hr {
  padding-bottom: 5px;
  border-width: 2px 0px 0px 0px;
  border-color: #feff62;
  inline-size: 40% !important;
}

.menu0 hr {
  padding-bottom: 15px;
  border-width: 2px 0px 0px 0px;
  border-color: #feff62;
  inline-size: 20%;
}

.menu0 p {
  line-height: 1.5em;
}

.overlay-buttons-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay-buttons {
  background-color: rgb(255, 255, 255);
  padding: 0px;
  border-radius: 15px;
  width: 250px;
  list-style: none;
  text-align: left;
}

.overlay-buttons li {
  margin-bottom: 0px;
}

.overlay-buttons li button {
  background-color: #ffffff !important;
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-family: "Rubik", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.overlay-buttons li button:hover {
  background-color: #35a8d1 !important;
  color: white;
}

.overlay-buttons a {
  text-decoration: none;
}

/* __________________Navigation Bar Mobile__________________ */
#menuToggle {
  display: none;
}

.navigation {
  display: none;
}

@media screen and (max-width: 768px) {
  .navigation {
    display: flex;
  }

  .navbar {
    display: none;
  }

  .navbarmobile {
    display: flex;
  }

  .n_items {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    font-size: 20px;
  }

  .n_items button {
    padding: 5px 5px;
  }

  .n_logo img {
    height: 60px;
  }
}

/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

@media screen and (max-width: 768px) {
  #menuToggle {
    float: right;
    display: block;
    /*position: relative;*/
    top: 50px;
    left: 50px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
    margin-top: 20px;
  }

  #menuToggle a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
  }

  #menuToggle a:hover {
    color: tomato;
  }

  #menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    /*top: -7px;*/
    /*left: -5px;*/
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
  }

  /*Just a quick hamburger*/
  #menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #cdcdcd;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  /* 
  * Transform all the slices of hamburger
  * into a crossmark.
  */
  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
  }

  /*
  * But let's hide the middle one.
  */
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  /*
  * Ohyeah and the last one should go the other direction
  */
  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  /*
  * Make this absolute positioned
  * at the top left of the screen
  */
  #menu {
    position: absolute;
    width: 300px;
    margin: -100px 0 0 -320px;
    padding: 50px;
    padding-top: 125px;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #menu li {
    padding: 10px 0;
    font-size: 22px;
  }

  /*And let's slide it in from the left*/
  #menuToggle input:checked ~ ul {
    transform: none;
  }
}

/*________________________________xxxx__________________________________*/

.video1 {
  width: 90%;
  aspect-ratio: 16 / 9; /* This sets the height according to the width */
  border-radius: 15px;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
  max-width: 1200px;
  margin: 20px auto; /* This centres it */
  display: flex; /* Won't centre align without this. Don't know why */
}

/*________________________Executives Section_________________________*/
/* here is css of Text box */
.partonstext {
  padding: 0rem;
}

/* here is the css of heading The ones leading this project */
.leading {
  text-align: center;
  font-weight: normal;
  color: #292929;
}

/* here is the css of heading Our Patrons and Executives */
.Executives {
  font-size: 3.125rem;
  font-weight: bold;
  line-height: 76px;
  color: #1f754d;
  text-align: center;
  padding-top: 1rem;
}

.Text1 {
  /*color: rgb(184, 53, 53);*/
  font-size: 3.125rem;
  font-weight: 500;
  line-height: 76px;
  text-align: center;
  padding-top: 1rem;
  font-family: "Rubik", sans-serif;
}

.forJI {
  color: #318fad;
}

.forJI1 {
  background-color: #318fadca;
}

.Title1 {
  font-family: "Rubik", "san-serif";
  font-weight: 500;
  text-align: center;
  font-size: 46px;
}

.subtitle1 {
  font-family: "Rubik", "san-serif";
  font-weight: 500;
  text-align: center;
  font-size: 28px;
}

.Title2 {
  font-family: "Rubik", "san-serif";
  font-weight: 500;
  text-align: center;
  font-size: 38px;
  display: inline-block;
}

.forJI2::after {
  content: ""; /* Required for pseudo-elements */
  display: block; /* Make it a block so it takes up its own line */
  margin: 10px auto 0 auto; /* Center the line horizontally and add top margin */
  border-bottom: 6px solid #318fad;
}

.Intro-text p {
  text-align: left;
  width: 80%;
}

.PandE {
  display: flex;
}

.para {
  font-size: 18px;
  font-family: "Rubik", "san-serif";
}

/* ----------------THE LATEST MOBILE FONT SIZE CSS FOR ALL-------------- */

@media only screen and (max-width: 720px) {
  .Intro-text p {
    text-align: center;
    width: 100%;
  }

  .Text1 {
    font-size: 35px;
    line-height: 2.5rem;
  }

  .Title1 {
    font-size: 35px;
  }

  .Title2 {
    font-size: 30px;
  }

  .subtitle1 {
    font-family: "Rubik", "san-serif";
    font-weight: 500;
    text-align: center;
    font-size: 24px;
  }

  .leading {
    font-size: 1.4rem;
  }

  .Executives {
    font-size: 35px;
    line-height: 2.5rem;
  }

  .PandE {
    display: block;
  }

  /* adjust screen size at 360px */
}

@media only screen and (max-width: 360px) {
  .leading {
    font-size: 1rem;
  }

  .Executives {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}

/* here is the css of images  */
.imgmainbox {
  display: flex;
  /* width: 100vw; */

  gap: 20px;
  padding-left: 2rem;
  padding-right: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3rem;
}

.image1 {
  width: 24rem;
  height: 25rem;
  background-color: pink;
  background-size: cover;
  border-radius: 1rem;
  box-shadow: 7px 8px 20px 0px #0000004d;
}

.inmageinner {
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.795),
    rgba(255, 255, 0, 0)
  );
  z-index: 100;
  border-radius: 1rem;
  display: flex;
  flex-direction: column-reverse;
}

.name {
  color: white;
  font: weight 900px;
  font-size: 2rem;
  padding-left: 1rem;
  padding-bottom: 1rem;
}

@media only screen and (max-width: 720px) {
  .name {
    font-size: 22px;
  }

  .imgmainbox {
    display: flex;
    /* width: 100vw; */

    gap: 20px;
    padding-left: 0%;
    padding-right: 0;
    /* flex-wrap: wrap; */
    justify-content: center;
  }

  .image1 {
    width: 10rem;
    height: 11rem;
    background-color: pink;
  }

  .image2 {
    width: 12rem;
    height: 13rem;
    background-color: pink;
  }

  .image3 {
    width: 12rem;
    height: 13rem;
    background-color: pink;
  }

  .image4 {
    width: 12rem;
    height: 13rem;
    background-color: pink;
  }

  .image5 {
    width: 12rem;
    height: 13rem;
    background-color: pink;
  }
}

/* Section Styling */
section {
  padding: 50px 20px;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  .hero {
    margin: 15px;
    padding: 8px;
  }

  .collaborate,
  .volunteer {
    padding: 40px 15px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    margin: auto;
    padding: 5px;
  }

  section {
    padding: 40px 15px;
  }

  .collaborate,
  .volunteer {
    padding: 30px 10px;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 5px 10px;
  }

  .navbar ul {
    padding: 0;
  }

  .logo img {
    height: 30px;
  }

  .hero {
    margin: auto;
    padding: 0px;
  }

  section {
    padding: 30px 10px;
  }

  .collaborate,
  .volunteer {
    padding: 20px 5px;
  }
}
.executives {
  text-align: center;
  padding: 50px 20px;
  background-color: white;
}

.executives h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.executives .subtitle {
  font-size: 18px;
  color: #777;
  margin-bottom: 40px;
}

.executives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.executive-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.executive-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.executive-item p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

@media screen and (max-width: 768px) {
  .executives-grid {
    grid-template-columns: 1fr;
  }

  .executives h2 {
    font-size: 30px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .executives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} /* Outreach Section */
.outreach {
  text-align: center;
}

.outreach h2 {
  font-size: 36px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.outreach h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  background: linear-gradient(to right, blue 50%, red 50%);
  width: 100%;
}

.outreach h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: linear-gradient(to right, blue 50%, red 50%);
  width: 100%;
}

.outreach h3 {
  font-size: 20px;
  color: grey;
  margin-bottom: 20px;
}

.outreach-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-page img {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .outreach h2 {
    font-size: 28px;
  }

  .outreach h3 {
    font-size: 18px;
  }

  .outreach-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .outreach h2 {
    font-size: 24px;
  }

  .outreach h3 {
    font-size: 16px;
  }
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 40px;
  justify-items: center;
  padding: 20px;
}

.section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.number {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.description {
  font-size: 1em;
  color: #555;
}

/* Responsive styling */
@media (max-width: 1200px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
.glance {
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
}

.glance3 {
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
}

.glance2 {
  padding: 20px;
  text-align: center;
}

.glance h2 {
  font-size: 40px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-family: rubik;
}

.glance3 h2 {
  font-size: 40px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-family: rubik;
}

.glance2 h2 {
  font-size: 30px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-family: rubik;
}

.glance2 h2:hover {
  color: #ce861a;
  margin-top: -20px;
}

.glance h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 6px;
  background: linear-gradient(to right, #1e734a 50%, #1e734a 50%);
  width: 100%;
}

.glance3 h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 6px;
  background: rgb(184, 53, 53);
  width: 100%;
}

.glance2 h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 6px;
  background: linear-gradient(to right, #ff5722 50%, #e91e63 50%);
  width: 100%;
}

.glance h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  width: 100%;
}

.glance2 h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  width: 100%;
}

.container1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.text-column1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.large-text {
  font-size: 3em;
  font-weight: bold;
  width: 50%;
}

.highlight {
  color: #ffc107;
  margin-right: 10px;
  width: 50%;
}

.image-column {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.image-column img {
  max-width: 100%;
  height: auto;
}

/* Responsive styling */
@media (max-width: 1024px) {
  .glance h2 {
    font-size: 32px;
  }

  .glance3 h2 {
    font-size: 32px;
  }

  .large-text {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .container1 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .large-text {
    font-size: 2em;
  }

  .glance h2 {
    font-size: 32px;
  }

  .glance3 h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .glance h2 {
    font-size: 26px;
  }

  .glance3 h2 {
    font-size: 26px;
  }

  .large-text {
    font-size: 32px;
    width: 100%;
    margin-top: 45px;
    margin-bottom: 25px;
  }

  .image-column {
    width: 100%;
  }

  .text-column1 {
    flex-direction: column;
  }

  #firstone {
    flex-direction: column-reverse;
  }
}

.tabs {
  display: flex;
  flex-wrap: wrap; /* Allows tabs to wrap in smaller screens */
  justify-content: center; /* Aligns tabs across the space */
  padding: 10px;
  max-width: 1200px;
  width: 80%;
  margin: auto;
}

/* Tab Buttons */

.icons {
  width: 24px;
  height: auto;
  padding: 0px 4px 0px 0px;
}

.tablink {
  background-color: #318cad34;
  border-width: 1px;
  padding: 10px 20px;
  margin: 5px; /* Adds spacing between buttons */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 18px;
  border-radius: 7px;
  font-family: rubik;
  font-weight: 600;
  animation: fadeEffect 0.5s ease-in-out;
}

/* Hover Effect for Tabs */
.tablink:hover {
  background-color: #318fad;
  color: #fff; /* Changes text color for better contrast */
}

/* Active Tab Style */
.tablink:focus {
  background-color: #318fad;
  color: white;
  border-bottom: 2px solid #00796b; /* Active tab bottom border */
}

.tablink .active {
  background-image: linear-gradient(
    45deg,
    #009688,
    #009688
  ); /* Highlight for active tab */
  color: white;
  border-bottom: 2px solid #00796b; /* Active tab bottom border */
}

/* Tab Content */
.tabcontent {
  display: none;
  padding: 20px;
  animation: fadeEffect 0.5s ease-in-out; /* Smooth transition when content is displayed */
}

/* Display Active Content */
.tabcontent.active {
  display: block;
}

/* Fade Effect */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media Query for Small Screens */
@media screen and (max-width: 768px) {
  .tablink {
    padding: 5px;
    column-gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 14px; /* Slightly smaller font on small screens */
  }

  .tabs {
    justify-content: center; /* Center aligns tabs on small screens */
    width: 92%;
  }
}

/* Media Query for Very Small Screens */
@media screen and (max-width: 480px) {
  .tablink {
    padding: 4px;
    column-gap: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 46%;
  }

  .tabs {
    padding: 0px; /* Less padding on very small screens */
    justify-content: space-between;
  }
}
.container {
  display: flex;
  flex-direction: row;
  padding: 20px;
  border: 1px solid #009999;
}

.left-column {
  flex: 0.1;
  display: flex;
  justify-content: center;
  align-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 24px;
  color: #d32f2f;
  font-weight: bold;
  text-align: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.right-column {
  flex: 3;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-left: 20px;
}

@media (max-width: 500px) {
  .right-column {
    padding-left: 0px;
  }

  .left-column {
    display: none;
    font-size: 16px;
  }

  .hero1 {
    height: 100vh;
  }

  .hero-profile-img {
    height: 70%;
    width: 100%;
  }
}

/*  
Experiment Card Design
*/

/* BEGIN CARD DESIGN */
.hero1 {
  display: inline-block;
  position: relative;
  height: 50vh;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
}

.hero-profile-img {
  height: 70%;
  background-size: cover;
}

.hero-description-bk {
  background-image: linear-gradient(0deg, #3f5efb, #fc466b);
  border-radius: 30px;
  position: absolute;
  top: 55%;
  left: -5px;
  height: 65%;
  width: 108%;
  transform: skew(19deg, -9deg);
}

.second .hero-description-bk {
  background-image: linear-gradient(-20deg, #bb7413, #e7d25c);
}

.hero-logo {
  height: 80px;
  width: 80px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  bottom: 30%;
  left: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7);
}

.hero-logo img {
  height: 100%;
}

.hero-description {
  position: relative;
  color: #fff;
  font-weight: 900;
  /*left: 150px;*/
  /*bottom: 26%;*/
  text-align: center;
  align-items: center;
  bottom: 8%;
  font-size: 21px;
}

.hero-btn {
  position: relative;
  color: #fff;
  /* right: 30px; */
  bottom: 10%;
  padding: 10px 0px;
  border: 1px solid #fff;
  align-items: center;
  text-align: center;
  margin: 20px auto 0px;
  width: 40%;
  border-radius: 8px;
}

.hero-btn a {
  color: #fff;
}

.hero-btn:hover {
  background-color: white;
  color: rgb(17, 125, 135);
}

.hero-btn a:hover {
  color: inherit;
}

.hero-btn1 {
  position: relative;
  color: #fff;
  /* right: 30px; */
  bottom: 10%;
  padding: 10px 0px;
  border: 1px solid #fff;
  align-items: center;
  text-align: center;
  margin: 20px auto 0px;
  width: 80%;
  border-radius: 8px;
  pointer-events: none;
}

.hero-btn1 a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.hero-date {
  position: absolute;
  color: #fff;
  left: 30px;
  bottom: 10%;
}
/* END CARD DESIGN */

.btn i:before {
  width: 14px;
  height: 14px;
  position: fixed;
  color: #fff;
  background: #0077b5;
  padding: 10px;
  border-radius: 50%;
  top: 5px;
  right: 5px;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 0px;
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 150px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.card h3 {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
}

.card button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.card button:hover {
  background-color: #45a049;
}

.card .pdf-badge {
  display: block;
  margin-bottom: 10px;
}

.pdf-badge img {
  width: 30px;
  height: auto;
}

/* Responsive design */

@media (max-width: 800px) {
  .right-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .right-column {
    grid-template-columns: 1fr;
  }

  .left-column {
    font-size: 16px;
  }
}
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 10px;
  gap: 20px;
  width: 85%;
  margin: 54px auto;
}

.text-columns {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  width: 80%;
}

.text-columns h1 {
  color: #1e734a;
  font-size: 36px;
  font-weight: bold;
}

.text-columns h2 {
  font-size: 48px;
  font-weight: bold;
}

.text-columns p {
  font-size: 18px;
}

.read-more {
  color: red;
  text-decoration: none;
}

.learn-more-btn {
  background-color: red;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
}

.image-columns img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
}

@media (max-width: 768px) {
  .content-section {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    margin: 20px 0px;
  }

  .text-columns {
    align-items: center;
    width: 100%;
  }

  .text-columns h1 {
    font-size: 28px;
  }

  .text-columns h2 {
    font-size: 36px;
  }

  .text-columns p {
    font-size: 16px;
  }

  .learn-more-btn {
    font-size: 16px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .text-columns h1 {
    font-size: 36px;
  }

  .text-columns h2 {
    font-size: 28px;
  }

  .text-columns p {
    font-size: 14px;
  }

  .learn-more-btn {
    font-size: 14px;
    padding: 6px 12px;
  }
}

.sections {
  position: relative;
  color: white;
  padding: 0px;
  border-radius: 15px;
  margin: 20px auto;
  max-width: 1200px;

  /*background-image: url('./media/collaborate.jpg');*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

.CTA {
  width: 100%;
  background-color: rgba(5, 22, 54, 0.66);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 15px;
  mask: linear-gradient(to right, rgb(0, 0, 0) 50%, rgba(0, 0, 0, 0) 97.5%);
}

.CTA h1 {
  background-color: white;
  color: black;
  padding: 5px;
  border-radius: 8px;
  width: fit-content;
}

.CTA p {
  width: 55%;
}

.sections h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.sections p {
  font-size: 18px;
  margin-bottom: 15px;
}

.details-button {
  margin-top: 20px;
  text-decoration: none;
}

.details-button button {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 5px;
}

.details-button img {
  width: 27px;
  margin-left: 3px;
  vertical-align: bottom;
}

/*
.sections::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(198, 135, 18, 0.1);
  border-radius: 50%;
  animation: animate 10s linear infinite;
  top: -200px;
  left: -200px;
  z-index: -1;
}
*/

@keyframes animate {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.5) translate(50px, 50px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sections {
    padding: 0px;
    width: 85%;
  }

  .sections h1 {
    font-size: 36px;
  }

  .sections p {
    font-size: 16px;
  }

  .details-button button {
    font-size: 20px;
    padding: 5px 10px;
  }

  .details-button img {
    width: 24px;
    margin-left: 3px;
    vertical-align: bottom;
  }

  .CTA {
    padding: 25px;
    mask: none;
  }

  .CTA p {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sections h1 {
    font-size: 28px;
  }

  .sections p {
    font-size: 14px;
  }
}

/* Statistics Container */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.section {
  flex: 1 1 calc(33.333% - 20px); /* Adjusts to fit 3 columns */
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.section .number {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section .description {
  font-size: 18px;
  margin: 0;
}

@media (max-width: 768px) {
  .section {
    flex: 1 1 calc(50% - 20px); /* Adjusts to fit 2 columns */
  }
}

@media (max-width: 480px) {
  .section {
    flex: 1 1 calc(50% - 20px); /* Adjusts to fit 1 column */
  }
}
.partners-section {
  text-align: center;
  padding: 40px 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 85%;
}

.partner-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

.partner-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

@media (max-width: 768px) {
  .partner-title {
    font-size: 16px;
  }

  .partner-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .partner-title {
    font-size: 14px;
  }

  .partner-card {
    padding: 10px;
  }
}
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .footer-content > div {
  flex: 1;
  margin: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    align-items: center;
  }

  footer .footer-content > div {
    margin: 10px 0;
    text-align: center;
  }
} /* About Page Image */
.about-page {
  text-align: center;
  margin: 50px 0;
}

.about-page img {
  max-width: 100%;
  height: auto;
}

/* Rules pages styling */

@media (max-width: 768px) {
  .row0 {
    display: flex;
    flex-direction: column;
  }
  .col1 {
    width: 100%;
  }
}

.row0 {
  display: flex;
  flex-direction: row;
}

.col0 {
  background-color: rgba(0, 0, 0, 0.338);
}

.col1 {
  width: 40%;
  color: white;
  font-family: "Quattrocento Sans", sans-serif;
  background-image: url("/media/qirat pic.jpg");
  background-repeat: no-repeat;
  background-color: #232323;
  background-size: cover;
}

.col11 {
  padding: 100px 60px 90px 80px;
  background-color: rgba(0, 0, 0, 0.546);
}

.col2 {
  width: 60%;
  padding: 100px 60px 90px 80px;
  background-color: #ffffff;
  font-family: "Quattrocento Sans", sans-serif;
}

.formbtn {
  padding: 8px;
  border-radius: 8px;
  background-color: #8e24aa;
  color: white;
  font-weight: bold;
  vertical-align: middle;
  font-size: 16px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

.formbtn:hover {
  background-color: #3f5efb;
  transform: translateY(-10px);
}

/*________________________________About Page__________________________________*/

.banner1 {
  background-image: url("https://images.unsplash.com/photo-1453563391321-df71955e9289?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  height: 80%;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0px 0px 12px 12px;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
}

.b1container {
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  text-align: left;
  padding-left: 100px;
}

.b1container h1 {
  color: white;
  letter-spacing: 5px;
  font-family: "Rubik", sans-serif;
  font-size: 42px;
  padding-bottom: 5px;
}

.b1container p {
  color: white;
  width: 40%;
  padding: 0px auto;
  display: flex;
  letter-spacing: 3px;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .b1container {
    padding: 0;
    padding-left: 40px;
    top: 20%;
  }

  .b1container h1 {
    font-size: 34px;
  }

  .b1container p {
    width: 90%;
    font-size: 17px;
  }
}

@media screen and (max-width: 768px) {
  .intro1 {
    flex-direction: column;
    display: flex;
    margin: 0px auto !important;
    width: 100% !important;
    padding: 0;
  }

  .intro1 img {
    width: 80% !important;
    height: auto;
    margin: 40px auto 0px auto !important;
  }

  .i1container {
    width: 80% !important;
    margin: 0px;
    padding-top: 20px;
  }
}

.intro1 {
  width: 80%;
  display: flex;
  margin: 80px auto;
}

.intro1 img {
  width: 40%;
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
}

.i1container {
  width: 70%;
  margin-top: 20px;
  margin-left: 30px;
}

.i1container h1,
h2 {
  padding-bottom: 5px;
}

.i1container p {
  padding-bottom: 30px;
}

/*________________________________Team Page__________________________________*/

.team1 {
  width: 70%;
  margin: 40px 0px 20px 40px;
  font-family: "Poppins", sans-serif;
}

.t1text {
  color: #ce861a;
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 10px;
}

.t1text2 {
  padding-bottom: 5px;
  font-size: 40px;
}

.t1container {
  display: flex;
  width: 65%;
  max-width: 1200px;
  margin: 60px auto;
  font-family: "Poppins";
  font-size: 20px;
}

.t1cd1 {
  width: 60%;
}

.t1cd2 {
  width: 40%;
}

.t2container {
  width: 65%;
  max-width: 1200px;
  margin: 10px auto;
  display: flex;
}

.t1container2 {
  padding: 150px 20px 20px 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
  margin: 40px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
  text-shadow: 0 0 3px #000000;
}

.t1container2alt {
  padding: 150px 20px 20px 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 25%;
  margin: 40px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
  text-shadow: 0 0 3px #000000;
  aspect-ratio: 1 / 1;
}

.t1container2 h1 {
  font-size: 24px;
}

.t1container2 p {
  font-size: 18px;
  font-weight: bold;
  color: #effa9c;
}

.t1container2alt h1 {
  font-size: 24px;
}

.t1container2alt p {
  font-size: 18px;
  font-weight: bold;
  color: #effa9c;
}

@media screen and (max-width: 768px) {
  .team1 {
    width: 100%;
    margin: 0;
    padding: 30px;
    font-family: "Poppins", sans-serif;
  }

  .t1text {
    color: #ce861a;
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 10px;
  }

  .t1text2 {
    padding-bottom: 5px;
    font-size: 32px;
  }

  .t1container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    font-family: "Poppins";
    font-size: 20px;
    flex-direction: column-reverse;
  }

  .t1ca {
    flex-direction: column;
  }

  .t1cd1 {
    width: 100%;
  }

  .t1cd2 {
    width: 100%;
    padding-top: 20px;
  }

  .t2container {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .t1container2 {
    padding: 150px 20px 20px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 70%;
    height: auto;
    margin: 10px auto;
    border-radius: 12px;
    color: white;
    box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
      0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
      0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
  }

  .t1container2alt {
    padding: 150px 20px 20px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 70%;
    height: auto;
    margin: 10px auto;
    border-radius: 12px;
    color: white;
    box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
      0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
      0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
  }
}

.button-34 {
  font-size: 24px !important;
  background: #1e734a;
  border-radius: 12px;
  box-shadow: #5d95f0 0 10px 20px -10px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: rubik;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  width: fit-content;
  border: 0;
  text-align: center; /* Combined with this */
  margin: 20px auto; /* This centres everything. Srsly, don't know why */
  display: flex; /* Won't centre align without this. Don't know why */
}

.button-34:hover {
  background: #00796b;
  transform: scale(1.2);
  transition: 1700ms;
}

@media screen and (max-width: 768px) {
  .cardAll {
    flex-wrap: wrap;
  }

  .cardOne {
    flex: 0 0 calc(100% / 3); /* 3 items per row */
  }

  .cardA {
    background-size: cover;
    border-radius: 10px 10px 0px 0px;
  }
}

.cardAll {
  /*
    &::-webkit-scrollbar {
    display: none;
  }

    flex-wrap: nowrap;
  overflow-x: scroll;
    -webkit-overflow-scrolling: touch; */

  display: flex;
  flex-direction: row;
  /* width: 100%; */
  max-width: 1030px;
  margin: 10px auto;
  /* padding: 40px 20px; */
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.cardOne {
  border-radius: 12px;
  /*box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);*/

  box-shadow: 0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 4px 9px hsl(0deg 0% 0% / 0.075), 0 5px 5px hsl(0deg 0% 0% / 0.075),
    0 6px 6px hsl(0deg 0% 0% / 0.075), 0 8px 8px hsl(0deg 0% 0% / 0.075);
  margin-bottom: 0px;
  transition: 600ms;
  background-size: cover;
  background-position: center;
  flex: 0 0 calc(100% / 7); /* 3 items per row */
  box-sizing: border-box;
}

.cardOne:hover {
  transform: translateY(-10px);
}

.cardA {
  width: 134px;
  background-size: cover;
  border-radius: 10px 10px 0px 0px;
  padding: 50px;
}

.cardB {
  text-align: center;
  padding: 2%;
  align-items: center;

  color: white;
  border-radius: 0px 0px 10px 10px;
  line-height: 1;
  min-height: 2.5em;
  max-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.cardB img {
  width: 20px;
  margin-left: 5px;
  vertical-align: bottom;
}

.cardB-details {
  color: #000000;
  background-color: white;
  font-weight: 400;
  padding: 2%;
  min-height: 1.5em;
}

.cardB-details {
  text-transform: lowercase;
}

.cardB-details ::first-letter {
  text-transform: uppercase;
}

.forJR1 {
  background-color: rgba(30, 115, 74, 0.793);
}

.ObjA {
  padding: 25px;
  margin: 0px;
  border-top: solid 1px black;
}

.RationaleOne {
  padding: 0px;
  background-size: cover;
  margin: 40px;
  border-radius: 15px;
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
}

.RationaleA {
  margin: 0px;
  background-color: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  padding: 34px;
  border-radius: 15px;
  color: #000000;
  font-size: 17px;
}

.ObjOne {
  display: flex;
  margin: auto;
  width: 80%;
  margin-bottom: 60px;
}

.ObjTwo {
  display: flex;
  flex-direction: column;
  width: 40%;
  margin: auto;
}

.RationaleTOP {
  display: flex;
  margin: 10px auto;
  width: 60%;
  flex-direction: row;
}

@media screen and (max-width: 768px) {
  .ObjOne {
    flex-direction: column;
  }

  .ObjTwo {
    width: 100%;
  }

  .RationaleTOP {
    display: flex;
    margin: 10px auto;
    width: 100%;
    flex-direction: column;
  }
}

/* Custom aspect ratio utility for videos */
.aspect-video-16-9 {
  aspect-ratio: 16 / 9;
}

/* Custom shadow for video elements */
.video-shadow {
  box-shadow: 0 16px 16px hsl(0deg 0% 0% / 0.075),
    0 17px 17px hsl(0deg 0% 0% / 0.075), 0 19px 19px hsl(0deg 0% 0% / 0.075),
    0 23px 23px hsl(0deg 0% 0% / 0.075), 0 31px 31px hsl(0deg 0% 0% / 0.075);
}

/* Equivalent to Tailwind classes on container mx-auto max-w-7xl */
.container-styles {
  width: 65%; /* container */
  margin-left: auto; /* mx-auto */
  margin-right: auto; /* mx-auto */
  max-width: 80rem; /* max-w-7xl (1280px) */
}

/* Equivalent to Tailwind classes on grid grid-cols-2 md:grid-cols-2 gap-6 p-4 */
.video-grid {
  display: grid; /* grid */
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  ); /* grid-cols-2 for all sizes */
  gap: 1.5rem; /* gap-6 (24px) */
  padding: 1rem; /* p-4 */
}

/* Equivalent to Tailwind classes on relative rounded-2xl video-shadow overflow-hidden */
.video-item {
  position: relative; /* relative */
  border-radius: 1rem; /* rounded-2xl (16px) */
  overflow: hidden; /* overflow-hidden */
  /* .video-shadow class is already defined above */
}

/* Equivalent to Tailwind classes on w-full aspect-video-16-9 rounded-t-2xl block object-cover */
.video-media {
  width: 100%; /* w-full */
  aspect-ratio: 16 / 9; /* aspect-video-16-9 */
  border-top-left-radius: 1rem; /* rounded-t-2xl */
  border-top-right-radius: 1rem; /* rounded-t-2xl */
  display: block; /* block */
  object-fit: cover; /* object-cover (for img and video) */
}

/* Equivalent to Tailwind classes on bg-white p-3 rounded-b-2xl */
.title-strip {
  background-color: #ffffff;
  padding: 0.25rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* Equivalent to Tailwind classes on text-center text-lg font-medium text-gray-800 */
.video-title {
  text-align: center; /* text-center */
  font-size: 1.125rem; /* text-lg (18px) */
  line-height: 1.75rem; /* line-height for text-lg (28px) */
  font-weight: 600; /* font-medium */
  color: #12482e; /* text-gray-800 */
}

@media screen and (max-width: 768px) {
  .container-styles {
    width: 100%; /* container */
    margin: auto;
    max-width: 80rem; /* max-w-7xl (1280px) */
  }

  .video-title {
    font-size: 15px; /* text-lg (18px) */
    line-height: 1.4; /* line-height for text-lg (28px) */
    font-weight: 600;
    color: #12482e;
  }

  .title-strip {
    /*background-color: #8f0d0d;*/
    background-color: #ffffff;
    padding: 5px;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .video-grid {
    display: grid; /* grid */
    grid-template-columns: repeat(
      2,
      minmax(0, 1fr)
    ); /* grid-cols-2 for all sizes */
    gap: 10px; /* gap-6 (24px) */
    padding: 25px; /* p-4 */
  }
}

/* GEMINI MESS FROM THIS POINT ON */

/*
 * Competitions Section Styling
 * Add these styles to your style.css file
 */
.competitions-section {
  padding: 20px;
  margin-bottom: 50px;
}

.competitions-container {
  display: grid;
  /* This creates a responsive grid that automatically adjusts the number of columns */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.competition-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgb(0 0 0 / 30%);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: #e0e0e0;
  display: flex;
  flex-direction: column;
}

.competition-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.competition-card img {
  width: 100%;
  height: 200px; /* Set a fixed height for a consistent look */
  object-fit: cover; /* This ensures images fill the space without distortion */
}

.card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-content h2 {
  font-size: 1.5em;
  color: #074569;
  margin-bottom: 15px;
  min-height: 48px; /* Prevents layout shifting for different title lengths */
}

.join-button {
  background-color: #57cc99;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Pushes the button to the bottom of the card */
}

.join-button:hover {
  background-color: #4aa77a;
}

/* Updated font for Competitions title */
.Title1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: #074569;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.extrachild {
  width: 26%;
}

@media screen and (max-width: 768px) {
  .extrachild {
    width: 70%;
  }
}
