@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #6F19DE;
  --secondary-color-dark: #A896EA;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.section__subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: var(--text-light);
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  max-width: 100px;
  margin-top: 10px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__container::before {
  content: "MOTORCYCLE TRAINING CENTRE";
  position: absolute;
  bottom: 5rem;
  right: 20rem;
  font-size: 7rem;
  font-weight: 700;
  line-height: 7rem;
  color: var(--white);
  opacity: 0.05;
  z-index: -1;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: white !important;
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}

.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.header__image {
  position: relative;
}

.header__image::before {
  content: "o";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40rem;
  font-weight: 400;
  line-height: 20rem;
  color: var(--secondary-color);
  opacity: 0.1;
  z-index: -1;
}

.header__image img {
  max-width: 350px;
  margin: auto;
}

/* Gallery Styles */
.gallery1  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 10px;
    padding: 270px;
    margin-top: -232px;
}

.gallery2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 270px;
    margin-top: -532px;
}

.gallery3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 270px;
    margin-top: -532px;
}

.gallery4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 270px;
    margin-top: -532px;
}

.gallery5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 270px;
    margin-top: -532px;
}

.gallery-item {
    background-color: #D79447;
    background-size: cover;
    background-position: center;
    height: 250px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}


/* Lightbox Styles */
.lightbox {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);  /* Dark transparent background */
    justify-content: center;
    align-items: center;
    overflow: hidden;  /* Prevents scrolling */
}

.lightbox-content {
    display: block;
    max-width: 90%;  /* Image should not exceed 90% of viewport width */
    max-height: 90%;  /* Image should not exceed 90% of viewport height */
    width: auto;  /* Set width to 'auto' to maintain natural size */
    height: auto;  /* Set height to 'auto' to maintain natural size */
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #D79447;
    cursor: pointer;
}


.footer__container {
  position: relative;
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-left: 500px;
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
  margin-left: 500px;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
}



/* footer2 */

/* General Footer Styling */
footer2 {
  background-color: #333; /* Dark background */
  color: #fff; /* White text */
  padding: 20px 0; /* Padding around the footer */
  text-align: center; /* Center-align content */
  font-family: Arial, sans-serif;
}

footer2 .footer-content {
  margin-bottom: 20px; /* Space between footer content and sponsors */
}

footer2 a {
  color: #fff; /* White links */
  text-decoration: none; /* Remove underline */
  margin: 0 10px; /* Space between links */
}

footer2 a:hover {
  text-decoration: underline; /* Underline on hover */
}

/* Sponsors Section */
footer2 .sponsors {
  margin-top: 20px; /* Space above the sponsors section */
  text-align: center;
}

footer2 .sponsors p {
  font-size: 1.2em; /* Larger font size for "Our Sponsors" */
  margin-bottom: 10px;
}

footer2 .sponsors a {
  display: inline-block;
  margin: 0 15px; /* Space between sponsor logos */
  margin-top: 10px;
}

footer2 .sponsors img {
  max-height: 50px; /* Limit logo height */
  max-width: 100px; /* Limit logo width */
  transition: transform 0.3s ease; /* Smooth transition for hover */
  margin-bottom: 30px;
}

footer2 .sponsors img:hover {
  transform: scale(1.1); /* Slightly enlarge logos on hover */
}




@media (width < 600px) {

/* Gallery Styles */
.gallery1  {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 270px;
  margin-top: -300px;
  margin-left: -252px;
  margin-right: -250px;
}

.gallery2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 270px;
  margin-top: -532px;
  margin-left: -252px;
  margin-right: -250px;
}

.gallery3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 270px;
  margin-top: -532px;
  margin-left: -252px;
  margin-right: -250px;
}

.gallery4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 270px;
  margin-top: -532px;
  margin-left: -252px;
  margin-right: -250px;
}

.gallery5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 270px;
  margin-top: -532px;
}

.gallery-item {
  background-color: #D79447;
  background-size: cover;
  background-position: center;
  height: 250px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.footer__col p {
  color: var(--text-light);
  margin-top: -250px;
  margin-right: 55px;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
  margin-top: 200px;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-left: 500px;
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
  margin-left: -430px;
  margin-top: -70px;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

}