/* -----------------------------
   Base / Typography
------------------------------ */
:root{
  --white: #ffffff;
  --light-gray: #f2f2f2;
  --dark-gray: #2f2f2f;
  --text: #000000;

  --max-width: 1100px;
  --pad: 24px;

  --section-desktop-max: 800px;
  --section-mobile-width: 90%;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16pt;          /* Updated */
  color: var(--text);
  line-height: 1.6;         /* Updated */
}

h1,h2,h3,h4,h5,h6{
  margin: 0 0 12px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1{ font-size: 36pt; }
h2{ font-size: 30pt; }
h3{ font-size: 28pt; }
h4{ font-size: 24pt; }
h5{ font-size: 22pt; }
h6{ font-size: 20pt; }

p{ margin: 0 0 16px; }

/* -----------------------------
   Text Links (content only)
------------------------------ */
.section-inner a,
.section-inner a:visited{
  color: #000000;                /* Keep black */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 0.2s ease;
}

.section-inner a:hover{
  text-decoration-thickness: 3px;
}

.section-inner a:active{
  color: #000000;
}


/* Keep nav links clean */
nav a{
  text-decoration: none;
  color: #000000;
	font-size: 17px;
}



/* Keeps anchor jumps visible */
section{ scroll-margin-top: 90px; }

/* -----------------------------
   Layout helpers
------------------------------ */
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-inner{
  margin: 0 auto;
  max-width: var(--section-desktop-max);
  width: 100%;
  padding: 0 var(--pad);
}

/* -----------------------------
   Header + Nav
------------------------------ */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #e6e6e6;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo{
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo img{
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}


nav{
  background: var(--white);
}

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-list a{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-list a:hover{
  background: #f7f7f7;
}

/* -----------------------------
   Hamburger (CSS-only with X animation)
------------------------------ */
.nav-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hamburger{
  display: none;
  width: 48px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #dedede;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.hamburger span{
  position: absolute;
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1){
  transform: translateY(-8px);
}

.hamburger span:nth-child(3){
  transform: translateY(8px);
}

/* Animate into X */
.nav-toggle:checked + .hamburger span:nth-child(1){
  transform: rotate(45deg);
}

.nav-toggle:checked + .hamburger span:nth-child(2){
  opacity: 0;
}

.nav-toggle:checked + .hamburger span:nth-child(3){
  transform: rotate(-45deg);
}

/* -----------------------------
   Sections
------------------------------ */
.hero,
.section{
  padding: 70px 0;
}

.hero{ background: var(--white); }
.alt{ background: var(--light-gray); }

/* -----------------------------
   Footer
------------------------------ */
footer{
  background: var(--dark-gray);
  color: #ffffff;
  padding: 18px 0;
	font-size: 11pt; 
}

footer p{ margin: 0; }

/* -----------------------------
   Responsive rules
------------------------------ */
@media (max-width: 900px){
	
	
	/* Make the header act as the positioning context */
  header{
    position: sticky; /* you already have this */
  }

  .header-inner{
    position: relative; /* IMPORTANT: anchor the dropdown to the header */
  }

  /* Dropdown overlays content instead of taking up space */
  nav{
    display: none;             /* closed by default */
    position: absolute;        /* key change */
    top: 100%;                 /* directly below header-inner */
    left: 0;
    right: 0;
    z-index: 9999;

    background: var(--dark-gray);
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;          /* small gap under header */
  }

  .nav-toggle:checked ~ nav{
    display: block;            /* open */
  }
	

  .header-inner{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hamburger{
    display: flex;
    align-self: flex-end;
  }

  nav{
    display: none;
  }

  .nav-toggle:checked ~ nav{
    display: block;
  }

  nav{
    background: var(--dark-gray);
    border-radius: 14px;
    padding: 10px;
  }

  .nav-list{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-list a{
    color: #ffffff;
    padding: 14px 12px;
    border-radius: 10px;
  }

  .nav-list a:hover{
    background: rgba(255,255,255,0.12);
  }

  .section-inner{
    width: var(--section-mobile-width);
    max-width: none;
    padding: 0;
  }
}



@media (max-width: 600px){

  .two-column{
    flex-direction: column;
  }

  /* Force correct order on phones */
  .reverse .image-content{
    order: -1;  /* image first */
  }

  .reverse .text-content{
    order: 1;
  }

  .image-content{
    margin-bottom: 20px;
  }
	
	 .header-inner{
    flex-direction: column;
    align-items: center;   /* Center logo + hamburger */
    gap: 12px;
  }

  .logo{
    text-align: center;
  }

  .logo img{
    margin: 0 auto;
  }

  .hamburger{
    align-self: center;    /* Center hamburger under logo */
  }
	
	
}

/* --- PHONE: force Section 4 image on top --- */
@media (max-width: 600px){
  .two-column.reverse{
    flex-direction: column !important;
  }

  .two-column.reverse .image-content{
    order: -1;
  }

  .two-column.reverse .text-content{
    order: 1;
  }
	/* Make Section 4 image 20% smaller on phones */
  .reverse.round-image img,
  .reverse .round-image img{
    max-width: 240px; /* 20% smaller than 300px */
  }
}


@media (max-width: 520px){
  :root{ --pad: 16px; }
  .hero, .section{ padding: 56px 0; }
  section{ scroll-margin-top: 140px; }
}


/* -----------------------------
   Tablets Only (601px–900px)
------------------------------ */
@media (min-width: 601px) and (max-width: 900px){

  .header-inner{
    flex-direction: row;          /* Keep logo and hamburger in row */
    align-items: center;          /* Vertically center them */
    justify-content: space-between;
  }

  nav{
    display: none;                /* Hide full nav */
  }

  .hamburger{
    display: flex;                /* Show hamburger */
    align-self: center;           /* Vertically centered */
  }

}




/* -----------------------------
   Back To Top Arrow (circle)
------------------------------ */
.back-to-top{
  text-align: center;
  margin-top: 40px;
}

.back-to-top a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  border-radius: 999px;

  background: #000000;   /* black circle */
  color: #ffffff;        /* white arrow */

  font-size: 26pt;
  line-height: 1;

  text-decoration: none;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-to-top a:hover{
  transform: translateY(-4px);
  opacity: 0.85;
}

.back-to-top a:focus-visible{
  outline: 3px solid #000;
  outline-offset: 4px;
}



/* -----------------------------
   Scroll Down Arrow (circle)
------------------------------ */
.scroll{
  text-align: center;
  margin-top: 40px;
}

.scroll a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  border-radius: 999px;

  background: #000000;   /* black circle */
  color: #ffffff;        /* white arrow */

  font-size: 26pt;
  line-height: 1;

  text-decoration: none;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll a:hover{
  transform: translateY(-4px);
  opacity: 0.85;
}

.scroll a:focus-visible{
  outline: 3px solid #000;
  outline-offset: 4px;
}











/* -----------------------------
   Section 2 Two Column Layout
------------------------------ */
.two-column{
  display: flex;
  align-items: center; /* Vertical centering */
  gap: 40px;
}

.text-content{
  flex: 2; /* 2/3 */
}

.image-content{
  flex: 1; /* 1/3 */
  display: flex;
  justify-content: center;
}

.image-content img{
  max-width: 100%;
  height: auto;
  display: block;
}



/* Make image round */
.round-image img{
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}







/* -----------------------------
   New 50/50 Sections
   White section: image left
   Gray section: image right
------------------------------ */
.half-split{
  display: flex;
  align-items: center;
  gap: 40px;
}

.half-split-text,
.half-split-image{
  flex: 1;
}

.half-split-image{
  display: flex;
  justify-content: center;
}

.half-split-image img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Desktop layout */
.half-split-left{
  flex-direction: row;
}

.half-split-right{
  flex-direction: row;
}

/* Tablet + phone: image on top */
@media (max-width: 900px){
  .half-split{
    flex-direction: column;
  }

  .half-split-image{
    order: -1;
    margin-bottom: 20px;
  }

  .half-split-text{
    order: 1;
  }
}







/* -----------------------------
   FAQ Accordion
------------------------------ */
.faq-section{
  background: var(--white);
}

.faq-inner{
  max-width: 800px;
}

.faq-item{
  border-bottom: 1px solid #d9d9d9;
  padding: 0;
}

.faq-item:first-of-type{
  border-top: 1px solid #d9d9d9;
}

.faq-item summary{
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 44px 22px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item summary::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary::after{
  content: "−";
}

.faq-answer{
  padding: 0 0 22px 0;
}

.faq-answer p{
  margin: 0;
}


/* -----------------------------
   Masonry Thumbnails Section
------------------------------ */
.masonry-section{
  background: var(--white);
}

.masonry-inner{
  max-width: 1100px;
}

.masonry-grid{
  column-count: 3;
  column-gap: 30px;
}

.masonry-card{
  display: inline-block;
  width: 100%;
  margin: 0 0 30px;
  break-inside: avoid;
  background: var(--white);
  text-align: left;
}

.masonry-thumb-link,
.masonry-thumb-link:visited,
.masonry-thumb-link:hover,
.masonry-thumb-link:active{
  display: block;
  text-decoration: none;
  color: inherit;
}

.masonry-thumb-link img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.masonry-content{
  padding-top: 14px;
  text-align: left;
}

.masonry-content h3{
  margin: 0 0 10px;
}

.masonry-content h3 a,
.masonry-content h3 a:visited,
.masonry-content h3 a:hover,
.masonry-content h3 a:active{
  color: #000000;
  text-decoration: none;
}

.masonry-content p{
  margin: 0 0 16px;
}

.masonry-content .masonry-button,
.masonry-content .masonry-button:visited,
.masonry-content .masonry-button:hover,
.masonry-content .masonry-button:active{
  display: inline-block;
  background: #000000;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.2;
}

.masonry-content .masonry-button:hover{
  opacity: 0.85;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Tablet */
@media (max-width: 900px){
  .masonry-grid{
    column-count: 3;
  }
}

/* Phone */
@media (max-width: 600px){
  .masonry-grid{
    column-count: 1;
  }
}

/* -----------------------------
   Full Width Image Section
------------------------------ */
.full-image-section{
  background: var(--dark-gray);
  color: #ffffff;
  padding-bottom: 0; /* remove bottom spacing before image */
}

.center-text{
  text-align: center;
  max-width: 700px;
}

.center-text p{
  margin-left: auto;
  margin-right: auto;
}

/* Make links white if any appear here */
.full-image-section a,
.full-image-section a:visited{
  color: #ffffff;
}

/* Full-width image */
.full-image{
  width: 100%;

}

.full-image img{
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------
   Horizontal Rule
------------------------------ */
.black-line {
  border: none;
  height: 4px;
  background-color: black;
}

/* -----------------------------
   Video Hero Section
------------------------------ */
.video-hero{
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.video-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  text-align: center;
  color: #ffffff;
}

.hero-content h1{
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content p{
  color: #ffffff;
  margin: 0 auto;
}

/* Tablet */
@media (max-width: 900px){
  .video-hero{
    height: 70vh;
    min-height: 450px;
  }
}

/* Phone */
@media (max-width: 600px){
  .video-hero{
    height: 60vh;
    min-height: 400px;
  }
}




/* -----------------------------
   Section Sub Navigation
------------------------------ */
.sub-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.sub-nav a,
.sub-nav a:visited{
  display: inline-block;
  background: #000000;
  color: #ffffff !important;
  text-decoration: none !important;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 16px;
  line-height: 1.2;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.sub-nav a:hover{
  background: #222222;
  transform: translateY(-2px);
  opacity: 0.9;
}

.sub-nav a:active{
  transform: translateY(0);
}

.sub-nav a:focus-visible{
  outline: 3px solid #000;
  outline-offset: 4px;
}
