:root {

    --light:#fff;
    --dark:#000;
    --primary:#38bca8;
    --secondary:#205358;
    --tertiary:#02363c;
    --accent:#004ab8;

    --card-radius: 14px;
    --transition:  0.42s cubic-bezier(0.4, 0, 0.2, 1);

}

@font-face {
    font-family: Heading;
    src: url(fonts/bosnia-display.otf);
}

@font-face {
    font-family: Body;
    src: url(fonts/helvotype.otf);
}

body {
    background-image: url(media/Patterndots.svg);
    background-attachment: fixed;
    background-repeat: repeat;
    margin: 0;
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
width: .75vw;
background-color: var(--light);
}

html::-webkit-scrollbar-thumb {
background-color: #1eebcc;
border-radius: 10px;
}

.Strip1 {
    background-color: var(--primary);
    background-image: url(media/ReflectionPattern.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    overflow: hidden;
}

.Strip2 {
  width: 100%;
  overflow: hidden;
}

.Strip3 {
  background-color: var(--tertiary);
  width: 100%;
  overflow: hidden;
  background-image: url(media/Circlealtpattern.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.Strip3alt {
  background-color: var(--tertiary);
  width: 100%;
  overflow: hidden;
  background-image: url(media/Circlealtpattern.svg);
  padding: 80px 0 120px 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.transition img {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* ── TOPNAV ─────────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  background-color: var(--primary);

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  /* ✅ REMOVED overflow: hidden — it was clipping the hamburger */
  padding: 0 30px;
  box-sizing: border-box;
  z-index: 2000;
}

/* ── BRAND ──────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0; /* never compress the logo */
}

.brand a {
  text-decoration: none;
}

.brand img {
  height: 65px;
  margin-bottom: 5px;
}

.brand span {
  font-family: Heading;
  color: var(--light);
  font-size: 28px;
  font-weight: 700;
  cursor: default;
}

/* ── TOP LINKS ──────────────────────────────────── */
.top-links {
  display: flex;
  gap: 20px;
  margin-left: auto; /* ✅ pushes links to the right, away from brand */
  flex-shrink: 1;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}

.top-link {
  text-decoration: none;
  color: var(--light);
  font-family: Body;
  font-size: 1rem;       /* ✅ slightly smaller to fit all links */
  font-weight: bold;
  letter-spacing: 1.2px;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}

/* ✅ FIXED: animate underline from LEFT using scaleX */
.top-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--light);
  transform: scaleX(0);
  transform-origin: left;          /* ← grows from the left */
  transition: transform 0.3s ease;
}

.top-link:hover::after,
.top-link.active::after {
  transform: scaleX(1);
}

/* ── HAMBURGER ──────────────────────────────────── */
.menu-toggle {
  display: none;
  margin-left: auto;  
  color: var(--light);
  cursor: pointer;
  font-size: 40px;
  z-index: 3000;
  flex-shrink: 0;
  line-height: 0; /* removes extra space around the SVG */
}


/* ── SIDEBAR ────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0;
  left: -600px;
  width: 600px;
  height: 100%;
  background-color: var(--primary);
  padding-top: 20px;
  transition: left 0.3s ease;
  z-index: 2500;
  box-sizing: border-box;
}

.sidebar.active {
  left: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px 24px;
  border-bottom: 2px solid rgb(255, 255, 255);
  margin-bottom: 10px;
}

.sidebar-brand img {
  height: 100px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand a:hover {
  scale: 0.98;
  cursor: pointer;
}


.sidebar-brand a:hover {
  scale: 0.98;
  cursor: pointer;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  color: var(--light);
  text-decoration: none;
  font-family: Body;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 12px 24px;
  display: block;
  position: relative;
  transition: padding-left 0.2s ease;
  font-size: 1.5rem; 
}

/* Optional: subtle left-slide on sidebar links too */
.sidebar ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--light);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.sidebar ul li a:hover::before,
.sidebar ul li a.active::before {
  transform: translateY(-50%) scaleY(1);
}

.sidebar ul li a:hover {
  scale: 0.98;
  transition: 0.4s ease;
}

.contact {
  background-color: var(--accent);
  border-radius: 10px;
  padding: 10px;
}

.sidebar .contact {
  width: 35%;
}

/* ── OVERLAY ────────────────────────────────────── */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.596);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 2400;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── MOBILE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .topnav {
    height: 70px;
    padding: 0 20px;
  }

  .brand img {
    height: 35px;
  }

  .brand span {
    font-size: 20px;
  }

  .top-links {
    display: none !important;
  }

  .menu-toggle {
    display: block !important; 
  }
}

.hero {
    position: relative;
    background-image: url(media/AirCabinBackAngled.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 650px;
    width: 100%;
    margin-top: 65px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.418);
}

.textbox {
    position: absolute;
    bottom: 30%;
    left: 2.5%;
    font-family: Heading;
    font-size: 2em;
    color: var(--light);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.507);
    border-radius: 10px;
    z-index: 5;
    cursor: default;
}

.textbox h1 {
    margin: 0;
    line-height: 1.25;
    font-weight: 100;
}

/* Mobile */
@media (max-width: 800px) {
    .hero {
        height: 500px;
    }

    .textbox {
        left: 30%;
        font-size: 1.75em;
        transform: translateX(-35%);
        bottom: 25%;
    }
}

.cdhero {
    position: relative;
    background-image: url(media/CheckinDesk.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 650px;
    width: 100%;
    margin-top: 65px;
}

.cdhero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.418);
}

.cdtextbox {
    position: absolute;
    bottom: 30%;
    left: 2.5%;
    font-family: Heading;
    font-size: 2em;
    color: var(--light);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.507);
    border-radius: 10px;
    z-index: 5;
    cursor: default;
}

.cdtextbox h1 {
    margin: 0;
    line-height: 1.25;
    font-weight: 100;
}

/* Mobile */
@media (max-width: 800px) {
    .cdhero {
        height: 500px;
    }

    .cdtextbox {
        left: 30%;
        font-size: 1.75em;
        transform: translateX(-35%);
        bottom: 25%;
    }
}

.TTContent {
    background-image: url(media/ReflectionPattern.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
}

.title {
    text-align: center;
    font-size: 3em;
    letter-spacing: 5px;
    margin-bottom: 40px;
    position: relative;
    color: var(--light);
    font-family: Heading;
    cursor: default;
}

.title::after {
    content: "";
    display: block;
    width: 500px;
    height: 3px;
    background: var(--light);
    margin: 15px auto 0;
}

.contentbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0 100px 0;
}

.contentwrapper {
    max-width: 550px;
}

.contentwrapper img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.contenttext {
    max-width: 600px;
    font-family: Body;
    color: var(--light);
    cursor: default;
}

.contenttext h1 {
    margin-bottom: -25px;
    font-size: 2.25rem;
    font-weight: 500;
}

.contenttext p {
    line-height: 1.6;
    font-size: 1.5rem;
}

@media (max-width: 1000px) {
    .contentbox {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 20px;
    }

    .contentwrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contentwrapper img {
        max-width: 100%;
    }

    .contenttext {
        margin-bottom: 0;
        max-width: 90%;
    }
}

.faq-title {
    text-align: center;
    font-size: 3em;
    letter-spacing: 5px;
    margin-bottom: -25px;
    position: relative;
    color: var(--dark);
    font-family: Heading;
    cursor: default;
}

.faq-title::after {
    content: "";
    display: block;
    width: 500px;
    height: 3px;
    background: var(--dark);
    margin: 15px auto 0;
}

.faq-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background-color: rgba(103, 104, 197, 0.274);
  border-radius: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 50px;
  transition: all 0.4s ease;
}

.faq-item {
  background: var(--light);
  color: var(--dark);
  font-family: Body;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease;
}

.faq-item:not(.active):hover {
    scale: 1.02;
    transition: 0.4s ease;
}

.faq-question {
  font-size: 1.5rem;
  line-height: 1.2;
  width: 100%;
  text-align: center;
  margin: 0;
}

/* Smooth animation */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-size: 1.5rem;
  text-align: center;
}

/* Active state */
.faq-item.active {
  grid-column: span 2;
  padding: 20px;
  cursor: default;
  display: block;
}

.faq-grid.active .faq-item:not(.active) {
  display: none;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 15px;
}

/* Close button */
.close-btn {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background-color: var(--accent);
  color: var(--light);
  font-size: 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  background-color: var(--primary);
  color: var(--dark);
  font-size: 1.15rem;
  transition: ease-in 0.3s;
}

.faq-item.active .close-btn {
  opacity: 1;
}

/* Hide other items smoothly */
.faq-grid.active .faq-item:not(.active) {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  height: 0;
  padding: 0;
  margin: 0;
}

/* Mobile */
@media (max-width: 800px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-item.active {
    grid-column: span 1;
  }
}

.extlinks {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.links {
    width: 350px;
    padding: 13px;
    min-height: 200px;
    text-align: center;
    color: var(--dark);
    font-family: Body;
    background-color: rgba(146, 147, 226, 0.274);
    border-radius: 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links a, .links h1 {
    margin-bottom: -10px;
    font-size: 2.25rem;
    text-decoration: none;
    color: var(--dark);
    cursor: pointer;
    font-weight: 400;
}

.links a, .links h1:hover {
    scale: 0.95;
    transition: 0.3s ease;
}

.links p {
    line-height: 1.2;
    font-size: 1.25rem;
    margin-bottom: 50px;
    cursor: default;
}

.fcontentbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: auto;
    margin-top: -25px;
    padding: 40px 0 100px 0;
}

.fcontentbox1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: auto;
    margin-top: -70px;
    padding: 40px 0 100px 0;
}

.fcontentwrapper {
    max-width: 550px;
}

.fcontentwrapper img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.fcontentwrapper:hover {
  scale: 0.99;
  transition: 0.5s ease;
}

.fcontentwrapper::after {    
    content: "";
    display: block;
    width: 350px;
    height: 3px;
    background: var(--light);
    margin: 15px auto 0;
}

.fcontenttext {
    max-width: 600px;
    font-family: Body;
    color: var(--light);
    cursor: default;
}

.fcontenttext h1 {
    margin-bottom: -25px;
    font-size: 2.25rem;
    font-weight: 500;
}

.fcontenttext p {
    line-height: 1.6;
    margin-top: 30px;
    font-size: 1.5rem;
}

@media (max-width: 1000px) {
  .fcontentbox, .fcontentbox1 {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 20px;
  }

  /* Force image always first, text always second on mobile */
  .fcontentbox1 .fcontentwrapper {
    order: -1;
  }

  .fcontentbox1 .fcontenttext {
    order: 1;
  }

  .fcontentwrapper {
    width: 100%;
    display: flex;
    flex-direction: column;  /* stack image and line vertically */
    align-items: center;
    justify-content: center;
  }

  .fcontentwrapper::after {
    display: block;
    width: 250px;  /* slightly narrower to fit mobile */
  }

  .fcontentwrapper img {
    max-width: 100%;
  }

  .fcontenttext {
    margin-bottom: 30px;
    max-width: 90%;
    margin-top: -30px;
  }
}

.studentvoice {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    margin-top: -30px;
}

.svwrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.svwrapper video {
    margin-top: 10px;
    max-width: 800px;
    border-radius: 15px;
}

.line-divider {
    width: 650px;
    height: 2.5px;
    border: 0 none;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--light);
    margin-top: 30px;
    margin-bottom: 50px;
}

.events {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;      
}
.eventscard {
    width: 400px;
    padding: 15px;
    text-align: center;
    color: var(--dark);
    font-family: Body;
    background-color: rgba(146, 147, 226, 0.274);
    border-radius: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;

}

.eventscard img {
    width: 350px;
    height: 200px;     
    object-fit: cover;
    border-radius: 20px;
    margin: 15px 0 20px;
    flex-shrink: 0;    
}

.eventscardtext {
    display: flex;
    flex-direction: column;
    flex: 1;       
}

.eventscardtext h1 {
    margin-bottom: 10px;
    font-size: 2.25rem;
    color: var(--dark);
    font-weight: 400;
}

.eventscardtext p {
    line-height: 1.4;
    font-size: 1.5rem;  
    margin-bottom: 20px;
    cursor: default;
    flex: 1;            
}

.events-title {
    text-align: center;
    font-size: 3em;
    letter-spacing: 5px;
    margin-bottom: -25px;
    position: relative;
    color: var(--dark);
    font-family: Heading;
    cursor: default;
}

.events-title::after {
    content: "";
    display: block;
    width: 500px;
    height: 3px;
    background: var(--dark);
    margin: 15px auto 0;
}

@media (max-width: 768px) {
  .events {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
    box-sizing: border-box;  
    width: 100%;          
  }

  .eventscard {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
  }

  .eventscard img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .eventscardtext h1 {
    font-size: 1.6rem;
  }

  .eventscardtext p {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }

  .events-title::after {
    width: 80%;             
  }
}

#careers {
  padding: 60px 40px 80px;
  position: relative;
}

.careers-slider {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: rgba(47, 124, 118, 0.274);
  border-radius: 25px;
}

.careers-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.careers-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 10px 80px;
  box-sizing: border-box;
}

.careers-image {
  flex-shrink: 0;
  width: 550px;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
}

.careers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.careers-content {
  color: var(--light);
  font-family: Body;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
  min-width: 0;
  flex: 1;
}

.careers-slide.active .careers-content {
  opacity: 1;
  transform: translateX(0);
}

.careers-content h2 {
  font-family: Heading;
  font-size: 2.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.careers-content p {
  font-size: 1rem;
  line-height: 2;
  opacity: 0.9;
}

.careers-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--light);
  transform: scale(1.3);
}

.careers-arrow {
  position: absolute;
  top: 57.5%;
  transform: translateY(-60%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.careers-arrow:hover { background: rgba(255,255,255,0.3); }
.careers-arrow svg { width: 20px; height: 20px; stroke: white; }
.careers-arrow.left  { left: 10px; }
.careers-arrow.right { right: 10px; }

/* hidden on desktop */
.careers-mobile-text { display: none; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .careers-slide .careers-content {
    display: none !important;
  }

  .careers-slider {
    padding-bottom: 40px;
    overflow: hidden;
  }

  .careers-slide {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .careers-image {
    width: 100%;
    height: 200px;
  }

  .careers-mobile-text {
    display: block;
    text-align: center;
    color: var(--light);
    font-family: Body;
    padding: 20px 30px 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .careers-mobile-text.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .careers-mobile-text h2 {
    font-family: Heading;
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .careers-mobile-list p {
    font-size: 1.25rem;
    line-height: 1.8;
  }
  .careers-arrow {
    top: 52.5%;
  }
}

.line-divideralt {
    width: 90%;
    height: 2.5px;
    border: 0 none;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--light);
    text-align: center;
    margin-top: 30px;
}

/* ── Reset & base ── */
.contact-section, .contact-section::before, .contact-section::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ── Section wrapper ── */
.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: unset; 
  padding: 2rem 1rem;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
  max-width: 1500px;
  align-items: center;    
  justify-content: center;  
}

/* ── Form card ── */
.form-card {
  background: var(--light);
  color: var(--dark);
  border-radius: 8px;
  padding: 3rem 3rem 3.5rem; /* was 2rem */
  flex: 1 1 600px;
  max-width: 900px;  
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.form-title {
  font-family: Heading, serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-align: center;
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

/* ── Grid layout ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}

.col-left  { grid-column: 1; width: 95%; }
.col-right { grid-column: 2; }
.col-full  { grid-column: 1 / -1; }

/* ── Floating label fields ── */
.field-group {
  position: relative;
}

.field-group input {
  width: 100%;
  border: 1.5px solid #bbb;
  border-radius: 4px;
  padding: 1.1rem 0.9rem 0.45rem; /* was 0.85rem */
  font-family: Body, sans-serif;
  font-size: 1rem;                /* was 0.875rem */
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  color: var(--dark);
}

.field-group input:focus {
  border-color: var(--primary);
}

.field-group label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #888;
  pointer-events: none;
  transition: top 0.18s, font-size 0.18s, color 0.18s;
  background: var(--light);
  padding: 0 2px;
}

/* Float label up when filled or focused */
.field-group input:focus + label,
.field-group input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.68rem;
  color: var(--primary);
}

/* Date input: always show label up since it has a value UI */
.field-group input[type="date"] + label {
  top: 0;
  font-size: 0.68rem;
  color: var(--primary);
}

/* ── Gender radios ── */
.gender-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--accent);
  cursor: pointer;
}

/* ── Submit ── */
.submit-col {
  display: flex;
  align-items: flex-end;
}

.submit-btn {
  width: 100%;
  padding: 1rem 1rem;   /* was 0.75rem */
  background: var(--accent);
  color: var(--light);
  border: none;
  border-radius: 4px;
  font-family: Body, sans-serif;
  font-size: 1rem;      /* was 0.9rem */
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover  { background: #0039a0; }
.submit-btn:active { transform: scale(0.97); }

/* ── Toast ── */
.form-toast {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--primary);
  color: var(--light);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.form-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Right: contact info ── */
.contact-info {
  flex: 0 0 320px;   /* fixed width, doesn't grow or shrink */
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-label {
  font-size: 0.8rem;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-heading {
  font-family: Heading, serif;
  font-size: clamp(1.4rem, 3vw, 2rem); /* was 1.6rem max */
  letter-spacing: 0.05em;
  color: var(--light);
}

.info-value {
  font-size: clamp(1rem, 2.5vw, 1.3rem); /* was 1.15rem max */
  color: var(--light);
  font-family: Body, sans-serif;
}


/* ── Social buttons ── */
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.social-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 10px;
}

.social-btn svg {
  width: 100%;
  height: 100%;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .col-left,
  .col-right,
  .col-full {
    grid-column: 1;
  }

  .submit-col {
    align-items: stretch;
  }

    .contact-wrapper {
    gap: 1.5rem;        /* was 3rem */
  }

  .contact-section {
    padding: 1.5rem 1rem;
  }
}

.extracontent {
  max-width: 1500px;   
  width: 100%;
  color: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
  padding: 50px 1.5rem 100px;
}

.extracontent img {
  max-width: 750px;       
  width: 100%;
  height: auto;
}

.extracontent p {
  font-family: Body;
  font-size: 1.5rem;
  text-align: center;
  max-width: 1000px;        
  width: 100%;
}
@media (max-width: 1000px) {
  .extracontent {
    padding: 40px 1.5rem 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .extracontent p {
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .extracontent img {
    width: 100%;
    max-width: 100%;
  }
}

.lmcontentbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: auto;
    margin-top: -70px;
    padding: 80px 0 100px 0;
}

.lmcontentwrapper {
    max-width: 550px;
}

.lmcontentwrapper img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.lmcontentwrapper::after {    
    content: "";
    display: block;
    width: 350px;
    height: 3px;
    background: var(--light);
    margin: 15px auto 0;
}

.lmcontenttext {
    max-width: 600px;
    font-family: Body;
    color: var(--light);
    cursor: default;
    background-color: #2d837c71;
    padding: 10px 30px 10px 30px;
    border-radius: 20px;
}

.lmcontenttext p {
    line-height: 1.6;
    margin-top: 30px;
    font-size: 1.5rem;
}

.lmcontenttext2 {
    max-width: 750px;
    font-family: Body;
    color: var(--light);
    cursor: default;
    background-color: #2d837c71;
    padding: 10px 30px 10px 30px;
    border-radius: 20px;
}

.lmcontenttext2 p {
    line-height: 1.2;
    margin-top: 10px;
    font-size: 1.75rem;
}


@media (max-width: 1000px) {
  .lmcontentbox {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 80px;
  }

  .lmcontentwrapper {
    width: 100%;
    display: flex;
    flex-direction: column;  
    align-items: center;
    justify-content: center;
  }

  .lmcontentwrapper::after {
    display: block;
    width: 250px; 
  }

  .lmcontentwrapper img {
    max-width: 100%;
  }

  .lmcontenttext {
    margin-bottom: 0;
    max-width: 90%;
  }

  .lmcontenttext p {
    margin-top: 20px;
  }

  .lmcontenttext2 {
    margin-bottom: 0;
    max-width: 90%;
  }

  .lmcontenttext2 p {
    margin-top: 20px;
  }
  
}

.LMAnswers {
  color: var(--light);
  font-family: Body;
  width: 1000px;
  font-size: 1.75rem;
  margin: auto;
  text-align: center;
  padding: 0 0 60px 0;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .LMAnswers {
    font-size: 1.25rem;
    max-width: 800px;
  }
}

.cardsection, .cardsection::before, .cardsection::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.cardsection {
  padding: 20px 0 60px 0;
} 

/* ===========================
   Section Wrapper
=========================== */
.grid-section {
    padding: 3.5rem 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
/* ===========================
   Card Grid
   — JS adds count-N class; CSS adapts layout
=========================== */
.card-grid {
    display: grid;
    gap: 1.6rem 1.4rem;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
}
 
.card-grid.count-1 { grid-template-columns: repeat(1, 340px); justify-content: center; }
.card-grid.count-2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 0 auto; }
.card-grid.count-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.count-4 { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 0 auto; }
 
.card-grid.count-5                        { grid-template-columns: repeat(6, 1fr); }
.card-grid.count-5 .card:nth-child(-n+3) { grid-column: span 2; }
.card-grid.count-5 .card:nth-child(4)    { grid-column: 2 / span 2; }
.card-grid.count-5 .card:nth-child(5)    { grid-column: 4 / span 2; }
 
.card-grid.count-6 { grid-template-columns: repeat(3, 1fr); }
 
/* ===========================
   Card
=========================== */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: default;
    margin-top: 50px;
}
 
/* ===========================
   Image Wrapper — hover swap
=========================== */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}
 
.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--card-radius);
    transition: opacity var(--transition), transform var(--transition);
    will-change: opacity, transform;
}
 
.card-img.primary {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
 
.card-img.alternate {
    opacity: 0;
    transform: scale(1.06);
    z-index: 2;
}
 
.card:hover .card-img.primary   { opacity: 0;  transform: scale(1.06); }
.card:hover .card-img.alternate { opacity: 1;  transform: scale(1); }
 
.card:hover .card-image-wrapper {
    transform: translateY(-5px);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
 
/* ===========================
   Card Text
=========================== */
.card-text {
    font-family: Body;
    font-weight: 300;
    font-size: 1.75rem;
    color: var(--light);
    letter-spacing: 0.03em;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
    margin-bottom: -40px;
}

.itemfour img {
  object-fit: contain;
  background-color: #0e0e0e;
}
 
/* ===========================
   Responsive
=========================== */
@media (max-width: 680px) {
    .card-grid,
    .card-grid[class*="count-"] {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
 
    .card-grid.count-5 .card:nth-child(n) {
        grid-column: span 1 !important;
    }
 
    .grid-section {
        padding: 2.5rem 1.25rem 3rem;
    }
}
 
@media (max-width: 400px) {
    .card-grid,
    .card-grid[class*="count-"] {
        grid-template-columns: 1fr !important;
    }
}