﻿/* === SCHOOL LISTING SECTION === */
section.schoolListing {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

section.schoolsListing > h3:first-of-type {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #fff;
}

ul.schoolListing {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 50px 0px;
}

ul.schoolListing li {
  position: relative;
  text-align: center;
  margin: 0 20px 20px;
  width: 225px;
}

.schoolListing .theMainImage {
  position: relative;
  width: 250px;
  height: 175px;
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schoolListing .theLogo {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

.schoolListing .theLogo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.schoolListing .theDetails {
  text-align: center;
  margin-top: 10px;
}

.schoolListing .theDetails h3 {
  margin: 10px 0 6px;
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schoolListing .theDetails p {
  margin: 0 auto 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #ccc;
  text-align: center;
}
.schoolListing .theDetails p:last-child {
    margin-bottom: 0;
}

ul.schoolListing li:hover .theMainImage {
    transform: scale(1.03);
    transition: all 0.3s ease;
}

/* === TESTIMONIALS — FINAL PIXEL-PERFECT MATCH === */
ul.theTestimonials {
  list-style: none;
  margin: 0 auto;
  padding: 80px 0;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* === ONE ROW === */
.testimonialItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 98%;
  margin: 0 auto;
}

/* alternate rows flipped */
.testimonialItem:nth-child(even) {
  flex-direction: row-reverse;
}

/* === IMAGE WRAPPER === */
.testimonialImage {
  position: relative;
  width: 40%;
  z-index: 1;
  display: inline-block;
}

/* Blue rectangle perfectly matches image size (not offset) */
.testimonialImage::before {
  content: "";
  position: absolute;
  inset: 0;                /* fills entire parent */
  background: #009fe3;
  z-index: 0;
  transform: rotate(0deg); /* blue stays flat */
}

/* Image sits directly on top, slightly tilted */
.testimonialImage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-8deg); /* tilt reveals the blue */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Flip tilt for even items */
.testimonialItem:nth-child(even) .testimonialImage img {
  transform: rotate(6deg);
}


/* === TESTIMONIAL CARD === */
.testimonialDetails {
  position: relative;
  width: calc(55% - 100px);
  background: #fff;
  border-radius: 30px; /* smoother, more pill shape */
  padding: 70px 50px 60px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  z-index: 2;
}

.testimonialDetails .headshot {
  position: absolute;
  top: -60px;                 /* sits halfway outside top edge */
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 6px solid #fff;     /* white border around circle */
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.testimonialDetails .theQuote {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;                /* tune to match screenshot */
  height: auto;
  opacity: 0.95;
}

/* name */
.testimonialDetails h3 {
    margin: 25px auto 10px;
    font-weight: 400;
    font-size: 1.8rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    line-height: 1.3;
}

/* area */
.testimonialDetails .theArea {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 20px;
}

/* paragraph text */
.testimonialDetails div p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}



/* === GALLERY PAGE (works with: <ul class="galleryGroups"><h3>..</h3><li>...images...</li></ul>) === */
section.imageGallery{
  width:100%;
  padding:80px 0;
  background:#fff;
  text-align:center;
}
.imageGallery h3{
  font-size:1.8rem;
  text-transform:uppercase;
  font-weight:800;
  color:#000;
  margin:100px 0 10px;
}
.imageGallery h3::after{
  content:"";
  display:block;
  width:60px;
  height:4px;
  background:#009fe3;
  margin:10px auto 25px;
  border-radius:2px;
}

/* === TEAM PAGE === */
section.proSkillsIntro {
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 80px 0 100px;
}

.proSkillsIntro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 15px;
}

.proSkillsIntro p {
  font-size: 1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Layout for image + quote side */
.proSkillsIntro .introRow {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.introRow .images {
  flex: 0 0 48%;
  border-radius: 10px;
  overflow: hidden;
}

.introRow .images img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.introRow .quoteBox {
  flex: 0 0 48%;
  background: #f8f8f8;
  border-radius: 15px;
  padding: 40px 35px 60px;
  position: relative;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quoteBox p {
  font-size: 1rem;
  color: #222;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
}

.quoteBox .person {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quoteBox .person img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.quoteBox .person h5 {
  font-weight: 700;
  margin: 0;
  color: #009fe3;
  font-size: 1rem;
}

/* === TEAM MEMBERS SECTION === */
div.ourTeam {
  width: 100%;
  background: #fff;
  text-align: left;
  padding: 0 0 80px;
  margin: 0 auto;
}

.ourTeam h2 {
  text-align: center;
  color: #009fe3;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.ourTeam h2:after {
    display: block;
    content: "";
    margin: 0 auto 10px;
    width: 100px;
    height: 5px;
    background-color: #009fe3;
}

ul.teamMembers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

ul.teamMembers li {
    margin: 0 20px 40px;
    border: 1px solid rgba(0,0,0,0.25);
    padding: 15px;
    width: 450px;
    text-align: center;
}

ul.teamMembers li p {
    font-weight: 400;
}

.imageCol {
    flex: 0 0 180px;
}

.imageCol img {
  width: 180px;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.textCol {
  flex: 1;
}

.textCol h4 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: #000;
}

.textCol .position {
  font-size: 0.95rem;
  font-weight: 600;
  color: #009fe3;
  margin: 0 0 12px;
}

.textCol .theDetails p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 10px;
}

.textCol a {
  color: #009fe3;
  text-decoration: none;
}

.textCol a:hover {
  text-decoration: underline;
}

.imageCol {
  position: relative;
  flex: 0 0 180px;
  width: 180px;
  height: 210px;
}

/* blue background shape behind each image */
.imageCol::before {
  content: "";
  position: absolute;
  inset: 0;                          /* fill container */
  background: #009fe3;
  border-radius: 12px;               /* curved corners for blue shape */
  transform: rotate(-6deg);          /* slight tilt */
  z-index: 0;
}

/* actual photo on top */
.imageCol img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;                  /* sharp corners */
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* === CONTACT US PAGE (ASP.NET-safe, no markup changes) === */
.formFeedback {
    border: 2px solid #009fe3;
    padding: 10px 10px 15px;
    margin: 0 auto 50px;
    width: 100%;
    max-width: 650px;
    text-align: center;
}
.formFeedback h3 {
    color: #009fe3;
    margin: 0 auto 5px;
    font-size: 2rem;
}
.formFeedback p {
    margin: 0 auto 10px;
}
.formFeedback p:last-child {
    margin-bottom: 0;
}

.contactForm {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 50px;
}

.contactForm li {
    margin: 0 auto 20px;
}

.contactForm label,
.contactForm p.theInstructions {
    display: block;
    font-size: 1rem;
    color: #000;
    font-weight: 800;
    text-align: left;
    font-family: "Raleway", sans-serif;
}

.contactForm input[type="text"],
.contactForm select,
.contactForm textarea {
    width: 100%;
    display: block;
    margin: 5px auto 0;
    padding: 10px 12px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 1rem;
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    border-radius: 8px;
}
.contactForm .requiredError {
    margin: 5px auto 0;
    font-weight: 600;
}


/* dropdown height */
.contactForm select {
    height: 42px;
}

/* textarea */
.contactForm textarea {
    min-height: 120px;
}

/* focus effect */
.contactForm input[type="text"]:focus,
.contactForm select:focus,
.contactForm textarea:focus {
    border-color: #009fe3;
    font-weight: 600;
}

/* submit button */
.contactForm input[type="submit"] {
    display: block;
    margin: 25px auto 0;
    padding: 10px 40px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contactForm input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* stack form neatly (ASP.NET UL) */
.contactForm ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 520px;
  text-align: left;
}


/* === GLOBAL === */
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

/* === SECTION BASE === */
.imageGallery {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  background: #fff;
}

.videoGallery {
  background: #f8f9fa; /* soft gray background for contrast */
}

/* === HEADINGS === */
.imageGallery h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #000;
  margin: 80px 0 10px;
  letter-spacing: 1px;
}
.imageGallery h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #009fe3;
  margin: 10px auto 25px;
  border-radius: 2px;
}

/* === GALLERY CONTAINER === */
ul.galleryGroups {
  position: relative;  /* for arrows */
  width: 100vw;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0;
  list-style: none;
}
ul.galleryGroups > li {
  display: flex;
  gap: 15px;
  overflow: hidden;      /* hide scrollbars */
  scroll-behavior: smooth;
  margin: 0 48px;       /* space for arrows */
  padding: 0;
}

/* === INDIVIDUAL ITEM === */
ul.galleryGroups > li > a {
  flex: 0 0 auto;
  display: block;
  width: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  position: relative;
}
ul.galleryGroups > li > a img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
ul.galleryGroups > li > a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* === NAVIGATION ARROWS === */
.galleryArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 2rem;
  padding: 1px 20px 10px 7px;
  line-height: 1em;
  text-align: center;
  z-index: 10;
  user-select: none;
  transition: background 0.2s ease;
  display: flex;
  align-items:center;
  justify-content: center;
}
.galleryArrow:hover {
  background: rgba(0, 0, 0, 0.7);
}
.galleryArrow.left {
  left: 0;
}
.galleryArrow.right {
  right: 0;
  padding: 1px 1px 5px 5px;
}

/* dots under each gallery */
.galleryDots {
    margin: 12px 0 0;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.galleryDots input[type="button"] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: #cfd8dc;
    cursor: pointer;
    padding: 0;
}

.galleryDots input[type="button"].active {
    background: #009fe3;
}


/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}

/* === LIGHTBOX CONTENT === */
/* Wrapper to keep video aspect ratio correct */
.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Images and native videos */
.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  background: #000;
}

/* Force Vimeo & YouTube iframes to scale properly */
.lightbox-content iframe {
  width: 100%;
  height: 56.25%; /* default 16:9 ratio fallback */
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  background: #000;
}

/* === LIGHTBOX BUTTONS === */
.lightbox input[type="button"] {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  transition: background 0.2s ease;
  font-weight: 600;
}
.lightbox input[type="button"]:hover {
  background: rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 2.2rem;
}
.lightbox-prev {
    left: 20px;
    padding: 1px 7px 1px 1px;
}
.lightbox-next {
  right: 20px;
  padding: 1px 1px 1px 7px;
}



