.main-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  overflow: hidden;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header-logos {
  display: flex;
  align-items: center;
  width: 250px;
}

.ornament-logo {
  height: 120px;
  width: 120px;
  border-radius: 50%;
}

.main-nav {
  position: relative;
}

.desktop-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* Allows wrapping if the screen size is too narrow */
  gap: 15px;
  justify-content: center; /* Centers items horizontally */
  margin: 0;
  padding: 0;
}

.desktop-menu li {
  flex: 1; /* Ensures even spacing */
  min-width: 100px; /* Prevents items from becoming too small */
  text-align: center;
}

.desktop-menu li a {
  text-decoration: none;
  color: #008000;
  padding: 8px 7px;
  border: 1px solid transparent;
  display: block; /* Ensures links behave like blocks for better spacing */
 font-size: 1em; /* increased from ~1em */
  font-weight: bold; 
}

.desktop-menu li a:hover {
  border: 1px solid #008000;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.hidden-mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #f0f0f0;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hidden-mobile-menu.active {
  display: flex;
}

.hidden-mobile-menu ul {
  list-style: none;
  width: 100%;
  text-align: center;
}

.hidden-mobile-menu li a {
  text-decoration: none;
  color: #00796b;
  font-size: 1.1em; 
  font-weight: bold;
  padding: 12px;
  display: block;
  width: 100%;
  transition: background-color 0.3s ease;
}

.hidden-mobile-menu li a:hover {
  background-color: #e0f2f1;
  color: #004d40;
  border-radius: 8px;
}

.tree-container {
  flex: 1;
  text-align: center;
}

.tree-container img {
  width: 80%;
}

.content-container {
  flex: 2;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-two {
  max-width: 800px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.content-two h2 {
  font-size: 1.5em;
  color: #d32f2f;
}

.sponsor-section {
  padding: 20px;
  background-color: #e2ebee;
  text-align: center;
}

.sponsor-section h2 {
  margin: 10px 0;
  font-size: 2.5em;
  color: #4a4a4a;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  content-visibility: auto;
  contain-intrinsic-size: 600px 600px;
}

.sponsor-logo-item {
  width: 200px;
}

.sponsor-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, #f7f7f7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

footer {
  background-color: #222;
  color: #e5e5e5;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Avenir', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

/* Contact Form Section */
.footer-contact-form-section {
  background-color: #f9f9f918;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-contact-form input, .footer-contact-form textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #888;
  font-size: 1.1em;
  color: #222;                
  background-color: #fff;
}

.footer-contact-form input:focus, .footer-contact-form textarea:focus {
  border-color: #004d40;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 121, 107, 0.3);
}

.submit-button {
  background-color: #008000;
  color: #ffffff;
  padding: 15px;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  background-color: #004d00;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.submit-button:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 85, 0, 0.4);
}


.contact-info-section h2, .contact-form-section h2 {
  color: #f1f1f1;
  margin-bottom: 15px;
}

.contact-info-section p {
  margin: 8px 0;
  font-size: 1.1em;
  filter: brightness(1);
}

.social-media-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-media-links img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fcfdfc36;
  text-decoration: none;
  box-shadow: 0 1px 0 currentColor;
  padding-bottom: 2px;
}

.social-media-links img:hover, .social-media-links img:focus {
  color: #fcfdfc;
}

footer p {
  margin-top: 20px;
  font-size: 0.9em;
  color: #999;
}

footer a {
  color: #b3b3b3;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}



.blueline-effect {
  width: 100%;
  background-color: #2a2975; /* Solid blue color */
  text-align: center;
  padding: 10px 0; /* Padding for the text */
}

.blueline-effect a {
  text-decoration: none;
}

.blueline {
  color: #ffffff; /* White text color for better contrast */
  font-family: 'Avenir Block', sans-serif;
  font-size: 1.2em;
  font-weight: bold;
}

.blueline h6 {
  margin: 0;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f9f9f9;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.slide {
  position: relative;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
  background-color: #f5f5f5;
}

.slide-background {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide-one-logo-container,
.dropdown-banner-container,
.video-control-button {
  position: relative;
  z-index: 1;
}

/* for video */
.slide-one {
  position: relative;
  z-index: 1;
}

.no-results-message {
  background: #fff;
  border: 1px dashed #008000;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
}

.slide-one-bg {
  position: absolute;
  inset: 0;
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat;
  z-index: 0;
}

.slide-one-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


.slide-one-logo {
  max-width: 50%; 
  max-height: 80%; 
  width: auto;
  height: auto;
}

.slide-four {
  background-image: url("besantashelper.jpg");
  background-color: #ffffff;
  background-size: cover;
  background-position: left center;
    background-repeat: no-repeat;
    display: block;
}

.slide-five {
  background-color: #eae4ed;
}

.slide-three {
    --s3-top: 6%;
  --s3-left: 6%;
  --s3-width: 48%;
  --s3-cta-right: 4%;
  --s3-cta-bottom: 4%;
    display: block;
}


.slide-three-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-three-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;   
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.85);
  transform: scale(1.08);      /* hide blur edge */
  z-index: 0;
}

.slide-three-foreground {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;         
  display: block;
  z-index: 1;
}

.slide-three .s3-top-left {
  position: absolute;
  top: var(--s3-top, 6%);
  left: var(--s3-left, 6%);
  width: var(--s3-width, 48%);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 0.25rem;
}

.slide-three .s3-headline {
  margin: 0;
  font-family: 'Avenir Block', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  font-size: var(--s3-fs, clamp(3rem, 5vw, 3.2rem));
  line-height: 1.12;
  max-width: var(--s3-maxch, 28ch);
}

.slide-three .s3-bottom-right {
  position: absolute;
  right: var(--s3-cta-right, 4%);
  bottom: var(--s3-cta-bottom, 4%);
  z-index: 2;
  text-align: right;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}



.goal-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #004193;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  font-family: 'Avenir', sans-serif;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.donation-call {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-family: 'Avenir', sans-serif;
  letter-spacing: 1.2px;
  line-height: 1.3;
  z-index: 2;
}

.donation-call-button {
  background-color: #0042937e;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  padding: 5px 15px;
  border: none;
  border-radius: 35px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.donation-call-button:hover {
  background-color: #003366;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.donation-call-button:active {
  transform: translateY(2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid white;
  border-radius: 2em;
}

.donation-slide-container {
  width: 100%;
  height: 70vh;
  background-color: white;
  background-image: url("Helpusreachourgoal.jpg");
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.progress {
  width: 100%;
  background: radial-gradient(circle, #f7f7f7, #e0e0e0);
  border-radius: 50px;
  overflow: hidden;
  height: 50px;
  margin: 20px 0;
  border: #999 solid 2px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to bottom, #4caf50, #388e3c);
  text-align: center;
  line-height: 50px;
  color: white;
  box-shadow: inset 0px -3px 5px rgba(0, 0, 0, 0.2), 0px 3px 8px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  position: relative;
}

.progress-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.helper-banner, .donation-banner {
  position: absolute;
  top: 5%;
  width: 100%;
  background: linear-gradient(to left, rgba(243, 236, 236, 0.8), rgba(243, 236, 236, 0.5), rgba(243, 236, 236, 0));
  padding: 20px;
  border-radius: 10px;
}

.helper-banner a, .donation-banner a {
  text-decoration: none;
}

.child-card-header {
  background: linear-gradient(to right, rgba(243, 236, 236, 0.8), rgba(243, 236, 236, 0.5), rgba(243, 236, 236, 0));
  padding: 10px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-align: right;
  color: #4a4a4a;
}

.santa-helper, .donation-helper {
  font-size: 2.2em;
  font-weight: 700;
  color: #4a4a4a;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  font-family: 'Avenir', sans-serif;
  letter-spacing: 1.2px;
  line-height: 1.3;
  text-align: right;
}

.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.8em;
  color: #555;
  text-decoration: none;
  font-family: 'Avenir', sans-serif;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.photo-credit:hover {
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
}

.dropdown-banner-container {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.banner-stick {
  width: 120px;
  height: 8px;
  background-color: #da2e2d;
  margin-bottom: -5px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.2);
}

.days-until-christmas-banner {
  width: 150px;
  background-color: #2e6047;
  color: white;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 10px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.days-until-christmas-banner::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #da2e2d;
}

.sponsor-button {
  background-color: #aa8364;
  color: white;
  font-size: 1.5em;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: 'Avenir', sans-serif;
}

.sponsor-button:hover {
  background-color: #6b7458;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.sponsor-button:active {
  transform: translateY(0);
}

.collage-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  width: 50%;
  position: absolute;
  left: 10%;
  bottom: 0;
  z-index: 10;
}

.collage-item {
  width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.collage-item:hover {
  transform: scale(1.1);
}

.bottom-right-image {
  display: block;
  position: absolute;
  bottom: 10px;
  right: 100px;
  width: 25%;
  height: auto;
  z-index: 1;
}

.slide-two {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.slide-two-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;         
  background-position: center;
  background-repeat: no-repeat;
}

.slide-two-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;       /* reuses the same background image */
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.85);
  transform: scale(1.08);          /* hide blur edge */
  z-index: 0;
}

.slide-two-foreground {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;             /* <-- key: shows the whole image */
  display: block;
  z-index: 1;                      /* above the blurred backdrop */
}

/* ===== Base mappings: components read from variables ===== */

/* share the hero height */
.slider-wrapper,
.donation-slide-container,
.hidden-container {
  height: var(--hero-h, 70vh);
}

/* slide-two base maps */
.slide-two .slide-two-text {
  top: var(--s2-top, 18%);
  left: var(--s2-left, 6%);
  width: var(--s2-width, 45%);
  position: absolute;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 0.25rem;
  z-index: 2;
}

.slide-two .slide-two-headline {
  font-family: 'Avenir Block', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  font-size: var(--s2-fs, clamp(1.1rem, 4.6vw, 2.6rem));
  line-height: var(--s2-lh, 1.15);
  margin: 0;
  max-width: var(--s2-maxch, 28ch);
}

.slide-two-comingsoon {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: var(--s2-btn-bottom, 4%);
  display: inline-block;
  text-align: center;
  z-index: 2;

  font-family: 'Avenir Block', sans-serif;
  font-weight: 800;
  color: #ffffff;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  border-radius: 9999px;
  padding: var(--s2-btn-pad, 0.55rem 1rem);

  font-size: var(--s2-btn-fs, clamp(0.9rem, 3vw, 1.15rem));
  line-height: 1.1;
  white-space: normal;
}


.clickable {
  cursor: pointer;
}

/* Styles the button container for desktop view */
.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ===== Slide Two modal (scoped) ===== */
.s2-modal-backdrop {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: rgba(17, 24, 39, 0.60);           /* softer, darker overlay */
  backdrop-filter: blur(2px);                    /* subtle blur */
  z-index: 1000;
  animation: s2-fade-in 160ms ease-out;
}

.s2-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  width: min(92vw, 560px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 6px 18px rgba(0, 0, 0, 0.18);
  position: relative;
  transform: translateY(6px) scale(0.98);
  animation: s2-pop 160ms ease-out forwards;
}

.s2-modal-title {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 22px);
  letter-spacing: 0.2px;
  color: #111827;
}

.s2-modal-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Keep your global .btn; these are just Slide Two refinements */
.s2-btn {
  border-radius: 9999px;             /* pill */
  padding: 12px 18px;
  line-height: 1.1;
  font-weight: 800;
  font-size: 15px;
  border: none;
  box-shadow: 0 2px 0 rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 80ms ease, filter 80ms ease, box-shadow 80ms ease;
}

.s2-btn:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.s2-btn-primary { background: #b30000; color: #fff; }
.s2-btn-primary:hover { filter: brightness(0.95); transform: translateY(-1px); }

.s2-btn-secondary { background: #0a7a0a; color: #fff; } /* a hair darker for contrast */
.s2-btn-secondary:hover { filter: brightness(0.96); transform: translateY(-1px); }

.s2-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  background: transparent;
  border: 0;
  color: #111827;
  cursor: pointer;
  transition: background 120ms ease;
}
.s2-modal-close:hover { background: rgba(0,0,0,0.06); }


/* Small screens: comfy edges */
@media (max-width: 480px) {
  .s2-modal-card {
    border-radius: 14px;
  }
}

/* Animations */
@keyframes s2-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes s2-pop { to { transform: translateY(0) scale(1) } }


/* Styles the sponsor buttons */
.slide-two-sponsor-button {
  background-color: #aa8364;
  color: white;
  font-size: 1.5em;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: 'Avenir', sans-serif;
}

.slide-two-sponsor-button:hover {
  background-color: #6b7458;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.slide-two-sponsor-button:active {
  transform: translateY(2px);
}

.diagonal-section {
  position: relative;
  flex: 1;
  overflow: hidden;
  transform: skewX(-10deg);
  
}

.diagonal-image, .santa-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewX(10deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.santa-image {
  object-fit: contain;
  height: 100%;
}

.diagonal-section:hover .diagonal-image, .diagonal-section:hover .santa-image {
  transform: skewX(10deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.diagonal-one {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.diagonal-two {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.diagonal-three {
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 10% 100%);
}

.program-banner {
  position: absolute;
  top: 0px;
  padding: 20px 30px;
  text-align: center;
}

.program-text {
  font-size: 2em;
  font-weight: bold;
  color: #004193;
  font-family: 'Avenir', sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.bottom-banner {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 30px;
  text-align: center;
}

.coming-soon-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  position: absolute;
  bottom: 0; /* Position at the bottom of the container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust to truly center */
}

.coming-soon-text {
  font-size: 1.5em; /* Match with the top heading */
  font-weight: bold;
  color: #004193;
  font-family: 'Avenir', sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.2px;
}

.coming-soon-text-mobile {
  font-size: 1em;
  font-weight: bold;
  color: #c42f29;
  font-family: 'Avenir', sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.2px;
}

.coming-soon-Label {
  color: red;
}

.team-grid {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 50%;
}

.team-member {
  position: absolute;
  text-align: center;
  transform-origin: 50% 50%;
}

.member1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 13%;
  transform: translate(-50%, 0);
}

.member2 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 87%;
  transform: translate(-50%, 0);
}

.member3 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: 60%;
  transform: translate(-50%, 0);
}

.member4 {
  width: 300px;
  height: 300px;
  top:97%;
  left: 75%;
  transform: translate(-50%, -100%);
}

.member5 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: 40%;
  transform: translate(-50%, 0);
}

.member6 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 25%;
  transform: translate(-50%, 0);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, clip-path 0.3s ease;
}

.member1 .team-photo {
  clip-path: polygon(10% 0%, 90% 0%, 100% 90%, 0% 100%);
}

.member2 .team-photo {
  clip-path: polygon(20% 0%, 80% 0%, 100% 70%, 0% 100%);
}

.member3 .team-photo {
  clip-path: polygon(0% 10%, 100% 0%, 100% 80%, 10% 100%);
}

.member4 .team-photo {
  clip-path: polygon(15% 0%, 85% 10%, 90% 100%, 5% 90%);
}

.member5 .team-photo {
  clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 10% 100%);
}

.member6 .team-photo {
  clip-path: polygon(5% 0%, 95% 5%, 90% 95%, 0% 90%);
}

.team-member:hover .team-photo {
  transform: scale(1.05);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.team-name {
  margin-top: 5px;
  font-size: 0.9em;
  color: #333;
  background-color: #ffeaa7;
  padding: 5px;
  border-radius: 8px;
}



.meet-the-team-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 2em;
  color: #004193;
  font-family: 'Avenir', sans-serif;
  background-color: rgba(255, 255, 255, 0.323);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-item-coming-soon {
  position: relative;
}

.coming-soon-label {
  position: absolute;
  top: -17px;
  right: 0;
  background-color: #c1272d;
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
  margin-right: 10px;
  margin-top: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.donation-container {
  max-width: 1200px;
  margin: 75px auto;
  padding: 20px;
  text-align: center;
  color: #4a4a4a;
}

.donation-header h1, .donation-content h2 {
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  text-align: center;
  margin-bottom: 20px;
}

.donation-header h1 {
  font-size: 2.5em;
  font-weight: bold;
}

.donation-content h2 {
  font-size: 1.8em;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.donation-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  text-align: left;
}

.donation-text, .donation-image-container {
  flex: 1;
  min-width: 300px;
}

.donation-text p {
  margin: 0;
}

.donation-image-container {
  position: relative;
  flex: 1;
  min-width: 300px;
  overflow: hidden;
}

.donation-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.donate-button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px;
  width: 30%;
}

.donate-button:hover {
  background-color: #45a049;
}


.checkout-button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 30px;
  width: 30%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.donate-button:hover {
  background-color: #45a049;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #000;
  color: #fff;
  padding: 10px;
  z-index: 1000;
}

.skip-link:focus {
  position: static;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Block', sans-serif;
}

.donation-component-container {
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donation-component-header {
  text-align: center;
  font-family: 'Avenir Block', sans-serif;
  font-size: 1.2em;
  color: #004193;
  margin-bottom: 20px;
}

.donation-component-input {
  display: flex;
  justify-content: center;
  align-items: center;
}

.donation-component-input-label-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.donation-component-input-container {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  background-color: #ffffff;
  width: 100%;
}

.donation-component-input-field {
  width: 100%;
  padding: 10px;
  border: none;
  font-size: 1.2em;
  color: #004193;
  text-align: right;
}

.donation-component-currency-symbol {
  font-size: 1.2em;
  color: #004193;
  margin-left: 5px;
}

.sponsorship-component-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sponsorship-component-item select {
  margin: 10px;
  padding: 8px;
  border-radius: .5em;
}

.sponsorship-component-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.sponsorship-component h2 {
  font-family: 'Avenir Block', sans-serif;
  font-size: 1.6em;
  color: #004193;
}

.sponsorship-component-price {
  font-size: 1.5em;
  color: #008000;
  margin: 10px 0;
  font-weight: bold;
}

.sponsorship-component-description {
  font-size: 1em;
  color: #333;
  margin-bottom: 15px;
}

.sponsorship-component label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.sponsorship-component select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.sponsorship-component p {
  font-size: 1em;
  color: #333;
  margin-top: 10px;
}

.sponsorship-options-component {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
  padding: 20px;
  margin: 20px;
}

.SponsorOptionPage h3 {
  font-family: 'Avenir Block', sans-serif;
  font-size: 1.4em;
  color: #004193;
  margin: 30px;
  text-align: center;
}

.cart-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-container h3, .cart-container h4 {
  text-align: center;
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  margin-bottom: 20px;
}

.cart-items {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: left;
}

.cart-items li {
  padding: 10px;
  background-color: #ffffff;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.billing-container-form {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.billing-container-form-field {
  margin-bottom: 20px;
}

.billing-container-form-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #004193;
}

.billing-container-form-field input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1.1em;
  color: #004193;
  background-color: #fff;
}

.billing-container-form-field input:focus {
  border-color: #004193;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 65, 147, 0.3);
}

.billing-form-field-submit-button {
  background-color: #008000;
  color: white;
  padding: 15px;
  font-size: 1.2em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.billing-form-field-submit-button:hover {
  background-color: #076807fb;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.billing-form-field-submit-button:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 65, 147, 0.4);
}

.contact-cart-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-cart-container h3 {
  text-align: center;
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  margin-bottom: 30px;
}

.contact-cart-form .contact-cart-form-field {
  margin-bottom: 20px;
}

.contact-cart-form-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #004193;
}

.contact-cart-form-field input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1.1em;
  color: #004193;
  background-color: #fff;
}


.contact-cart-form-field input:focus {
  border-color: #004193;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 65, 147, 0.3);
}

.contact-cart-checkbox-field {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-cart-checkbox-field label {
  display: flex;
  align-items: center;
  font-weight: normal;
  color: #333;
  margin-left: 10px;
}

.contact-cart-checkbox-field input[type="checkbox"] {
  margin-right: 10px;
}

.hidden-container {
  width: 100%;
  height: 70vh;
}

/* Error message styling */
.error-text {
  color: #d32f2f;
  font-size: 0.9em;
  margin-top: -5px;
}

/* Success message styling */
.success-text {
  color: #2e7d32;
  font-size: 1.1em;
}

/* Feedback focus styles */
.contact-form input:focus:valid, 
.contact-form textarea:focus:valid {
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}


.child-card-container {
  flex-basis: calc(20% - 20px);
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.child-name {
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  font-size: 1.5em;
  margin: 0;
}

.child-ticket-number, .child-gender {
  color: #333;
  font-size: 1em;
}

/* Body Styles */
.child-card-body {
  color: #4a4a4a;
}

.child-card-body p,
.child-card-body label {
  margin: 10px 0;
  font-size: 1.1em;
}

.child-card-body strong {
  color: #008000;
}

/* Checkbox Styling */
input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #004193; /* Custom checkbox color */
}

/* Quantity Input Styling */
.child-card-body input[type="number"] {
  width: 50px;
  padding: 5px;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-left: 10px;
  text-align: center;
}

.child-card-body input[type="number"]:focus {
  border-color: #008000;
  box-shadow: 0 0 5px rgba(0, 128, 0, 0.3);
}

/* Select All Checkbox */
.child-card-header label {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #004193;
  margin-top: 10px;
}

/* Ensure spacing for nested checkboxes */
.child-card-body > div {
  margin: 10px 0;
}

/* Quantity input wrapper */
.child-card-body label div {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.child-card-body label input[type="checkbox"] {
  margin-right: 10px;
}

/* Hover and Focus States */
.child-card-container:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"]:focus {
  outline: 2px solid #008000;
}

input[type="number"]:focus {
  outline: none;
}

.child-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 20px;
}

.sponsor-checkout-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  font-family: 'Avenir', sans-serif;
}

/* .contact-info-section {
  margin: 30px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2 {
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  font-size: 1.5em;
  margin-bottom: 15px;
} */

.form-field {
  margin-bottom: 15px;
}

.form-field label {
  font-size: 1.1em;
  color: #004193;
  margin-bottom: 5px;
  display: block;
}

.form-field input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1.1em;
}

.form-field input:focus {
  border-color: #008000;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 128, 0, 0.3);
}

.checkout-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-section h2 {
  font-family: 'Avenir Block', sans-serif;
  color: #004193;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.checkout-section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.checkout-section li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.checkout-section button {
  background-color: #008000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
}

.checkout-section button:disabled {
  background-color: #ccc;
}

.checkout-section button:hover:enabled {
  background-color: #005500;
}

.error {
  color: #d32f2f;
  margin-top: 15px;
}


/* Container Styling */
.sponsorship-checkout-container {
  max-width: 100%;
  padding: 20px;
  background-color: #f9f9f9;
  font-family: 'Avenir', sans-serif;
  color: #555;
}

/* Header Styling */
h1 {
  color: #004193;
  font-family: 'Avenir Block', sans-serif;
  text-align: center;
  margin-bottom: 25px;
}

/* Filter Section */
.filter-section {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
  max-width: 100%;
}

.filter-section input {
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 200px;
  transition: border-color 0.3s;
}

.filter-input {
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* width: 50%; */
  box-sizing: border-box;
  margin-top: 4px;
}

.filter-section input:focus {
  border-color: #008000;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 128, 0, 0.3);
}

/* Child Card Grid */
.children-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Child Card Styling */
.child-card {
  background-color: #ffffffb0;
  border-radius: 10px;
  border: #0000003d .5px solid;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.child-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.child-card h2 {
  font-size: 1.4em;
}

.child-card p {
  font-size: 1em;
  color: #555;
  margin-bottom: 10px;
}

.select-all-checkbox {
  margin-top: 10px;
  font-size: 0.9em;
}

/* Checkbox Styling */
input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #004193;
}

.item-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.9em;
}

.selected-items-container {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 0 auto;
}

.selected-items-container h2 {
  color: #333;
  font-family: 'Avenir', sans-serif;
  font-size: 1.4em;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
}

.selected-items-section {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.selected-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 15px;
  font-size: 0.9em;
  color: #4b5563;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.selected-item:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.selected-item h3 {
  color: #111827;
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 8px;
}

.selected-item p {
  font-size: 0.9em;
  color: #6b7280;
  margin-bottom: 8px;
}

.button-wrapper {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.remove-item-button, .remove-all-button {
  background-color: #4b5563;
  color: #f9fafb;
  padding: 6px 10px;
  font-size: 0.8em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.remove-item-button:hover {
  background-color: #374151;
}

.remove-all-button {
  background-color: #ef4444;
}

.remove-all-button:hover {
  background-color: #dc2626;
}


/* Contact Form */
.contact-form {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.contact-form h2 {
  color: #004193;
  font-family: 'Avenir Block', sans-serif;
  text-align: center;
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-size: 1em;
  color: #004193;
  margin-bottom: 5px;
}

.contact-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}

.contact-form input, .contact-form textarea {
  background-color: #f1f1f1;
  color: #222;
  border: 1px solid #bbb;
}




.contact-form input:focus {
  border-color: #004d40;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 121, 107, 0.3);
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #007000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005500;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.pagination-button {
  width: 150px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-family: 'Avenir Block', sans-serif;
  color: white;
  background-color: #008000;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pagination-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-button:hover:not(:disabled) {
  background-color: #005500;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pagination-prev {
  border-radius: 25px 0 0 25px;
}

.pagination-next {
  border-radius: 0 25px 25px 0;
}

.consent-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #333;
}

.consent-container label {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  font-size: 1em;
  gap: 8px; /* Small indent between checkbox and text */
}

.consent-container input[type="checkbox"] {
  accent-color: #008000; /* Match your theme color */
 margin: 0px;
}

/* Math Confirmation Container Styling */
.math-confirm-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.9em;
  color: #004d40; /* Adjust to match your theme */
}

.math-confirm-container label {
  font-size: 1em;
}

.math-confirm-container input[type="number"] {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  width: 150px; /* Adjusted width to fit small input */
}

/* Focus Styles for Consent and Math Confirmation Fields */
input[type="checkbox"]:focus,
input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(0, 121, 107, 0.3); /* Or your preferred color */
  border-color: #00796b; /* Optional: match your theme */
}

.processing-indicator {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.processing-indicator .spinner {
  margin-right: 5px;
}

.checkbox {
  text-decoration: underline;
}

.checkbox input {
  width: auto;
}

.consent-container input {
  width: auto;
}

.video-control-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black for visibility */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.video-control-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.sponsorship-instructions {
  max-width: 800px;
  margin: 40px auto 40px;
  padding: 20px;
  background-color: #f9f9f981;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Avenir', sans-serif;
  color: #4a4a4a;
}

.sponsorship-instructions h2 {
  color: #004193;
  font-size: 2em;
  font-family: 'Avenir Block', sans-serif;
  text-align: center;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.sponsorship-instructions h3 {
  color: #d32f2f;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sponsorship-instructions p, .sponsorship-instructions li {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.sponsorship-instructions ul {
  list-style-type: disc;
  padding-left: 20px;
}

.sponsorship-instructions address {
  font-style: normal;
  line-height: 1.6;
  margin-top: 10px;
  color: #333;
}

.sponsorship-instructions strong {
  color: #008000;
}

.sponsorship-instructions a {
  color: #004193;
  text-decoration: none;
}

.sponsorship-instructions a:hover {
  text-decoration: underline;
}

.sponsorship-instructions-continue-button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 20px auto 0;
  padding: 12px 20px;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #008000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-family: 'Avenir', sans-serif;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsorship-instructions-continue-button:hover {
  background-color: #005500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sponsorship-instructions-continue-button:active {
  transform: translateY(2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.floating-tab {
  position: fixed;
  top: 120px;
  right: 0;
  z-index: 1000;
  background-color: #008000;
  color: #ffffff;
  border: none;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 2s ease, width 2s ease; /* Slower transition */
  overflow: hidden;
  padding: 5px;
}

.arrow, .collapse-arrow {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  margin: 5px;
}

.cookie-consent-banner {
  width: 100%;
  padding: 10px;
  background-color: #f4f4f4;
  text-align: center;
  position: relative;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('images/parchment-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 20px;
}

.letter-background {
  background: url('images/scroll-bg.jpg') no-repeat center center;
  background-size: contain;
  padding: 60px 40px;
  width: 700px;
  max-width: 90%;
  text-align: left;
  border: 2px solid #d4af37; /* Gold border */
  border-radius: 30px; /* Rounded edges for scroll-like effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Shadow for depth */
  font-family: 'Kristen ITC','Comic Sans MS', cursive;
  color: #4a2c2a; /* Deep brown for text */
}

.letter-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #4a2c2a;
}

.letter-greeting {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.letter-content p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.letter-signoff {
  margin-top: 20px;
  font-size: 1.5rem;
}

.letter-signature {
  font-size: 2rem;
  text-align: right;
  margin-top: 10px;
}

.donation-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.donation-slide-link .donation-slide-image {
  display: none;
}

.slide-two .slide-full-image,
.slide-three .donation-slide-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;               /* <-- this crops */
  object-position: 50% 90%;
}

.slide-three .donation-slide-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: 50% 90%;
}

.slide > section {
  width: 100%;
  height: 100%;
}


.slide-four .s3-top-middle,
.slide-four .s3-bottom-middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  display: flex;
  justify-content: center;   
  align-items: center;
  text-align: center;        
  z-index: 2;
  padding: 0.25rem;
}


.slide-four .s3-top-middle {
  top: var(--s4-top, 8%);
}


.slide-four .s3-bottom-middle {
  bottom: var(--s4-bottom, 6%);
}


.slide-four .s3-headline {
  white-space: normal;       
  overflow: visible;         
  text-overflow: unset;      
  text-align: center;
  line-height: 1.1;          
  font-size: clamp(1rem, 5.2vw, 3rem);
  padding: 0 1rem;           
}

/* Perf-only: grid renders when needed; appearance remains identical */
.sponsor-logos { content-visibility: auto; }

/* While deferred (a brief moment), reserve space to avoid any shift */
.sponsor-logos.is-deferred { min-height: 420px; }
@media (max-width: 668px) {
  .sponsor-logos.is-deferred { min-height: 320px; }
}



@media (min-width: 1280px) {
  .slide-two-link {
    background-size: contain;
    background-color: #000; /* optional background fill */
  }
}

/* Bigger headline for ~853px portrait tablets */
@media (min-width: 820px) and (max-width: 912px) {
  .slide-two .slide-two-headline {
    font-size: clamp(2.5rem, 4.8vw, 3.5rem); /* ↑ bump size */
    line-height: 1.08;
  }

  /* optional: give the text block a touch more room as it grows */
  .slide-two .slide-two-text {
    top: 10%;
    left: 10%;
    width: 52%;
  }
}

@media (max-width: 944px) {
  .slide-two .slide-two-text { top: 12%; left: 10%; }
  .slide-two .slide-two-headline { font-size: clamp(1.50rem, 3.8vw, 2.4rem); }
}


@media (max-width: 1366px) {
  .main-content {
      flex-direction: column;
      padding: 10px;
  }

  .tree-container img {
      width: 100%;
  }

  .ornament-logo {
      width: 80px;
      height: 80px;
      border-radius: 50%;
  }

  .giving-tree-logo {
      width: 120px;
  }

  .collage-container {
    display: none;
  }

  .thank-you-container {
    padding: 15px;
  }

  .letter-background {
    width: 85%;
  }

  .letter-heading {
    font-size: 1.8rem;
  }
}

@media (max-width: 1200px) {
  .child-card-container {
    flex-basis: calc(25% - 20px);
  }
}

@media (max-height: 1024px) {
  .donation-slide-container {
    width: 100%;
  }

  .child-grid-container {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  }

}

@media (max-width: 1024px) {
  .header-logos {
    width: 200px; /* Further reduce logo width for smaller screens */
  }
}

@media (min-height: 1024px) and (max-height: 1368px) {
  .program-text {
    margin-top: 18%;
  }

  .coming-soon-text {
    margin-bottom: 20%;
  }
}

@media (height: 1024px) and (width: 1366px) {
  .program-text {
    margin-top: 5%;
  }

  .coming-soon-text {
    margin-bottom: 5%;
  }
}

@media (max-width: 1023px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 912px) {

  .ornament-logo {
      width: 80px;
      height: 80px;
      border-radius: 50%;
  }

  .giving-tree-logo {
      width: 100px;
  }

}

@media (max-width: 768px) {
  .team-grid {
    width: 100%;
    height: auto;
  }

  .team-member {
    position: static;
    margin: 10px auto;
    transform: none;
  }

  .team-photo {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 0.8em;
  }

  .donation-container {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .goal-heading {
    font-size: 1.8em;
    line-height: 1.2;
  }

  .progress {
    height: 30px;
  }

  .donation-call-button {
    font-size: 1em;
    padding: 10px;
  }

  .bottom-right-image {
    width: 50%;
    bottom: 7%;
  }

  .donation-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .donation-image-container {
    order: -1;
    width: 100%;
    margin-bottom: 20px;
  }

  .donation-text {
    width: 100%;
  }

  .donation-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
  }

  .sponsorship-options-component {
    grid-template-columns: 1fr;
  }

  .error-text, .success-text {
    font-size: 0.8em;
  }

  .child-card-container {
    flex-basis: calc(50% - 20px);
  }

  .child-card-body p, .child-card-body label {
    font-size: 1em;
  }

  .child-name {
    font-size: 1.2em;
  }

  input[type="number"] {
    width: 40px;
  }

  .child-grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }

  /* for video */
  .slide-one-logo {
    max-width: 60%;
  }

  .sponsorship-instructions {
    padding: 15px;
  }
  
  .sponsorship-instructions h2 {
    font-size: 1.8em;
  }
  
  .sponsorship-instructions h3 {
    font-size: 1.2em;
  }

  .sponsorship-instructions p, .sponsorship-instructions li {
    font-size: 0.95em;
  }

  .thank-you-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .letter-background {
    width: 95%;
    padding: 20px;
  }

  .letter-heading {
    font-size: 1.6rem;
    text-align: center;
  }

  .letter-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .letter-signature {
    font-size: 1.2rem;
  }

  .slide-three { 
    background-position: 0% 15%;
  }

}

@media (max-width: 668px) {
  .sponsor-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center; /* Centers the grid itself */
    justify-items: center;   /* Centers items within the grid cells */
    contain-intrinsic-size: 320px 480px;
  }

  .sponsor-logo-item {
    width: auto; /* Allows content to adjust naturally */
    display: flex;
    justify-content: center; /* Centers the content inside the item */
  }

  .sponsor-logo {
    width: 140px;
    height: 140px;
  }

  .slide-two {
    flex-direction: column;
    width: 100%;
  }

  .diagonal-section {
    height: auto;
    transform: none;
    width: 100%;
  }

  .diagonal-section:hover .diagonal-image {
    transform: none;
  }

  .diagonal-image {
    width: 100%;
    height: auto;
    transform: none;
    transition: none;
  }

  .diagonal-one, .diagonal-two {
    clip-path: none;
    }

  .diagonal-three {
    display: none;
  }

  .program-banner, .coming-soon-banner {
    position: relative;
    text-align: center;
    margin: 5px 0px;
    padding: 5px;
    Left: 0px;
    transform: none;
  }
}

@media (max-width: 600px) {
  .menu-toggle {
      right: 20px;
  }

  .hidden-mobile-menu ul li a {
      font-size: 1em;
  }

  .program-text {
    font-size: 1.5em;
  }

  .coming-soon-text {
    font-size: 1.5em;
  }

  .prev, .next {
    padding: 5px;
    font-size: 0.9em;
}
}

@media (max-width: 480px) {
  .sponsor-logo {
    width: 120px;
    height: 120px;
  }

  .sponsor-section h2 {
    font-size: 1.4em;
  }
  .goal-heading {
    font-size: 1.5em;
  }

  .progress {
    height: 25px;
  }

  .donation-call-button {
    font-size: 0.9em;
    padding: 8px;
  }

  .child-grid-container {
    flex-basis: 100%;
  }

  /* for video */
  .slide-one-logo {
    max-width: 70%;
  }

  .thank-you-container {
    padding: 5px;
  }

  .letter-background {
    width: 100%;
    padding: 15px;
  }

  .letter-heading {
    font-size: 1.4rem;
  }

  .letter-content p {
    font-size: 0.9rem;
  }

  .letter-signature {
    font-size: 1rem;
  }

  .slide-two .slide-full-image { 
    object-position: 10% 40%;
  }

  .slide-two-text {
    top: 9%;      /* was ~18% in base → higher on the slide */
    left: 14%;    /* more to the right */
    width: 68%;   /* a bit wider so lines don’t wrap too soon */
  }

  .slide-two-headline {
    /* Bigger on phones */
    font-size: clamp(1.25rem, 7vw, 2.2rem);
    line-height: 1.1;
    max-width: 22ch;   /* keeps lines tidy */
  }

  .slide-three .donation-slide-image {
    object-position: 50% 100%;
  }
}

.arrow {
  cursor: pointer;

}

@media (max-height: 430px) {

  .diagonal-section {
    display: none;
  }

  .slide-two {
    background-image: url("sponsor-present-iStock-1343894532.jpg");
    background-size: cover;
  }

   .slide-two-text { top: 5%; left: 12%; }
  .slide-two-comingsoon { bottom: 2.5%; }
  .slide-two-headline {
    font-size: clamp(1.1rem, 4.6vw, 2.4rem);                   
  }

  .program-text {
    margin-top: -20px;
  }

}

@media (height: 667px) and (width: 375px) {
  .diagonal-section {
    display: none;
  }

  .slide-two {
    background-image: url("sponsor-present-iStock-1343894532.jpg");
    background-size: cover;
  }

  .program-text {
    margin-top: 50px;
    margin-bottom: 200px;
  }

  .slide img {
    bottom: -5%;
  }

}

@media (height: 720px) and (width: 540px) {
  .diagonal-section {
    display: none;
  }

  .slide-two {
    background-image: url("sponsor-present-iStock-1343894532.jpg");
    background-size: cover;
  }

  .program-text {
    margin-top: 30px;
    margin-bottom: 300px;
  }
}

@media (height: 540px) and (width: 720px) {
  .program-text {
    margin-top: -10px;
    margin-bottom: 300px;
  }
}

@media (height: 375px) and (width: 667px) {
  .program-text {
    margin-top: -20px;
    margin-bottom: 100px;
  }

}

@media (min-width: 1024px) and (max-width: 1280px) { 
  .slide-two .slide-two-text { left: 10%; top: 14%; } 
  .slide-two .slide-two-headline { font-size: clamp(2rem, 4vw, 3rem); } 
    .slide-three {
    --s3-left: 10%;
    --s3-top: 14%;
    --s3-width: 46%;
  }
  .slide-three .s3-headline {
    font-size: clamp(2rem, 4vw, 3rem);
  }
} 
@media (max-width: 380px) { 
  .slider-wrapper { height: 56vh; } 
  .slide-two .slide-two-text { top: 9%; left: 10%; width: 72%; } 
  .slide-two .slide-two-headline { line-height: 1.1; max-width: 22ch; } 
  .slide-two-comingsoon { bottom: 3%; padding: 0.45rem 0.85rem; font-size: clamp(0.85rem, 3.2vw, 1rem); }
.slide-three {
    --s3-top: 9%;
    --s3-left: 10%;
    --s3-width: 72%;
    --s3-cta-right: 10%;
    --s3-cta-bottom: 3%;
  }
  .slide-three .s3-headline {
    line-height: 1.1;
    max-width: 22ch;
  } 
} 
 @media (max-width: 430px) and (min-height: 900px) { 
  .slider-wrapper, .donation-slide-container, .hidden-container { height: 48vh; } 
  .slide-two .slide-two-text { top: 5%; left: 7%; } 
  .slide-two-comingsoon { bottom: 3%; } 
  .slide-three {
    --s3-top: 5%;
    --s3-left: 7%;
    --s3-cta-bottom: 3%;
  }
} 
@media (min-width: 820px) and (max-width: 900px) and (min-height: 1200px) { 
  .slider-wrapper, .donation-slide-container, .hidden-container { height: 52vh; } 
  .slide-two .slide-two-text { top: 12%; left: 8%; } 
  .slide-two-comingsoon { bottom: 3.5%; }
   .slide-three {
    --s3-top: 12%;
    --s3-left: 8%;
    --s3-cta-bottom: 3.5%;
  }
} 
@media (min-width: 820px) and (max-width: 900px) and (max-height: 500px) { 
  .slide-two .slide-two-headline { font-size: clamp(2rem, 3.5vw, 2.2rem); line-height: 1.08; } 
  .slide-two .slide-two-text { top: 8%; left: 12%; width: 46%; } 
  .slide-two-comingsoon { font-size: clamp(0.7rem, 1.6vw, 0.95rem); bottom: 2.5%; } 
  .slide-three {
    --s3-top: 8%;
    --s3-left: 12%;
    --s3-width: 46%;
  }
  .slide-three .s3-headline {
    font-size: clamp(2rem, 3.5vw, 2.2rem);
    line-height: 1.08;
  }
} 
@media (min-width: 700px) and (max-width: 760px) and (max-height: 600px) { 
  .slide-two .slide-two-text { left: 15%; } 
  .slide-three { --s3-left: 15%; }
} 
@media (min-width: 520px) and (max-width: 560px) and (min-height: 700px) { 
  .slide-two .slide-two-headline { font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.05; } 
  .slide-two .slide-two-text { top: 7%; } 
    .slide-three .s3-headline {
    font-size: clamp(1.75rem, 6vw, 3rem);
    line-height: 1.05;
  }
  .slide-three { --s3-top: 7%; }
}
@media (min-width: 900px) and (max-width: 940px) and (min-height: 1200px) { 
  .slide-two .slide-two-headline { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.06; max-width: none;} 
  .slide-two .slide-two-text { top: 10%; left: 8%; width: 58%;} 
    .slide-three .s3-headline {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 10%; --s3-left: 8%; --s3-width: 58%; }
} 
@media (min-width: 1000px) and (max-width: 1100px) and (min-height: 1200px) {
  .slide-two .slide-two-headline { font-size: clamp(2.4rem, 5.2vw, 4.0rem); line-height: 1.06; max-width: none; } 
  .slide-two .slide-two-text { top: 10%; left: 8%; width: 56%; } 
  .slide-two-comingsoon { font-size: clamp(1rem, 1.8vw, 1.25rem); }
    .slide-three .s3-headline {
    font-size: clamp(2.4rem, 5.2vw, 4.0rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 10%; --s3-left: 8%; --s3-width: 56%; }
} 
@media (min-width: 800px) and (max-width: 840px) and (min-height: 1100px) { 
  .slide-two .slide-two-headline { font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.06; max-width: none; } 
  .slide-two .slide-two-text { top: 9%; left: 8%; width: 58%; } 
  .slide-two-comingsoon { font-size: clamp(0.95rem, 1.8vw, 1.2rem); }
    .slide-three .s3-headline {
    font-size: clamp(2.3rem, 6vw, 3.8rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 9%; --s3-left: 8%; --s3-width: 58%; }
 }
@media (min-width: 760px) and (max-width: 780px) and (min-height: 1000px) {
  .slide-two .slide-two-headline { font-size: clamp(2.2rem, 6.2vw, 3.6rem); line-height: 1.06; max-width: none;} 
  .slide-two .slide-two-text { top: 9%; left: 8%; width: 58%; } 
  .slide-two-comingsoon { font-size: clamp(0.95rem, 1.8vw, 1.2rem); } 
    .slide-three .s3-headline {
    font-size: clamp(2.2rem, 6.2vw, 3.6rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 9%; --s3-left: 8%; --s3-width: 58%; }
} 
@media (max-width: 760px) and (max-height: 420px) {
  .slide-two .slide-two-headline { font-size: clamp(1.5rem, 2.3vw, 1.4rem); line-height: 1.08; max-width: 26ch; } 
  .slide-two .slide-two-text { top: 8%; left: 10%; width: 54%; } 
  .slide-two-comingsoon { font-size: clamp(0.65rem, 1.4vw, 0.9rem); bottom: 3%; }
.slide-three .s3-headline {
    font-size: clamp(1.5rem, 2.3vw, 1.4rem);
    line-height: 1.08;
    max-width: 26ch;
  }
  .slide-three { --s3-top: 8%; --s3-left: 10%; --s3-width: 54%; --s3-cta-bottom: 3%; }
}
@media (min-width: 380px) and (max-width: 400px) and (min-height: 820px) and (max-height: 880px) {
 .slider-wrapper, .donation-slide-container, .hidden-container { height: 52vh; }
 .slide-two .slide-two-text { top: 8%; left: 5%; } 
   .slide-three { --s3-top: 8%; --s3-left: 5%; }
} 
@media (min-width: 400px) and (max-width: 430px) and (min-height: 880px) and (max-height: 920px) { 
  .slider-wrapper, .donation-slide-container, .hidden-container { height: 52vh; } 
  .slide-two .slide-two-text { top: 8%; left: 5%; } 
  .slide-two-comingsoon { bottom: 3%; } 
    .slide-three { --s3-top: 8%; --s3-left: 5%; --s3-cta-bottom: 3%; }
} 
@media (max-width: 380px) and (max-height: 700px) {
  .slide-two .slide-two-text { top: 6%; left: 4%; width: 62%; } 
  .slide-three { --s3-top: 6%; --s3-left: 4%; --s3-width: 62%; }
}
@media (min-width: 640px) and (max-width: 700px) and (max-height: 400px) {
  .slide-two .slide-two-text { left: 4%; top: 10%; width: 60%; } 
  .slide-three { --s3-left: 4%; --s3-top: 10%; --s3-width: 60%; }
}
@media (max-width: 380px) and (min-height: 700px) {
  .slide-two .slide-two-text { top: 6%; left: 5%; width: 66%; } 
  .slide-three { --s3-top: 6%; --s3-left: 5%; --s3-width: 66%; }
  } 
@media (min-width: 330px) and (max-width: 360px) and (min-height: 820px) and (max-height: 900px) {
  .slider-wrapper, .donation-slide-container, .hidden-container { height: 52vh; }
  .slide-two .slide-two-text { top: 8%; } 
  .slide-two-comingsoon { bottom: 3%; } 
  .slide-three { --s3-top: 8%; --s3-cta-bottom: 3%; }
}

/* ==== SLIDE 3: smaller headlines on portrait phones ==== */

/* Most portrait phones (≤480px wide) */
@media (orientation: portrait) and (max-width: 480px) {
  .slide-three .s3-headline {
    /* much smaller than the desktop base: */
    font-size: clamp(1.4rem, 7.4vw, 2.2rem);
    line-height: 1.06;
    max-width: 22ch;
  }
  .slide-three {
    /* give the block more room so wraps look intentional */
    --s3-top: 7%;
    --s3-left: 7%;
    --s3-width: 72%;
    --s3-cta-right: 7%;
    --s3-cta-bottom: 4%;
  }
}

/* Narrow phones (≤390px wide: iPhone 12/13/14/15, many Androids) */
@media (orientation: portrait) and (max-width: 390px) {
  .slide-three .s3-headline {
    font-size: clamp(1.25rem, 7.2vw, 2rem);
    max-width: 20ch;
  }
  .slide-three { --s3-left: 6%; --s3-width: 74%; }
}

/* Very narrow phones (≤360px: small Androids, Z Fold outer) */
@media (orientation: portrait) and (max-width: 360px) {
  .slide-three .s3-headline {
    font-size: clamp(1.15rem, 7.0vw, 1.85rem);
    max-width: 20ch;
  }
  .slide-three { --s3-left: 5%; --s3-width: 76%; }
}

/* =========================================
   SLIDE 3 — make tablets/large devices bigger again
   (keeps phones smaller)
   ========================================= */

/* Generic portrait tablets (width ≥ 700px) */
@media (orientation: portrait) and (min-width: 700px) {
  .slide-three .s3-headline {
    font-size: clamp(2.2rem, 5.6vw, 3.8rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 9%; --s3-left: 8%; --s3-width: 58%; }
}

/* Surface Duo — portrait (~540 × 720) */
@media (orientation: portrait) and (min-width: 520px) and (max-width: 560px) and (min-height: 700px) {
  .slide-three .s3-headline {
    font-size: clamp(2.0rem, 6vw, 3.0rem);
    line-height: 1.05;
    max-width: none;
  }
  .slide-three { --s3-top: 7%; }
}

/* Surface Pro 7 — portrait (≈912 × 1368) */
@media (orientation: portrait) and (min-width: 900px) and (max-width: 940px) and (min-height: 1200px) {
  .slide-three .s3-headline {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 10%; --s3-left: 8%; --s3-width: 58%; }
}

/* iPad Pro 11/12.9 — portrait (~1024 × 1366) */
@media (orientation: portrait) and (min-width: 1000px) and (max-width: 1100px) and (min-height: 1200px) {
  .slide-three .s3-headline {
    font-size: clamp(2.4rem, 5.2vw, 4.0rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 10%; --s3-left: 8%; --s3-width: 56%; }
}

/* iPad Air — portrait (~820 × 1180) */
@media (orientation: portrait) and (min-width: 800px) and (max-width: 840px) and (min-height: 1100px) {
  .slide-three .s3-headline {
    font-size: clamp(2.3rem, 6vw, 3.8rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 9%; --s3-left: 8%; --s3-width: 58%; }
}

/* iPad Mini — portrait (~768 × 1024) */
@media (orientation: portrait) and (min-width: 760px) and (max-width: 780px) and (min-height: 1000px) {
  .slide-three .s3-headline {
    font-size: clamp(2.2rem, 6.2vw, 3.6rem);
    line-height: 1.06;
    max-width: none;
  }
  .slide-three { --s3-top: 9%; --s3-left: 8%; --s3-width: 58%; }
}


