/* Import fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

@font-face {
  font-family: "Sipping on Sunshine";
  src: url("./Assets/Fonts/mf-sippin-on-sunshine/Sippin On Sunshine - TTF.ttf")
    format("truetype");
}

@font-face {
  font-family: "Namecat";
  src: url("./Assets//Fonts/namecat/Namecat-MVaeJ.otf") format("opentype");
}

@font-face {
  font-family: "Britteny";
  src: url("./Assets/Fonts/brittany_signature/BrittanySignature.ttf")
    format("truetype");
}

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

:root {
  --color-primary: #79cec5;
  --color-secondary: #f48484;
  --color-tertiary: #ffdac1;
  --color-quaternary: #e2f0cb;
  --color-quinary: #b5ead7;
  --color-main: #f5f5f7;
}

/* i {
  color: #feb400 !important;
} */

body {
  background: var(--color-main);
  position: relative;
  font-family: "Montserrat";
}

.cta-button {
  background: linear-gradient(
    90deg,
    var(--color-tertiary),
    var(--color-quaternary)
  );
  color: #333;
}

.cta-button:hover {
  background: linear-gradient(
    90deg,
    var(--color-quaternary),
    var(--color-tertiary)
  );
}

.hero::after {
  background: linear-gradient(
    rgba(255, 154, 162, 0.5),
    rgba(255, 183, 178, 0.5)
  );
}

.testimonial {
  background: var(--color-main);
  border: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.active {
  color: #feb400;
}

.line {
  width: 70%;
  margin: auto;
  border-bottom: 0.1px solid rgb(170 182 184);
}

/* Navigation */
header {
  background-color: #f5f5f7;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: "Montserrat", cursive;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #feb400;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Namecat", cursive;
  margin-bottom: 20px;
  color: #047f87e3;
  text-align: center;
  font-weight: 100;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 2.8em;
}

h3 {
  font-size: 2em;
}

p {
  font-family: Montserrat, cursive;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
}

/* Back to Top Button */
#myBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #feb400;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s, visibility 0.3s;
  display: none;
  z-index: 1000;
}

#myBtn:hover {
  background: #fc9323;
  /* color: black; */
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

#youtube-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  animation: zoomIn 20s linear infinite;
}

@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (min-aspect-ratio: 16/9) {
  #youtube-player {
    height: 56vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  #youtube-player {
    width: 177.78vh;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 0;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.Sipping-on-Sunshine {
  font-family: "Sipping on Sunshine", cursive;
}

.Britteny {
  margin-bottom: 20px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
  color: #f5f5f7 !important;
  font-family: "Britteny", cursive !important;
  font-size: 3.5rem !important;
}

.hero-headding {
  display: flex;
  gap: 0.9rem;
}

.hero h3 {
  font-family: "Sipping on Sunshine", cursive;
  font-size: 1.8em;
  color: #fc9323;
  margin-bottom: 6rem;
}

.enroll-btn {
  position: relative;
  padding: 1em 1.8em;
  outline: none;
  border: 1px solid #f5f5f7;
  background: #f5f5f7;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  overflow: hidden;
  transition: 0.2s;
  border-radius: 20px;
  cursor: pointer;
  /* font-weight: bold; */
}

.enroll-btn a {
  color: #1d1d1f;
}

.enroll-btn:hover {
  box-shadow: 0 0 8px #f5f5f7, 0 0 8px #f5f5f7, 0 0 8px #f5f5f7;
  transition: 0.2s;
}

.enroll-btn:hover a {
  transition: 0.2s;
  color: #1d1d1f;
}

.space {
  margin-top: 2rem;
  width: 100%;
}

/* about */
.about p {
  text-align: center;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(180 121 21 / 70%);
  color: white;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: "Montserrat";
  text-align: center;
}

.gallery-item:hover .gallery-text {
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-more {
  color: #f5f5f7;
}

.view-more {
  background: #05849b;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
  font-family: "Sipping on Sunshine", cursive;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vision and Mission Section */
.vision-mission {
  padding: 80px 0;
}

.vision-mission .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.vision,
.mission {
  flex-basis: calc(50% - 20px);
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.vision h2,
.mission h2 {
  color: #047f87e3;
  margin-bottom: 20px;
}

.vision p,
.mission p {
  text-align: center;
}

.vision img,
.mission img {
  width: 50%;
}

@media (max-width: 370px) {
  .hero-content {
    padding: 5px 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    gap: 2.5rem;
  }

  #home {
    padding: 45px 0;
  }

  .vision,
  .mission {
    flex-basis: 100%;
  }

  .footer-content :nth-child(3) {
    align-items: center !important;
  }
}

/* Testimonials section */
.testimonials {
  overflow: hidden;
  /* background-color: #ffffff91; */
  padding: 50px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #333;
}

.testimonial-marquee {
  display: flex;
  width: 200%;
  /* Double the width to accommodate two sets of testimonials */
  animation: marquee 30s linear infinite;
  /* Adjust time as needed */
}

.testimonial-list {
  display: flex;
  width: 100%;
}

.testimonials h2 {
  color: #047f87e3;
}

.testimonial {
  flex: 0 0 300px;
  /* Adjust width as needed */
  margin-right: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

.testimonial cite {
  display: block;
  text-align: right;
  font-weight: bold;
  color: #333;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.testimonial-marquee:hover {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 905px) {
  .hero-headding {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 250px;
    /* Smaller width for mobile */
  }

  .testimonials h2 {
    font-size: 2em;
  }
}

/* Footer styles */
footer {
  color: #333;
  padding: 50px 0 20px;
  font-family: "Montserrat", sans-serif;
  position: relative;
  /* Add this */
  padding-top: 15rem;
}

footer::before {
  content: "";
  background: url("./Assets/footer.jpg") no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -9;
  overflow: hidden;
  /* opacity: 0.7; */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: start;
}

.footer-content :nth-child(3) {
  align-items: start;
}

.flex-col {
  flex-direction: column;
}

.footer-section {
  flex-basis: 45%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: left;
}

.footer-section li {
  list-style: none;
}

.footer-section h4 {
  font-family: "Sipping on Sunshine", cursive;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #f5f5f7;
  text-decoration: underline;
}

.footer-section p {
  color: #f5f5f7;
  margin-bottom: 10px;
}

.footer-section i {
  margin-right: 10px;
  color: #feb400;
}

.footer-section a {
  text-decoration: none;
  /* color: #1d1b18; */
  font-family: Montserrat;
  /* font-weight: 500; */
}

.social-icons {
  justify-content: space-between;
  flex-direction: row;
  gap: 0px;
}

.social-icons a {
  display: inline-block;
  margin: 0px 5px;
  color: #feb400;
  font-size: 1.5em;
  transition: color 0.3s ease;
  /* transition: transform 0.2s ease-in; */
}

.social-icons a:hover i {
  color: #1d1b18;
}

.footer-content :nth-child(3) {
  align-items: start;
}

.footer-section-para {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  /* width: 78%; */
  margin: auto;
}

.footer-section a:hover {
  color: #feb400 !important;
}

.footer-section ul li {
  margin-top: 5px;
}

.footer-section ul li a {
  color: #f5f5f7;
}

.white {
  color: #f5f5f7 !important;
}

.footer-bottom {
  border-top: 1px solid #ffdeb4;
  padding-top: 20px;
  text-align: center;
}

.view-more-button {
  display: none;
}

.footer-section ul {
  width: 7.9rem;
}

.footerlogo {
  height: 8vh;
}

/* Responsive design */
@media (max-width: 570px) {
  .hero p {
    font-size: 1.2rem !important;
  }

  footer::before {
    left: -56rem;
    top: 0;
  }
}

@media (max-width: 1025px) {
  .Britteny {
    font-size: 3rem !important;
  }
}

@media (max-width: 410px) {
  .footer-section-para {
    width: 10rem !important;
  }
}

@media (max-width: 830px) {
  .footer-section-para p:nth-of-type(3) {
    display: flex;
  }
}

@media (max-width: 925px) {
  nav ul li {
    margin-left: 0.5rem;
  }
  nav ul li a {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .footer-section-para {
    width: 20em;
    align-items: center;
  }

  .footerlogo {
    height: 7vh;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f5f5f7;
    padding: 20px;
  }

  .view-more {
    width: 50%;
    height: 125px;
    display: none;
  }

  .view-more-btn {
    width: 95vw;
    margin: auto;
  }

  .view-more-button {
    cursor: pointer;
    font-weight: 700;
    font-family: Helvetica, "sans-serif";
    transition: all 0.2s;
    padding: 1px 10px;
    border-radius: 100px;
    background: #feb400;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-left: 2.5rem;
  }

  .view-more-button a {
    text-decoration: none;
    padding: 20px 10px;
    color: #1d1d1f;
  }

  .view-more-button:hover {
    background: #feb400;
  }

  .view-more-button > svg {
    width: 34px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .view-more-button:hover svg {
    transform: translateX(5px);
  }

  .view-more-button:active {
    transform: scale(0.95);
  }

  nav ul.show {
    display: flex;
    gap: 0.6rem;
  }

  nav {
    margin: 10px 0;
  }

  .program {
    flex-basis: 100%;
  }

  h1 {
    font-size: 2.8em !important;
  }

  h2 {
    font-size: 2.2em;
  }

  h3 {
    font-size: 1.6em;
  }

  .hero h3 {
    font-size: 1.4em;
    margin-bottom: 4rem;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-section {
    flex-basis: 100%;
    text-align: center;
  }

  .program-content,
  .program-section {
    flex-direction: column;
  }

  .program-content img {
    width: 22rem;
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  footer {
    padding-top: 4rem;
  }

  footer::before {
    left: -26rem;
    background: #15426b;
  }
}

.comment {
  font-size: 0px;
}
