@import url('https://fonts.googleapis.com/css2?family=Anton&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

/* Accessibility helpers */
:focus-visible {
  outline: 3px solid #333;
  outline-offset: 2px;
}
body .gform_wrapper .gform_body,    body .gform_wrapper .gform_body .gfield_label,
body .gform_wrapper .gform_body label {
    font-size: 20px;
}
.gform_button.button, .gform-theme--framework .gf_progressbar .percentbar_blue,
.gform_next_button.gform-theme-button.button {
background-color: #1b3662;
}
/* Divi-specific tweaks */
.et_pb_button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body, p, div {
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
	font-size: 19px;
	font-size: clamp(19px, 4vw, 22px);
/* 		clamp(0.947rem, 0.208vw + 0.842rem, 1.053rem) */
	line-height: 1.5em;
	
}
sup {
    font-size: 62%;
}
.large p, .large div, .large {
  font-size: 30px;
  font-weight: 700;
}
.container {
padding: max(10px, 2vw) max(10px, 2vw) max(10px, 2vw) max(10px, 2vw);
border-width: max(5px, 1vw) max(5px, 1vw) max(5px, 1vw) max(5px, 1vw);
}
:root {
    --content-width: 90%;
}
.et_pb_button:after, .et_pb_button:before {

    content: none;
}
body .et_pb_button  {
	font-size: 24px;
	text-transform: uppercase;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f2e9d9+100 */
background: linear-gradient(to bottom,  #ffffff 0%,#f2e9d9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    padding: 2.3% !important;
    border-radius: 13px !important;
}
body .et_pb_button_module_wrapper {
  text-wrap-mode: nowrap;
}
h1, h2 {
	font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size: 5.1vw;
	font-size: clamp(32px, 5.1vw, 60px);
	
}
h1 {
  color: :#4a5b4a;
}
h2 {
		font-size: clamp(30px, 4.1vw, 50px);
}
h3 {
font-family: "Anton", sans-serif;
  font-weight: 400;

		font-size: clamp(26px, 2.3vw, 40px);
	
}
a:hover, .blog h2:hover {
  color: #4a5b4a;
}
.blog img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  object-position: center; /* Adjusts focal point */
}
.small h2 {
	font-size: 3vw;
}
.white p, .white h2, .white ul li {
	color: white;
}
.center p, .center h2, .center div, .center {
text-align: center;
}
.et_pb_menu--with-logo .et_pb_menu__wrap {
    margin-top: 35px;
}
.enroll ul li a {
  background: #8b1117;
  border: 1px solid black;
  border-radius: 22px;
    letter-spacing: .03em;
  padding: 1.32em 2.3em .7em 2.3em !important;
}
.enroll ul li a:hover {
  background: white;
  opacity: 1;
  border: 1px solid #8b1117;
  color: #8b1117 !important;

}
.highlight a {
    background: #4a5b4a;
    padding: 11px 14px !important;
    border: 1px solid white;
    transition: all 0.3s ease;
}
.highlight a:hover {
    background: white;
    color: #1b3662 !important;
    padding: 11px 14px !important;
    transition: all 0.3s ease;
}
 .et_pb_module .et_pb_button:hover, body .et_pb_button:hover {
    color: #ffffff;
    background-color: #4a5b4a !important;
    background: transparent;
}
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
  text-transform: uppercase;
}
.et_pb_menu .et-menu>li {
    padding-left: 17px;
    padding-right: 17px;
}
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    text-transform: uppercase;
    letter-spacing: .03em;
}
.customicons .et-pb-icon {
    color: #4a5b4a !important;
    font-size: 63px !important;
    background: white;
    border-radius: 11px;
}
.customicons .et_pb_icon_list_text {
  font-weight: 700;
}
footer p {
  font-size: 18px;
}
.ftr,.ftr p {
  font-size: 16px;
}
.partners-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  #partner-search,
  #partner-filter {
    padding: 10px 14px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 19px;
    flex: 1;
    min-width: 200px;
  }
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
  }
  .partner-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
  }
  .partner-card img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
  }
  .partner-no-image {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #333;
  }
  .partner-card.hidden {
    display: none;
  }

  /* Basic styling for the menu items */
nav ul li a {
  color: #333;
  text-decoration: none; /* Removes the default underline */
  display: inline-block;
  position: relative; /* Establishes positioning context for the ::after pseudo-element */
  padding-bottom: 5px; /* Adds space between text and the custom underline */
}

/* Style the custom underline using ::after */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:after {
  content: '';
  transform: unset;
  position: absolute;
  width: 100%;
  height: 2px; /* Underline thickness */
      top: unset !important;
  bottom: 10px;
  left: 0;
  background-color: #fff; /* Underline color */
  transform: scaleX(0); /* Hides the underline by default */
  transform-origin: bottom right; /* Sets the starting point of the animation */
  transition: transform 0.45s ease-out; /* Smooth transition effect */
}
.red.large {
    color: #8b1117 !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    text-align: center !important;
}
/* Animation on hover */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:hover::after {
  width: 100%;
  transform: scaleX(1); /* Expands the underline to full width */
  transform-origin: bottom left; /* Changes origin on hover for desired exit animation */
}
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.highlight a:hover::after {
    transform: unset;
      transform: scaleX(0);
}
/* Tablet & mobile fixes live here */
@media (max-width: 980px) {
  /* your grid / order fixes */
  body .et_pb_button  {
	font-size: 22px;
  }
  .enroll.et_pb_menu .et_pb_menu__menu {
            display: block;
        position: fixed;
        bottom: -5px;
  }
   .enroll.et_pb_menu .et_pb_menu__menu a {
        font-size: 28px;
        border-radius: 0;
        letter-spacing: .03em;
        padding: 1em 2.3em 1em 2.3em !important;
        width: max-content;
  }
  .enroll .et_mobile_nav_menu {
    display: none;
  }
}
@media (max-width: 580px) {
.et_pb_menu__logo-wrap {
    margin-top: 10%;
}
h2 {

    line-height: 1.3em;
}
}
