/* Header Container */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #fff;
  width: 100%;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Branding */
.site-branding {
  flex: 1 1 100%;
  text-align: center;
}

.site-title {
  font-size: 32px;
  font-weight: bold;
  color: #59CAD9;
  margin: 0;
}
.main-navigation {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 10px;
}

.primary-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.primary-menu li {
  display: inline-block;
}

.primary-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #6B7280;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.primary-menu li:last-child a {
  background-color: #59CAD9;
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
}
.primary-menu a.is__selected{
  color: #47b5c3;
  position: relative;
}
.primary-menu a.is__selected::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -7px;
	width: 77px;
	height: 16px;
	background-image: url("data:image/svg+xml;utf8,<svg width='77' height='16' viewBox='0 0 77 16' xmlns='http://www.w3.org/2000/svg'><path d='M61.32 0.99C61.86 1.12 61.23 -0.06 61.94 0.05C62.64 -0.01 62.16 0.56 62.72 0.87C65.45 -0.25 67.18 1.36 68.65 0C70.32 0.91 72.9 0.16 74.38 0.91C75.41 2.59 75.26 4.89 76.62 6.36C76.51 7.08 75.6 6.8 76.01 7.47C68.54 6.89 62.07 7.63 55.72 7.65C41.89 9.04 31.17 11.56 14.37 13.38C10.21 14.27 4.5 15.65 1.07 14.72C0.41 13.19 0.5 12.3 0 10.58C0.27 9.67 1.1 9.07 1.01 8.02C7 5.91 16.66 5.24 23.19 5.2C27.48 3.77 30.34 4.22 33.6 3.05C34.11 2.83 34.14 3.18 34.17 3.53C38.66 2.43 46.61 2.44 52.14 1.08C53.06 1.53 54.48 1.58 55.1 0.64C57.26 1.16 59.13 0.29 61.31 0.98L61.32 0.99ZM52.48 2.83C43.56 3.79 32.9 5.07 24.26 7.24C32.8 5.96 40.57 5.99 48.08 4.98C47.86 4.47 48 4.1 48.53 4.06C48.74 4.4 48.4 4.6 48.43 4.95C54.26 4.97 57.53 3.98 64.73 3.53C65.13 4.03 65.32 4.18 66.02 4.12C66 3.95 65.78 3.43 66.13 3.4C67.9 3.42 69.24 2.6 70.22 3.75C70.94 3.86 71.24 3.31 71.62 3.63C71.37 2.77 71.89 2.72 72.02 2.18C67.55 1.51 61.3 2.76 56.67 2.29C55.31 2.94 54.06 2.69 52.48 2.83ZM61.86 3.07L65.26 3.65L74.69 4.42' fill='%23C7C8CA'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
/* Responsive */
@media (min-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-branding {
    flex: 0 0 auto;
    text-align: left;
  }

  .main-navigation {
    flex: 1 1 auto;
    text-align: right;
    margin-top: 0;
  }

  .primary-menu {
    justify-content: flex-end;
  }
}

body {
  padding-top: 64px;
}
@media screen and (min-width: 1181px){
    body {
      padding-top: 80px;
    }
}
.close-btn{
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top:10px;
  right: 20px;
  color: #fff;
  font-size: 29px;
  transition: all 0.5s ease;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hamburger {
	width: 25px;
	height: 12px;
	display: block;
	position: absolute;
	background-color: transparent;
	border: 0;
	border-top: 2px solid #40B8C7;
	border-bottom: 2px solid #40B8C7;
	top: 50%;
	right: 32px;
	transform: translateY(-50%);
	cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.hamburger:after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  left: 0;
  background-color: #40B8C7;
  pointer-events: none;
}
@media screen and (max-width: 1180px) and (min-width:667px){
  .primary-menu{
    flex-wrap: nowrap !important;
  }
  .custom-logo{
    width: 300px;
    height: auto;
  }
  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .site-branding{
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .primary-menu a{
    padding: 10px 0;
    white-space: nowrap;
  }
  body{
    padding-top: 125px;
  }
}
@media screen and (max-width: 666px){

  .primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6%;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    overflow: auto;
  }
  .main-navigation {
    transform: translateX(-120%);
    transition: all 0.5s ease-in-out;
    position: fixed;
    background: #59CAD9;
    top: -10px;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  body.mobile-menu .main-navigation{
    transform: translateX(0);
  }
  .main-navigation a{
    color: #fff !important;    
  }
  .primary-menu li:last-child a {
    background-color: #fff;
    color: #59CAD9 !important;
    border-radius: 40px;
    padding: 10px 20px;
  }
  .close-btn{
    opacity: 1;
    pointer-events: auto;
  }
  .hamburger {
    opacity: 1;
    pointer-events: auto;
  }
}

@media screen and (max-width: 599px){

  .custom-logo{
    max-width: 230px;
    height: auto;
  }
  .primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6%;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    overflow: auto;
  }
  .main-navigation {
    transform: translateX(-120%);
    transition: all 0.5s ease-in-out;
    position: fixed;
    background: #59CAD9;
    top: -10px;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  body.mobile-menu .main-navigation{
    transform: translateX(0);
  }
  .main-navigation a{
    color: #fff !important;    
  }
  .primary-menu li:last-child a {
    background-color: #fff;
    color: #59CAD9 !important;
    border-radius: 40px;
    padding: 10px 20px;
  }
  .close-btn{
    opacity: 1;
    pointer-events: auto;
  }
  .hamburger {
    opacity: 1;
    pointer-events: auto;
  }
  h2, h3{
    font-size: 32px !important;
  }
  h3.fpt-slide-title{
    font-size: 28px !important;    
  }
  
  .event-intro{
    font-size: 23px !important
  }
  p{
    font-size: 20px !important;
    line-height: 25px !important;
  }
}
