
.map_section,
.section {
  padding: 0rem var(--padding);
}
.section {
  max-width: var(--max-width);
}
iframe {
  width: min(100%, 1227px);
  margin: auto;
}
.contact-section {
  background: var(--primary-color);
  
  padding-top: clamp(3rem, 8vw, 7.125rem);/* min 64px → max 148px */
    padding-bottom: clamp(4rem, 10vw, 9rem); /* min 64px → max 148px */

}
.padding{
  padding-bottom: clamp(4rem, 10vw, 9rem);
  padding-top: clamp(4rem, 10vw, 9rem);
}

.contact {
  gap: 3.5rem;
  padding: 0 var(--padding);
  max-width: var(--max-width);
  margin: auto;
}
.contact-left .child :is(p, h3),
.contact-right .child h3 {
  color: var(--header-color);
}
.contact-icon{
  flex-shrink: 0;
}
.contact-right .child {
  height: 84px;
  display: flex;
  align-items: center;
  margin: 0 0 1.5rem 0;
}
.contact-right h3 {
  margin-top: 1.2rem;
}

.contact-left .child > .icon {
  flex-shrink: 0;
}

.contact-left .child {
  display: flex;
  align-items: center;
 padding: clamp(1.2rem, 1.5vw, 1.5rem) 0;
  gap: 1.3rem;
  
  border-bottom: 1px solid #ffffff10;
  
}
.contact-left .child:first-child {
  margin-left: 0px;
  padding-top: 0;
  border-bottom: none;
}

.contact-left .child:last-child {
  border-bottom: none;
  
}

.wpcf7-form {
  padding: 2.3rem;
 
  width: clamp(270px, 100%, 708px);
  background-color: var( --third-color);
}
.wpcf7-form  input, .wpcf7-form textarea {
  margin-bottom: 20px;
  width: 100%;
 font-size: clamp(12px,1vw,16px);
  background: var(--header-color);
  background-color: #ffffff;
 
  padding: clamp(6px, .6vw, 10px) clamp(0.75rem, 2vw, 2rem);
 

}
input{
  
  height: clamp(30px, 3.1vw, 53px);
}
textarea {
  height: 149px;
}

.wpcf7-list-item.first.last  input[type="checkbox"] {
  height: auto;
  width: auto;
  font-size: clamp(12px,1vw,16px);
}


.sub-checkbox-div>p{
  display: flex;
 justify-content: space-between;
}
.form-btn{
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
}

.wpcf7-submit{

  background: linear-gradient(black,red); /* Fallback color */
  color: #fff;
  padding: clamp(12px, 1.5vw, 17px) clamp(20px, 3vw, 44px);
  border: none;
  height: auto;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 45, 0.2);
}
label {
  vertical-align: top;
}
.custom-btn {
  position: relative;
  background-color: var(--button-color, #00712d); /* Fallback color */
  color: #fff;
  padding: clamp(12px, 1.5vw, 17px) clamp(20px, 3vw, 44px);
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: "Noto Sans", sans-serif;
  cursor: pointer;
  overflow: hidden; /* Needed for ::before to stay within bounds */
  z-index: 1;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 45, 0.2);
}

.custom-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 113, 45, 0.2);
}

/* Animated overlay */
/* .custom-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
  z-index: -1;
} */
.btn {
  background-color: var(--secondary-color, #00712d);
}
/* Show overlay on hover */
/* .custom-btn:hover::before {
  transform: scaleX(1);

  transform-origin: left;
} */

/* Ensure text stays on top of ::before */

/*   
  .custom-btn:active {
    transform: scaleX(1);
    box-shadow: 0 2px 6px rgba(0, 113, 45, 0.2);
  } */

.media-list,
#post-preview {
  background-color: var(--primary-color);
}

.media-list :is(a, p, span) {
  color: var(--header-color);
}

.school__events {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 10px;
  grid-template-rows: repeat(4, auto); /* 4 rows */
  grid-template-areas:
    "science-fair quiz-competition"
    "science-fair archery"
    "math-olympiad archery"
    "math-olympiad reading-challenge";
}

#science-fair {
  grid-area: science-fair;
  /* aspect-ratio: 605 / 612 */
}
#quiz-competition {
  grid-area: quiz-competition;
  aspect-ratio: 121 / 59;
}
#archery {
  grid-area: archery;
  aspect-ratio: 605 / 612

}
#math-olympiad {
  grid-area: math-olympiad;
  /* aspect-ratio: 605 / 612 */

}
#reading-challenge {
  grid-area: reading-challenge;
  aspect-ratio: 121 / 59;
}

.lines {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.character {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-title {
 
  width: 50%;
  text-align: center;
}

.title__moto {
  color: var(--primary-color);
  font-weight: 600;
}

.bg-image {
  width: clamp(300px,32vw,500px);
  height: clamp(300px,32vw,500px);
  background-color: var(--fifth-color);
}

#guided {
  margin-top: 0;
}

.cirriculum-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  row-gap: 2px;
  
}

.curriculum-image {
  aspect-ratio: 1;
}
.heading{
  font-size: clamp(30px,4vw,60px) ;
  font-family: "Vancouver", sans-serif;
  color:var( --font-color-primary);
  text-transform: capitalize;
}
.sub-heading {
  font-size: clamp(20px,2vw,32px);
  font-family: "Vancouver", sans-serif;
  
  font-weight: 450;
}


.color-green {
  color: var(--primary-color);
}

.body-text {
  font-size: clamp(12px,1vw,16px);
}

/* Landing slider animation */
#landing-slider {
  
  position: relative;
  animation: slideUp 1.2s ease-out forwards;
  animation-delay: 0.5s; /* starts after header */
}
.animate-section-x-positive {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: all 0.8s ease-out;
}
.animate-section-y-positive {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.8s ease-out;
}
.animate-section-y-positive-pure {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.animate-section {
  opacity: 0;
  transform: translateX(-100%) scale(1);
  transition: all 0.8s ease-out;
}

.animate-section.active {
  opacity: 1;
  transform: translateX(0) scale(1); /* slide in */
}


.animate-section-x-negative {
  opacity: 0;
  transform: translateX(-50px) scale(0.95);
  transition: all 0.8s ease-out;
}
.animate-section-y-negative {
  opacity: 0;
  transform: translateY(-50px) scale(0.95);
  transition: all 0.8s ease-out;
}

.parallax-section {
  /* background: url('https://picsum.photos/1200/800') center/cover no-repeat; */
  height: 100vh;
  position: relative;
}

.parallax-section .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3rem;
}




@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.marquee {
  display: inline-block;
  white-space: nowrap;
  /* position: absolute; */

  will-change: transform;
  /* animation: marquee 30s linear infinite; */
  --items: 10;
  --item-width: 35;   /* pretend each item ≈ 20 characters wide */
  --speed: 0.12s;      /* time per character/item unit */

  animation: marquee calc(var(--items) * var(--item-width) * var(--speed)) linear infinite;
}
.paused{
  animation-play-state: paused !important;
}

.notification-label{
  background-color: var(--primary-color);
}
@keyframes marquee {
  
  to {
    transform: translateX(-50%);
  }
}


@media (max-width: 768px) {
  .school__events {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    grid-template-areas:
      "science-fair"
      "quiz-competition"
      "archery"
      "reading-challenge"
      "math-olympiad";
  }
  .sub-checkbox-div>p{
    flex-direction: column;
  }
.form-btn{
  flex-direction: row;
}

}



