@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
}

a {
  color: #0077cc;
  text-decoration: none;
}

header.hero {
  background: #004466;
  color: white;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  /* center vertically */
  text-align: center;
  flex-direction: column;
  /* stack items vertically */
}

.responsive-form {
  position: relative;
  padding-bottom: 220%;
  /* adjust based on actual form height */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.responsive-form iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /* instead of 100% */
  max-width: 100%;
  /* ensures it never goes over */
  height: 100%;
  border: 0;
  border-radius: 12px;
  display: block;
}



.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}


.why-learn {
  background: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.why-learn h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-block {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.why-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.why-block img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.why-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #006699;
}

.why-block p {
  font-size: 1rem;
  color: #444;
}

.quote-block {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  padding: 3rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quote-block blockquote {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
  position: relative;
  padding-left: 2rem;
}



.quote-block footer {
  margin-top: 1rem;
  font-weight: bold;
  color: #006699;
  text-align: right;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.about-text {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  color: #222;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #006699;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 1.4rem;
}

.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  height: auto;
  max-height: 450px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Contact Section */
.contact {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.contact form {
  display: grid;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact button {
  padding: 0.8rem;
  background: #006699;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background: #004466;
}

.smallSpacer {
  height: 5vh;
}

.summer-special {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  padding: 4rem 2rem;
  color: #333;
}

.summer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.summer-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.summer-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.summer-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-block;
  background-color: #ff6600;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #cc5200;
}

.image-overlay {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.Blackout {
  width: 100%;
  height: 100%;
  background-color: black;
}

.image-overlay .bg {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  /* fill container height */
  width: auto;
  /* auto width to keep aspect ratio */
  transform: translate(-50%, -50%);
  /* center vertically and horizontally */
  object-fit: contain;
  z-index: 0;
}


.image-overlay .overlay {
  position: absolute;
  top: 0%;
  left: 0%;
  right: 5%;
  bottom: 5%;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #ddd;
}


/* Slider Code */

#designProcess h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-align: left;
  color: #004466;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px #0090c0;
  margin-bottom: 2rem;
  padding-left: 2rem;
}


#designProcess {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 2rem 0;
  background-color: #ffffff;
  /* white */

  background-image:
    linear-gradient(to right, #a0c4ff 2px, transparent 2px),
    linear-gradient(to bottom, #a0c4ff 2px, transparent 2px);

  background-size: 30px 30px;
  /* size of each grid square */
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.doodles {
  z-index: 1;
}

.detailed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  transition: clip-path;
}


.detailed-wrapper:hover {
  filter: none;
}

.detailed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  /* wider so easy to drag */
  height: 100%;
  cursor: ew-resize;
  z-index: 3;
  user-select: none;
  transform: translateX(-50%);
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  /* disable events on this container so only slider line or icon catches it */
}

.slider-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  /* thin line */
  height: 100%;
  background: repeating-linear-gradient(to bottom,
      #000 0px,
      #000 6px,
      transparent 6px,
      transparent 12px);
  pointer-events: auto;
  /* enable dragging on line */
}

.slider-icon {
  width: 100px;
  height: 100px;
  background: url('SliderArrow.svg') no-repeat center center;
  background-size: contain;
  pointer-events: auto;
  /* enable dragging on icon */
}



.process-text {
  position: absolute;
  top: 10%;
  left: 2rem;
  max-width: 340px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  z-index: 4;
  transition: left 0.3s ease, right 0.3s ease;
  color: #333;
}


#processText h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #006699;
}

#processText p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

#processText ul {
  padding-left: 1.2rem;
  margin: 0;
}

#processText li {
  margin-bottom: 0.25rem;
  list-style-type: disc;
}

.process-text-mobile {
  display: none;
}



/* Responsive Layout */
@media (max-width: 768px) {

  .about {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .about-text {
    padding: 2rem 1.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-img img {
    max-height: 300px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .summer-container {
    grid-template-columns: 1fr;
  }

  .summer-text h2 {
    font-size: 2rem;
  }

  /* Hide overlay on mobile */
  .process-text {
    display: none !important;
  }

  #designProcess h2 {
    font-size: 1.5rem;
  }

  .process-text-mobile {
  display: block;
  max-width: 90%;
  margin: 1rem auto 2rem auto;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;           /* added bold */
  color: var(--TEXTBLACK);
  background-color: var(--SUNSHINE);
  border-top: 2px solid var(--TEXTBLACK);
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  line-height: 1.5;
  }
}