




@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Exile&family=Ovo&display=swap');


/* Updated primary color to GFG green (Sea Green) */
:root {
  --clr1: #2E8B57; /* Sea Green; GeeksforGeeks uses a similar green shade */
  --clr2: #3CB371; /* A complementary shade for hovers */
  --clr3: #fff;
  --clr4: #000;
  --clr5: lightgray;
  --clr6: yellow;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-transform: capitalize;
  font-family: 'Ovo', serif;
  border: none;
}

html {
  font-size: 56.5%;
  overflow-x: hidden;
  scroll-behaviour: smooth;
}

html::-webkit-scrollbar-thumb {
  background: var(--clr1);
}

/* HEADER SECTION */
.head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--clr1);
  padding: 2em 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.head .logo {
  font-size: 2.5rem;
  color: var(--clr3);
  font-weight: 600;
  letter-spacing: 0.1rem;
}
.logo img {
    width: 30px;  /* Adjust as needed */
    height: auto;  /* Keeps aspect ratio */
    display: inline-block; /* Keeps it inline with text */
    vertical-align: middle; /* Aligns it nicely with other content */
}

/* Keep the logo inside the header and align to the left */
.logok {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

/* Control the logo image size */
.logok img {
  height: 50px; /* Adjust height as needed */
  width: auto;
  object-fit: contain;
  margin-left: -100px;
}


.head span {
  color: var(--clr5);
}

/* Explicitly setting navbar background */
/* .head .navbar {
  background: var(--clr1);
  font-size: 1.8rem;
  justify-content: space-between;
  font-weight: 500;
}

.head .navbar a {
  padding-left: 1.5rem;
  color: var(--clr3);
} */
.head .navbar {
  margin-right: -100px;
  font-size: 1.7rem;
  background: var(--clr1);
    display: flex;
    justify-content: space-evenly; /* Distributes space equally */
    align-items: center; /* Aligns items vertically */
}

.head .navbar a {
    text-decoration: none; /* Removes underline */
    padding: 10px 15px; /* Adds some spacing */
    /* background-color: lightgray; */
    border-radius: 5px; /* Optional styling */
     color: #fff;
}


#menu-bar {
  display: none;
  color: var(--clr3);
}

.head .navbar a:hover {
  color: rgb(236,68,90);
  border: 1px solid var(--clr3);
}

/* BANNER SECTION */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
}

.text-box h2 {
  color: #fff;
  font-size: 24px;
  font-family:Ovo', serif;
}

.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.dot {
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ffffff;
}

/* CONTAINER SECTION */
.container {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  align-items: center;
}

.left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--clr5);
  min-height: 748px;
}

.cover-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0.8rem;
}

.right {
  flex: 1;
  padding: 20px;
  background-color: var(--clr5);
  min-height: 745px;
}

.right h2 {
  color: var(--clr1);
  font-size: 2.5rem;
  text-align: center;
}

.right p {
  font-size: 1.8rem;
  padding-top: 2rem;
}

/* OVERLAY IMAGE */
.image-overlay {
  position: relative;
  width: 100%;
  height: 100vh;
}

.overlay-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(128, 128, 128, 0.6);
  padding: 20px 40px;
  color: white;
  font-size: 3rem;
  text-align: center;
}

/* VIDEO SECTION */
.youtube {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  max-width: 100%;
  width: 100%;
  padding: 1rem;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-right: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* INSTAGRAM SECTION */
.instagram-section {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.instagram-section h2 {
  margin: 10px 0;
  font-size: 2rem;
}

.instagram-section a {
  text-decoration: none;
  color: #0077cc;
}

.instagram-section a:hover {
  color: #ff0000;
  cursor: pointer;
}

/* MARQUEE SECTION */
.marquee-box {
  width: 100vw;
  height: 150px;
  overflow: hidden;
  background: #2E8B57;
  /* border: 2px solid #333; */
  position: relative;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-content {
  position: absolute;
  width: 100%;
  animation: scrollUp 8s linear infinite;
  text-align: center;
}

@keyframes scrollUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

.marquee-content h2 {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.marquee-content h3,
.marquee-content ul {
  color: lightgray;
  font-size: 18px;
  text-align: center;
}

/* FOOTER SECTION */
.footer {
  width: 100vw;
  height: 12vw;
  background-color: var(--clr1);
  color: var(--clr3);
  padding: 20px 0;
  text-align: center;
}

.footer-content p {
  font-size: 2rem;
}

.footer-content {
  max-width: 100vw;
  max-height: 50vw;
  margin: 0 auto;
}

.footer-links li a {
  color: silver;
  font-size: 2rem;
  padding: 2rem;
}

.footer-links li a:hover {
  text-decoration: underline;
}

/* LAST SECTION */
.made-with {
  height: 7vw;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  background-color: var(--clr1);
  border-top: 1px solid #ddd;
}

.made-with .love-icon {
  color: var(--clr2);
}

.made-with p {
  color: var(--clr3);
  font-size: 2rem;
}

.made-with a {
  color: var(--clr2);
}

.made-with a:hover {
  text-decoration: underline;
}

/* Additional styling for marquee images */
.marquee-content img {
  width: 6rem;
  height: 10rem;
}

/* MOBILE DEVICES (max-width: 767px) */
@media (max-width: 767px) {
  /* Navbar adjustments */
  .head .navbar {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--clr1);
    flex-direction: column;
    width: 100%;
    display: none; /* Toggle this via JavaScript for mobile menus */
  }

  .head .navbar .active {
    max-height: 500px;
  }

  .head .navbar a {
    padding: 1rem;
    border-top: 1px solid var(--clr3);
    left: 5rem;
  }

  #menu-bar {
    display: block;
    scale: 2;
  }

  /* Banner-section adjustments */
  .text-box {
    padding: 10px 20px;
  }

  .text-box h2 {
    font-size: 18px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dots {
    bottom: 10px;
  }

  /* Container adjustments */
  .container {
    flex-direction: column;
    height: auto;
  }

  .left, .right {
    width: 100%;
    padding: 15px;
    min-height: 300px;
  }

  .left {
    height: 50vh;
  }

  .right h2 {
    font-size: 2rem;
  }

  .right p {
    font-size: 1.6rem;
    padding-top: 1rem;
  }

  /* Overlay image adjustments */
  .overlay-text {
    font-size: 2rem;
  }

  /* Video section adjustments */
  .youtube {
    grid-template-columns: 1fr;
  }

  /* Footer adjustments */
  .footer {
    width: 100vw;
    height: 18vw;
  }
}
