@font-face { font-family: 'Sour Gummy'; src: url('/fonts/SourGummy-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'arimaV'; src: url('/fonts/Arima-VariableFont_wght.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'edu'; src: url('/fonts/EduTASBeginner-VariableFont_wght.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'SulphurPoint'; src: url('/fonts/SulphurPoint-Regular.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand-VariableFont_wght.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }


Quicksand-VariableFont_wght


::placeholder {
	font-family:arial;
	color: rgba(0,0,0,0.3);
	font-style: italic;
	font-weight:800;
}
/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
	scroll-snap-type: y proximity;
}

/*//////////////*/
/* PAGE LAYOUT  */
/*//////////////*/

body {
	background: rgba(255,255,255,.1);
	 color:rgba(0,0,0,.9);
	font-family:'SulphurPoint'; /*'Sour Gummy';*/
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* HEADER */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 8px 10px;
	background-color: rgba(255,255,255,.9);
	border-bottom: 2px solid rgba(0,0,0,.5);
	height:90px;
}
/* FULL SCREEN SECTIONS */
.section {
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	min-height: 100svh;      /* modern mobile-safe */
	min-height: 100vh;       /* fallback */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 8px;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

/* CONTENT WRAPPER */
.section-inner {
	width: 100%;
	max-width: 1000px;
	min-height: 40%;
	border-radius: 6px;
	position: relative;
	z-index: 1;
	background-color: rgba(255,255,255,.5);
	color: rgba(0,0,0,.7);
}
.section-shaded {
	/*background: rgba(0,0,0,0.35); */
	backdrop-filter: blur(2px);
}
.btn-wrap {
	margin-top:auto;
	display: flex;
	justify-content: center;
}
/* CARD LAYOUT */
.card-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
}

.card {
	display: flex;
	flex-direction: column;
	background: rgba(255,255,255,.9);'
	border:1px solid rgba(0,0,0,.7);
	border-radius: 10px;
	padding: 10px;
	color: rgba(0,0,0,0.75);
}
.float
{
	margin:10px;
	border:1px solid rgba(0,0,0,.7);
	border-radius:6px;
	background-color:rgba(255,255,255,.9);
	min-height:250px;
}
/* HERO SECTION */

.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;  
	height: 100%;
	padding-top: 10svh;            /* puts logo in upper third */
	gap: 16px;
}
.hero-logo {
	width: 60%;
	max-width: 320px;
	height: auto;
	z-index:100;
}


/* FOOTER */
.site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1500;
	background: rgba(0, 0, 0, 0.7); /* 90% opaque black */
	backdrop-filter: blur(6px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}
.section:last-of-type {
  padding-bottom: 48px; /* footer height + breathing room */
}
/*////////////////////*/
/* BLOG ARTICLE PAGE */
/*////////////////////*/

.blog-article {
  scroll-snap-align: none;     /* disable snap for long article */
  min-height: auto;
  padding-top: 5px;          /* account for fixed header */
  padding-bottom:10px;       /* account for fixed footer */
  align-items: flex-start;     /* top align content */
}

.blog-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 6px 8px;
  background: rgba(255,255,255,0.9);
  }
.blog-inner h1 {
	line-height: 1;
	text-align: left;   /* override justify for readability */
	font-family:"Quicksand";
	color:rgba(50,50,70,1); 
	margin-top:30px;
	margin-bottom:5px;
	text-align:left;
}
.blog-inner h2 {
  line-height: 1;
  text-align: left;   /* override justify for readability */
	color:rgba(50,50,70,1); 
  font-weight:900;
  font-family:"Quicksand";
  margin-top:20px;
  margin-bottom:5px;
  text-align:left;
}
.blog-inner h3 {
  line-height: 1;
  text-align: left;   /* override justify for readability */
	color:rgba(50,50,70,1); 
  font-family:"Quicksand";
  font-weight:900;
  text-align:left;
  margin-top:20px;
  margin-bottom:5px;
}


/* Article typography */
.blog-inner p {
  line-height: 1;
  text-align: justify;   /* override justify for readability */
  	color:rgba(50,50,70,.9); 
  font-family: "Quicksand";
  font-weight:400;
  margin-bottom:10px;
}

.blog-inner ul {
  margin: 5px;
}

.blog-inner li {
  margin-bottom: 5px;
  font-size: .9rem;
}
/* BLOG HOME LAYOUT */

.blog-home {
  text-align: left;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-main {
  flex: 2;
}

.blog-sidebar {
  flex: 1;
  background: rgba(255,255,255,0.85);
  padding: 6px;
  border-radius: 10px;
}

.blog-teaser {
  margin-bottom: 8px;
  line-height: 1.2;
}

.blog-subheading {
  margin-top: 20px;
  margin-bottom: 12px;
}

.blog-list {
  list-style: none;
  padding-left: 0;
}

.blog-list li {
  margin-bottom: 8px;
}

.blog-list a {
  font-weight: 600;
}

.blog-search {
  margin-bottom: 20px;
}

.blog-search input {
  width: 100%;
  padding: 6px;
  margin: 6px 0;
}

.blog-image img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-topics ul {
  list-style: none;
  padding-left: 0;
}

.blog-topics li {
  margin-bottom: 6px;
}

/* DESKTOP */
@media (min-width: 1024px) {
  .blog-grid {
    flex-direction: row;
  }
}



/* BACKGROUNDS */
.bg-hero {
  background-image: url('/images/background.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.25);
	z-index: 0;
}

/*//////////////////
//      SVG       //
///////////////////*/
/* ABOUT */
.about-back {
  position: relative;
  overflow: hidden;
}

.about-back::before {
  content: '';
  position: absolute;
  inset: 0;

  background: url('/images/svg/about-back.svg') center center no-repeat;
  background-size: cover;

  opacity: 0.2;   /* subtle */
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above */
.about-back > * {
  position: relative;
  z-index: 1001;
}

/* SERVICES */
.services-back {
  position: relative;
  overflow: hidden;
}

.services-back::before {
  content: '';
  position: absolute;
  inset: 0;

  background: url('/images/svg/services-back.svg') center center no-repeat;
  background-size: cover;

  opacity: 0.2;   /* subtle */
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above */
.services-back > * {
  position: relative;
  z-index: 1001;
}

/* BLOG */
.blog-back {
  position: relative;
  overflow: hidden;
}
.blog-back::before {
  content: '';
  position: absolute;
  inset: 0;

  background: url('/images/svg/blog-back.svg') center center no-repeat;
  background-size: cover;

  opacity: 0.2;   /* subtle */
  pointer-events: none;
  z-index: 0;
}
.blog-back > * {
  position: relative;
  z-index: 1001;
}


/* CONTACT */
.contact-back {
  position: relative;
  overflow: hidden;
}

.contact-back::before {
  content: '';
  position: absolute;
  inset: 0;

  background: url('/images/svg/contact-back.svg') center center no-repeat;
  background-size: cover;

  opacity: 0.1; 
  pointer-events: none;
  z-index: 0;
}

.contact-back > * {
  position: relative;
  z-index: 1001;
}


/* OVERLAY */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
    backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay.active {
  display: flex;
}

.overlay-inner {
  background: RGBA(255,255,255,.9);
  width: 92%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 10px;
  border-radius: 6px;
}



.contact-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.contact-success-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}







/*//////////////////*/
/* NAVIGATION MENU  */
/*//////////////////*/

.menu-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
  text-shadow:0 0 1px rgba(255,255,255,0.9), 0 0 2px rgba(0,0,0,0.6);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.08); cursor: pointer;
  user-select: none;
  gap: 6px;
  flex-direction: column;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: rgba(0,0,0,0.9);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Animate to X */
#menu-toggle-checkbox:checked + .menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle-checkbox:checked + .menu-toggle span:nth-child(2) {
  opacity: 0;
}

#menu-toggle-checkbox:checked + .menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
#menu-toggle-checkbox:checked ~ .site-nav {
  transform: scaleY(1);
  pointer-events: auto;
}


.site-nav {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 1900;

  display: flex;
  flex-direction: column;
  gap: 14px;

  padding: 18px 22px;
  border-radius: 18px;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);

  transform: scaleY(0);
  transform-origin: top right;
  transition: transform 0.25s ease;

  pointer-events: none;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-family:arial;
  text-decoration: none;
  font-size: 1.5rem;
  min-width:100px;
  min-height:32px;
}

.site-nav a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 1);
  text-shadow:
  -1px -1px 0 rgba(255,255,255,0.3),
   1px -1px 0 rgba(255,255,255,0.3),
  -1px  1px 0 rgba(255,255,255,0.3),
   1px  1px 0 rgba(255,255,255,0.3),
   0 0 4px rgba(0,0,0,0.8);

}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
}



/*////////////*/
/* TYPOGRAPHY */
/*////////////*/

h1 { font-size: 2em;font-weight:900; }
h2 { font-size: 1.6em; font-weight:800; }
h3 { font-size: 1.2em; font-weight:700;}
h4 { font-size: 1.0em; }
h5 { font-size: .9em; }
h6 { font-size: .75em; }

.bold      { font-weight: 500; }
.bolder    { font-weight: 600; }
.bolderer  { font-weight: 700; }
.boldest   { font-weight: 800; }
.boldester { font-weight: 900; }

.big { font-size:1.2em; }
.bigger { font-size:1.4em; }
.biggerer { font-size:1.5em; }
.biggest { font-size:1.6em; }
.biggester { font-size:1.8em; }
.biggestester { font-size:2.8em; }

.normal {font-size:1em;}
.small { font-size:.9em;}
.smaller { font-size:.8em; }
.smallest { font-size:.7em; }
.smallestest { font-size:.6em; }

.arima {font-family:"arimaV";}
.edu { font-family:"edu"; }

p {text-align:justify;color:rgba(0,0,0,.8);font-size: 1.2em;}

a { font-family:"arial";font-weight:"600";	color:rgba(0,68,85,1);	text-decoration:none;}
a:hover { color:rgba(0,136,170,1);}



.italic {font-style:italic;}

.center {width:100%;text-align:center;}

.privacy-text { font-family: Arial, Helvetica, sans-serif; }


hr {margin:10px;}

.black{color:rgba(0,0,0.9);}
.darkgrey{color:rgba(77,77,77,.9)};
.red{color:rgba(255,10,10.9);}
.block{ display:block;}
.captcha{ text-decoration:none; color:rgba(1,102,128,.9);padding:3px;margin-bottom:5px;}

.outline { color: rgba(255,255,255,.9);	text-shadow: 1px 1px 0 rgba(0,0,0,0.9);}
.shadow{ text-shadow: -2px -2px 0 rgba(0,0,0,0.95), 2px -2px 0 rgba(0,0,0,0.95),-2px  2px 0 rgba(0,0,0,0.95), 2px  2px 0 rgba(0,0,0,0.95);}


/*//////////////*/
/*    FORMS     */
/*//////////////*/
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 4px;
}

form input,
form textarea,
form select {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.2);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.9);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: rgba(0,0,0,0.4);
}

form button {
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: rgba(238, 255, 255, 0.7);
  color: rgba(46, 46, 67, 0.7);
  font-family: inherit;
  font-size: .9rem;
  cursor: pointer;
}

form button:hover {
  background-color: rgba(238, 255, 255, 1);
  color: rgba(46, 46, 67, 1);
}

.contact-form button:hover {
  background-color: rgba(238, 255, 255, 1);
  color: rgba(46, 46, 67, 1);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* GLASS BUTTON */


.btn-glass {
  width: 200px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 600;
  background-color: rgba(238, 255, 255, 0.7);
  color: rgba(46, 46, 67, 0.7);
  border: 2px solid rgba(25, 25, 25, .7);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
}

.btn-glass:hover {
  background-color: rgba(238, 255, 255, 1);
  color: rgba(46, 46, 67, 1);

  transform: translateY(-1px);
}

.btn-glass:active {
  transform: translateY(0);
}
/* SECURITY */
.lynx-captcha {
  margin: 16px 0;
  text-align: center;
}
.lynx-captcha img {
  display: block;
  margin: 0 auto 8px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.25);
}
/* DESKTOP */
@media (min-width: 1024px) {
  .section-inner 
  {
    max-width: 900px;
  }
  .hero-inner {
    justify-content: center;
    padding-top: 0;
  }
  .hero-logo {
    width: 320px;
    max-width: none;
  }
  .card-row {
    flex-direction: row;
  }
  .card {
    flex: 1; /* auto-equal width */
  }
  /* Optional: force 3 cards max */
  .card-row.three .card {
    max-width: calc(33.333% - 11px);
  }
  /* Optional: force 2 cards max */
  .card-row.two .card {
    max-width: calc(50% - 8px);
  }
  .search-result-row {
    flex-direction: row;          /* side by side */
    align-items: center;
    justify-content: space-between;
  }
  .search-result-title {
    padding-right: 20px;
  }
  .search-result-action .btn-glass {
    width: auto;                  /* shrink button */
  }
}
@media (hover: hover) and (pointer: fine) {
  .bg-hero,
  .bg-services,
  .bg-contact {
    background-attachment: fixed;
  }
}
/* Search Results */

.search-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.search-result-title {
  flex: 1;
  font-weight: 600;
  text-align: left;
}

.search-result-action {
  flex-shrink: 0;
}

/* Make overlay content a vertical layout */
.overlay-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Article scrolls */
.overlay-body-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 10px;
}

.overlay-footer {
  display: flex;
  flex-shrink: 0;
  flex-direction: row !important;     /* force horizontal */
  gap: 14px;
  padding: 5px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.1);
}

.overlay-footer .blog-btn-glass {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
}

.blog-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 42px;
  font-size: .9rem;
  font-weight: 600;
  background-color: rgba(238, 255, 255, 0.7);
  color: rgba(46, 46, 67, 0.7);
  border: 2px solid rgba(25, 25, 25, .7);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.12s ease;
  white-space: nowrap;
  min-width: 0;      /* 🔥 important */
}
.blog-btn-glass:hover {
  background-color: rgba(238, 255, 255, 1);
  color: rgba(46, 46, 67, 1);

  transform: translateY(-1px);
}

.blog-btn-glass:active {
  transform: translateY(0);
}
/* Override fixed button width */



/* purely JS hook */
.overlay-close {}

/* ==============================
   LOGIN OVERLAY
============================== */
overlay-content{
	width:auto;
	background:rgba(255,255,255,.001);
}
.login-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.login-standalone {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-box {
  width: 92%;
  max-width: 400px;
  padding: 28px;
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}


.login-box h2 {
  margin-bottom: 20px;
}
/* ==============================
   FULLSCREEN OVERLAY MODE
============================== */

.overlay.overlay-fullscreen .overlay-inner {
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: none;
  width: 100%;
  height: 100%;
}

.overlay.overlay-fullscreen .overlay-header {
  display: none;
}
.blog-row {
  border-bottom: 1px solid #ddd;
  transition: background 0.2s ease;
}

.blog-row:hover {
  background: rgba(0,0,0,0.03);
}
.blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
}

.blog-link:hover {
  opacity: 0.85;
}
.ichthus{
	max-height:30px;
	height:90%;
	display:inline-flex;
}
