@font-face {
  font-family: 'Butler';
  src: url('/assets/fonts/Butler_Regular.otf') format('opentype');
  font-weight: 400;
  /* Normal */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('/assets/fonts/Butler_Medium.otf') format('opentype');
  font-weight: 500;
  /* Medium */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('/assets/fonts/Butler_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Butler';
  src: url('/assets/fonts/Butler_Black.otf') format('opentype');
  font-weight: 900;
  /* Heavy/Black - Great for big titles */
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  font-family: var(--font-body)
}

.spread-section {
  margin: 45px 0;
}


/* COLORS */
:root {
  --primary-color: #1A2255;
  /* Navy Blue */
  --primary-color-alt: #F0C024;
  /* Gold */
  --primary-color-hover: #2a3575;
  --on-primary-color: white;
  --background-color: #ffffff;
  --background-color-alt: #f4f4f4;
  --header-color: #1A2255;
  --body-text-color: #333333;
  --card-color: #ffffff;
  --footer-color: #1A2255;
  --nav-text-color: #1A2255;
  --nav-text-hover-color: #F0C024;

  --font-headline: "Butler", "Times New Roman", serif;
  --font-body: "Stack Sans Text", sans-serif;
}

/* NAV */

/* If using centered nav, and not left and right use this .nav {
  display: flex;
  justify-content: center;
  gap: 35px;
} */

/* This is for left and right nav */
.nav {
  display: flex;
  justify-content: space-between;
  /* Pushes children to opposite ends */
  align-items: center;
  /* Vertically aligns items */
  gap: 35px;
}

.nav.visisble {
  animation: slideFadeIn 1s forwards;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 35px;
  /* Spacing between the links */
}


.nav a {
  color: var(--nav-text-color);
  /* Dark grey color */
  text-decoration: none;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  /* Smooth transition for hover effect */
}

.nav-logo {
  width: auto;
  height: 45px;
  padding: 12px;
  margin: auto;
}

.nav a:hover {
  color: var(--nav-text-hover-color);
  /* Fully black on hover */
}

.menu-row {
  display: none;
  flex-direction: row;
  align-items: center;
}


/* The container for the dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Style for the main dropdown link (e.g., "Services") */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  /* Space between text and caret icon */
}

.dropdown-toggle i {
  font-size: 14px;
}

/* The hidden dropdown content */
.dropdown-content {
  display: none;
  /* Hidden by default */
  position: absolute;
  background-color: var(--card-color);
  min-width: 200px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  left: -15px;
  z-index: 10;
  overflow: hidden;
  margin-top: 0;
}

.dropdown-content a {
  color: var(--nav-text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--light-gray-bg);
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu-button {
  font-size: 24px;
  padding: 18px;
  margin-right: 12px;
  width: 40px;
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 10px;
  right: 10px;
  border-radius: 26px;
  background: white;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideFadeIn 0.2s forwards;
}

.mobile-menu a {
  padding: 25px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--nav-text-color);
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px;
  border-bottom: 1px solid #6c6c6c;
  box-sizing: border-box;
  /* Ensures padding is included in width */
}

.mobile-menu-header a {
  padding: 0;
  border-bottom: none;
  font-size: 22px;
}

.submenu-toggle {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0 10px;
}

.mobile-submenu {
  display: none;
  background-color: var(--background-color);
  /* Slightly different background to stand out */
}

.mobile-submenu a {
  font-size: 18px;
  /* Slightly smaller text for sub-items */
  font-weight: normal;
  padding-left: 40px;
  /* Indent sub-items */
}

.mobile-submenu.open {
  display: flex;
  flex-direction: column;
}


/* HEADERS */

h1,
h2,
h3 {
  font-family: var(--font-headline);
  color: var(--header-color);
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

h4,
h5,
h6 {
  font-family: var(--font-headline);
  color: var(--header-color);
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(1rem, 10vw, 5rem);
  text-align: center;
  padding-top: 45px;
  padding-bottom: 30px;
}

h1.visible,
h2.visible {
  animation: pulse 2s forwards;
}

h2 {
  font-size: clamp(1rem, 12vw, 3rem);
  /* Large size */
  text-align: center;
  padding-top: 35px;
  padding-bottom: 20px;
}

h3 {
  font-size: 36px;
  text-align: left;
  padding-top: 35px;
  padding-bottom: 20px;
}

h4 {
  font-size: 30px;
  padding-top: 35px;
  padding-bottom: 20px;
}

h5 {
  font-size: 26px;
  padding-top: 20px;
  padding-bottom: 10px;
}

h6 {
  font-size: 22px;
  padding-top: 15px;
  padding-bottom: 10px;
}

/* PARAGRAPHS */

p {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
  color: var(----body-text-color);
}

p.visible {
  animation: fadeIn 1s forwards;
}

.p1 {
  font-size: 28px;
}

.p2 {
  font-size: 26px;
}

.p3 {
  font-size: 24px;
}

.smallp {
  font-size: 16px;
}

.p-header {
  padding: 15px 0;
  font-weight: bold;
  font-size: 28px;
  position: relative;
}

.p-stacker-start {
  font-size: 32px;
  line-height: 1.3;
  text-align: left;
  font-weight: bolder;
  margin: 3px 0;
}

.p-stacker-med {
  text-align: left;
  font-size: 28px;
  margin: 3px 0;
}

.p-stacker-sm {
  text-align: left;
  font-size: 24px;
  margin: 3px 0;
}

.capped {
  text-transform: uppercase;
}

.bolded {
  font-weight: bold;
}

.colored {
  color: var(--primary-color);
}

/* LINKS */

.button {
  display: inline-block;
  background-color: var(--primary-color);
  /* Blue color */
  color: var(--on-primary-color) !important;
  /* White text */
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  font-weight: bold;
  border-radius: 48px;
  transition:
    background-color 0.3s ease-in-out,
    transform 0.2s ease-in-out;
}

.button:hover {
  transition: transform 0.3s ease;
  transform: translateY(-3px);
  cursor: pointer;
}

.bdisabled {
  background-color: var(--primary-color-alt);
  transition: none;
  transform: none;
}

.bdisabled:hover {
  cursor: auto;
  transform: none;
  transition: none;
}

.button-gold {
  background-color: var(--primary-color-alt);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btext {
  background-color: transparent;
  display: inline-block;
  /* Makes it easier to style */
  color: var(--primary-color);
  /* Deep but readable blue */
  text-decoration: none;
  /* Remove underline */
  font-weight: bold;
  /* Make it stand out */
  transform: none;
  transition: border-color 0.3s ease-in-out;
  border: solid 2px transparent;
}

.boutlined {
  background-color: transparent;
  display: inline-block;
  /* Makes it easier to style */
  color: var(--primary-color);
  /* Deep but readable blue */
  text-decoration: none;
  /* Remove underline */
  font-weight: bold;
  /* Make it stand out */
  border: solid 2px var(--primary-color);
}

.btext:hover {
  cursor: pointer;
  transform: none;
  border: solid 2px var(--primary-color);
}

.barrow {
  position: relative;
}

.barrow:hover {
  transform: none;
}

.barrow::after {
  content: "";
  transition: margin 0.3s ease;
}

.barrow:hover::after {
  content: "→";

  margin-left: 15px;
}

.card {
  background-color: var(--card-color);
  border-radius: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 16px;
}

.card-border {
  border-radius: 28px;
  border: 2px solid var(--primary-color);
  margin: 16px;
}

.clicklink {
  display: inline-block;
  /* Makes it easier to style */
  color: var(--primary-color);
  /* Deep but readable blue */
  text-decoration: none;
  /* Remove underline */
  font-weight: bold;
  /* Make it stand out */
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.clicklink:hover {
  color: var(--primary-color-hover);
  /* Darker shade on hover */
  transform: scale(1.02);
  /* Slight grow effect */
  text-decoration: underline;
  /* Add underline on hover */
  cursor: pointer;
}

.quick-links {
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Aligns items vertically */
  gap: 8px;
  /* Adds space between chips */
  padding: 10px;
  flex-wrap: wrap;
}

.chip {
  background-color: var(--primary-color);
  color: white;
  padding: 9px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.chip:hover {
  background-color: var(--primary-color-hover);

}

.hoverbump:hover {
  transition: transform 0.3s ease;
  transform: translateY(-3px);
  cursor: pointer;
}

/* TABLES */

table {
  border-collapse: collapse;
  background-color: var(--card-color);
  border-radius: 10px;
  border-style: hidden;
}

th,
td {
  padding: 15px;
  text-align: center;
  border: solid 1px #747474;
}

th {
  background-color: var(--primary-color);
  color: var(--on-primary-color);
  border: hidden;
}

tr:nth-child(even) {
  background-color: var(--primary-color-alt);
}

td {
  color: var(--body-text-color);
  border-top: hidden;
  border-bottom: hidden;
}

th:first-of-type {
  border-top-left-radius: 10px;
}

th:last-of-type {
  border-top-right-radius: 10px;
}

tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}

tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

/* IMAGES */

.lightbox-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.lightbox-img:hover {
  transform: scale(1.05);
  /* Slight zoom effect */
}

.round {
  border-radius: 25px;
}

.rounder {
  border-radius: 45px;
}

.circle {
  border-radius: 50%;
}

/* LAYOUTS */

.content {
  min-height: 85vh;
  padding-bottom: 45px;
}

.contained {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-row {
    display: flex;
  }
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.padded {
  padding: 24px;
}

.padded-v {
  padding-top: 24px;
  padding-bottom: 24px;
}

.padded-h {
  padding-top: 24px;
  padding-bottom: 24px;
}

.lrcontainer {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  align-items: center;
}

.left-side {
  flex: 1;
}

/* Right Side */
.right-side {
  flex: 1;
}

.left-side.visible {
  animation: slideInLeft 1.5s forwards;
}

.right-side.visible {
  animation: slideInRight 1.5s forwards;
}

.tri-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}


/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
  .lrcontainer {
    flex-direction: column;
  }

  .tri-col {
    grid-template-columns: 1fr;
  }
}



/* ANIMATIONS */

.popInChildren>*.visible {
  animation: popIn 1s forwards;
}

.pulseInChildren>*.visible {
  animation: pulse 1s forwards;
}

.slideFadeInChildren>*.visible {
  animation: slideFadeIn 1s forwards;
}

.animated.visible {
  animation-fill-mode: forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* FOOTER */

.footer-text {
  color: white;
  /* Deep blue to match the theme */
  text-align: center;
  letter-spacing: 5px;
  /* Adds spacing between the letters */
  font-size: 1rem;
  margin: 10px 0;
}

.footer-text.visible {
  animation: slideFadeIn 1s forwards;
}

.footer {
  background-color: var(--footer-color);
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
}

.copyright {
  color: #bbbbbb;
  font-size: 14px;
  margin-top: 10px;
}




.footer-text.visible {
  animation: slideFadeIn 1s forwards;
}

.footer {
  background-color: var(--footer-color);
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
}


/* FOOTER */

/* FOOTER BRANDING */
.footer-branding {
  display: flex;
  align-items: center;
  /* Vertically aligns items */
  gap: 20px;
  /* Adjust space between items */
  padding-bottom: 30px;
  /* Space between branding and the grid */
}

.footer-logo {
  width: 300px;
  margin: auto;
  padding-bottom: 10px;
}

.vertical-line {
  width: 2px;
  height: 50px;
  /* Adjust line height as needed */
  background-color: var(--on-primary-color);
}

.footer-brand-name {
  color: var(--on-primary-color);
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}


.footer {
  background-color: var(--footer-color);
  color: #a9a9a9;
  /* Light gray for text */
  padding: 58px 0 10px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;

  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
  /* Separator line */
}


.footer-column {
  text-align: left;
  /* Aligns all text in the columns to the left */
}

.footer-column h5 {
  color: var(--on-primary-color);
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact-info a {
  color: #a9a9a9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact-info a:hover {
  color: var(--on-primary-color);
  text-decoration: underline;
}

.footer-contact-info {
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-contact-info i {
  margin-top: 4px;
  color: var(--primary-color);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-bottom-bar p {
  margin: 0;
  font-size: 14px;

}

.footer-bottom-bar a {
  color: #a9a9a9;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  color: var(--on-primary-color);
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
  }
}


/* TOOLS */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}



/* -- CTA FORM SECTION -- */
.cta-form-section {
  padding: 50px 20px;
}

.cta-form-section .section-header {
  text-align: center;
  margin: 0 auto 50px auto;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}



.form-group {
  margin-bottom: 25px;
}

/* Style for Labels */
.form-group label,
.form-group legend {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--header-color);
  margin-bottom: 8px;
  font-size: 16px;
}

/* Style for Text Inputs and Textarea */
.form-group input[type="text"],
.form-group input[type="search"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--body-text-color);
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  /* Important for consistent sizing */
  transition: border-color 0.3s;
}

.form-group input[type="search"]:focus,
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--primary-color-alt);
}

/* Style for Checkbox Group */
.form-group fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-item label {
  margin-bottom: 0;
  /* Override default label margin */
  font-weight: normal;
  /* Make checkbox labels normal weight */
  font-family: var(--font-body);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}


/* Style for Submit Button Area */
.form-submit {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;
}

/* -- ACCESSIBILITY UTILITY -- */
/* Hides elements visually but keeps them accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

form.visible {
  animation: pulse 1s forwards;
}

#form-success-message {
  display: none;
  /* Hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background-color: #fff;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
}

#form-success-message p {
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  color: var(--header-color);
  margin-top: 20px;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--primary-color);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--primary-color);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #ccc;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}