*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    margin: 0;
}

body{
    position: relative;
    margin: 0;
    color: #000;

    font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1px;

    font-size: 16px;
    line-height: 23px;
    text-rendering: optimizeLegibility;
}

@keyframes infinite-rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .infinite-rotate {
    animation: infinite-rotate 10s linear infinite;
    /* optionally add smooth rendering */
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }
    

#app{
    display: none;
}

#app.show{
    display: block !important;
}

.slow-pulse {
    animation-duration: 3s !important;
  }
  

/* Preloader background */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
  }
  
  /* Simple spinning circle */
  .spinner {
    border: 8px solid #222;
    border-top: 8px solid #80eddb;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  
  /* Spin animation */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #80eddb;
    color: #000;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999999 !important;
    text-decoration: none;
  }
  
  #backToTop:hover {
    background-color: #000;
    color: #FFF;
  }
  
  #backToTop.show {
    opacity: 1;
    visibility: visible;
  }
  

img{
    max-width: 100%;
}

section{
    margin: 0;
}

.bg-dark{
    background-color: #f5f5f5;
}

h2.styled {
    text-align: center;
    text-transform: uppercase;
    /*
    border-bottom: 5px solid;
    border-image: linear-gradient(
      to right,
      lightgrey 0%,
      lightgrey 25%,
      #317769 25%,
      #317769 75%,
      lightgrey 75%,
      lightgrey 100%
    ) 1;
    
    padding-bottom: 15px;
    */
    margin-bottom: 25px !important;
  }
  
h2.styled span{
    margin-top: 10px;
    display: block;
}

h2.styled em {
    font-style: normal;
    font-size: 14px;
    display: inline-block;
    margin: 5px;
    background-color: #FFF;
    color: #317769;
    position: relative;
}

h2.styled em::before {
    content: "✔"; /* Or use "\2713" */
    margin-right: 6px;
    color: #317769;
}

h2.styled > span > em:nth-child(2) {
    color: #4caf50;
}
h2.styled > span > em:nth-child(2)::before {
    color: #4caf50;
}

h2.styled > span > em:nth-child(3) {
    color: #53B9A9;
}
h2.styled > span > em:nth-child(3)::before {
    color: #53B9A9;
}

h2.styled > span > em:nth-child(4) {
    color: #68D2C0;
}
h2.styled > span > em:nth-child(4)::before {
    color: #68D2C0;
}

h2.styled > span > em:nth-child(6) {
    color: #4caf50;
}
h2.styled > span > em:nth-child(6)::before {
    color: #4caf50;
}


.welcome-text{
    font-size: 22px;
    line-height: 34px;
    text-align: center;
}

#top-area{
    background-color: #000;
    color: #80eddb;
    margin-bottom: 20px;
    padding: 10px 0;
    z-index: 9999999 !important;
}

#top-area-inner{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
}

@media (max-width:1200px){
    #top-area-inner{
        width: 96%;
        margin: 0 2%;
    }
}

#top-contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
}

#top-contact a{
    color: #80eddb;
    text-decoration: none;
}

#top-contact a:hover{
    color: #EEE;
}

#top-contact .fas{
    color: #000; /* icon color */
    background-color: #80eddb; /* base color */
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}

#top-contact a:hover .fas{
    background-color: #EEE;
}

#top-socials{
    text-align: right;
}

#top-socials a {
    display: inline-block;
    margin: 0 10px 0 0;
    color: #000; /* icon color */
    background-color: #80eddb; /* base color */
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#top-socials a:hover {
    background-color: #EEE; /* darken on hover */
    /*transform: scale(1.1);*/
    color: #000;
}

@media (max-width:1010px){
    #top-area-inner{
        display: block;
        text-align: center;
        padding: 10px 0;
    }

    #top-socials{
        text-align: center;
        margin-top: 10px;
    }

    #top-contact{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

#header-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #CCC;
    background-color: #FFF;
}

#header{
    width: 1200px;
    margin: 0 auto 0 auto;
    padding: 0 0 20px 0;
    display: grid;
    grid-template-columns: 300px 1fr 100px;
    justify-content: center;
    align-items: center;
}

#after-header{
    height: 5px;
    background-color: #317769;
}

#logo img{
    max-width: 100px;
}

#logo-part1{

}

#logo-part2{
    margin-top: 10px;
}

#nav{
    display: flex;
    justify-content: center;
}

#nav a {
    color: #aaa;
    font-weight: bold;
    text-decoration: none;
    margin: 0 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px; /* space for underline */
    transition: color 0.3s ease;
}

#nav a:hover, #nav a.active{
    color: #000;
}

/*
#nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #317769;
    transition: width 0.3s ease;
}

#nav a:hover::after,
#nav a.active::after {
    width: 100%;
}
*/

@media (max-width:1010px){
    #header{
        display: block;
        text-align: center;
    }

    #nav{
        margin: 20px 0;
        justify-content: center;
    }
}

@media (max-width:1200px){
    #header{
        width: 96%;
        margin: 30px 2%;
    }
}

@media (max-width:600px){
    #nav a{
        margin: 5px 7px;
        font-size: 12px;
    }
}

@media (max-width:370px){
    #nav{
        display: block;
        text-align: center;
    }

    #nav a{
        display: block;
    }
}

.xcontainer{
    width: 1200px;
    padding: 50px 0 !important;
    margin: 0 auto;
}

@media (max-width:1200px){
    .xcontainer{
        width: 96%;
        margin: 0 2%;
    }
}

footer{
    margin-top: 20px;
    background-color: #000;
    /*background: linear-gradient(to right, #000000, #80EDDB);*/
    color: #EEE;
    padding: 20px;
}

.footer-inner{
    text-align: center;
    width: 1200px;
    margin: 0 auto;
}

#footer-logo img{
    max-width: 50px;
}

#copy{
    background-color: #000;
    color: #999;
    padding: 25px;
    text-align: center;
    border-top:1px dashed #999;
}

#footer-nav{
    text-align: center;
}

#footer-nav a{
    display: block;
    color: #EEE;
    margin: 0 0 10px 0;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

#footer-nav a:hover{
    text-decoration: underline;
    color: #80eddb;
}

#footer-socials {
    margin-top: 20px;
}

#footer-socials a {
    display: inline-block;
    margin: 0 10px 0 0;
    color: #000; /* icon color */
    background-color: #EEE; /* base color */
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#footer-socials a:hover {
    background-color: #80eddb; /* darken on hover */
    /*transform: scale(1.1);*/
    color: #000;
}

#footer-contact a{
    color: #EEE;
    text-decoration: none;
}

#footer-contact a:hover{
    color: #80eddb;
}

#footer-contact .fas{
    color: #000; /* icon color */
    background-color: #EEE; /* base color */
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}

#footer-contact a:hover .fas{
    background-color: #80eddb;
}

@media(max-width: 900px){
    .footer-inner{
        grid-template-columns: 1fr;
        text-align: center;
    }
    #footer-slogan-text{
        text-align: center;
    }
}

@media (max-width:1200px){
    .footer-inner{
        width: 96%;
        margin: 0 2%;
    }
}


#hero {
    position: relative;
    background-color: #EEE;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.hero-bg.animate-hero{
    transform: scale(0.8);
    animation: zoomInOut 10s ease-in-out infinite;
}

/* Inherit background from #hero via JS (see below) */

.hero-container {
    position: relative;
    z-index: 1;
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
}

.hero-container p {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.6);
    color: #000;
    padding: 25px;
    text-align: center;
    max-width: 600px;
}

@media(max-width:700px){
    .hero-container p{
        max-width: fit-content;
    }
}

@keyframes zoomInOut {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes kenBurns {
    0% {
      background-size: 105%;
      background-position: center center;
    }
    50% {
      background-size: 110%;
      background-position: top center;
    }
    100% {
      background-size: 105%;
      background-position: center center;
    }
  }


@media (max-width:1200px){
    .hero-container{
        width: 96%;
        margin: 0 2%;
    }
}

.home-blocks{
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap:25px;
}

@media (max-width:600px){
    .home-blocks{
        grid-template-columns: 1fr;
    }
}

.home-block h1{
    font-weight: bold;
    font-size: 28px;
    line-height: 30px;
}

.home-block h1 span{
    width: 10px;
    height: 10px;
    border-radius: 50px;
    display: inline-block;
    background-color: #317769;
}

.featured-products-carousel .product-owl {
    border: none;
    /*
    border-right: 2px solid #eee !important;
    padding: 15px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border 0.3s ease;
    border-radius: 8px;
    */
}

.featured-products-carousel .product-owl:hover {
    /*
    border-right: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    */
}

/*
.product-inner img{
    transition: transform 0.3s ease;
}

.product-inner a:hover img {
  transform: scale(0.9);
}
  */
  .product-inner img {
    transition: transform 0.3s ease;
  }
  
  @keyframes bounceScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }
  
  .product-inner a:hover img {
    animation: bounceScale 0.5s forwards;
  }
        

.product-owl:hover .read-more-circle {
    background-color: #18371D;
}

.product-owl:hover .read-more-circle::before {
    color: #fff;
}

.featured-products-carousel li{
    text-align: center;
    list-style: none !important;
    list-style-type: none !important;
    border: 1px solid #ccc;
    padding: 20px;
}

/* Center the dots below the carousel */
.featured-products-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

/* Style each dot */
.featured-products-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

/* Inactive dots: grey circles */
.featured-products-carousel .owl-dot span {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Active dot: blue rounded rectangle */
.featured-products-carousel .owl-dot.active span {
    width: 30px;
    height: 30px;
    background: #317769; /* Blue color */
}

.banner {
    position: relative;
    background-color: #EEE;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    margin-bottom: 50px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    
    color: white; /* default fallback */
    
    overflow: hidden;
}

.banner > div{
    width: 1200px;
    margin: 0 auto;
}

@media (max-width:1200px){
    .banner > div{
        width: 96%;
        margin: 0 2%;
    }
}

/*
.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
    z-index: 1;
}
*/

.banner h1 {
    font-size: 3rem;
    color: #fff;
    z-index: 2;
    margin: 0;
    padding: 0 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

/*
.page-content h2{
    text-align: center;
    text-transform: uppercase;
    border-bottom: 5px solid;
    border-image: linear-gradient(
      to right,
      lightgrey 0%,
      lightgrey 25%,
      #317769 25%,
      #317769 75%,
      lightgrey 75%,
      lightgrey 100%
    ) 1;
    padding-bottom: 15px;
}
*/
.sticky-lang-switcher {
    position: fixed;
    bottom: 20px;
    right: 0px;
    background-color: #EEE;
    padding: 10px;
    border-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;  /* Ensure it's above other content */
  }

  .sticky-lang-switcher a{
    display: block;
    text-decoration: none;
  }

  #search{
    margin-top: 20px;
  }

  /********** Search Popup ****/
  /* Basic styles */
#search-pop {
    cursor: pointer;
}

/* Popup styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 300px;
    text-align: center;
}

.popup-content .input-wrapper{
    padding: 20px;
}

#search-input {
    width: 100%;
    padding: 10px;
}

#search-input:focus{
    border: 1px solid #317769 !important;
}

#close-popup {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}



div.wpforms-container-full button[type="submit"]:not(:hover):not(:active){
    background-color: #000 !important;
    color: #80eddb !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

div.wpforms-container-full button[type="submit"]:hover{
    background-color: #80eddb !important;
    color: #000 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

.why-content-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    grid-gap:25px; gap:25px;
}

@media (max-width:900px){
    .why-content-container{
        grid-template-columns: 1fr;
    }
}

.why-content-container > div{
    color: #FFF;
    padding: 30px;
    text-align: center;
    font-weight: bold;
}

.why-content-container > div:nth-child(1) {
    background-color: #317769;
  }
  
.why-content-container > div:nth-child(2) {
    background-color: #4caf50;
}

.why-content-container > div:nth-child(3) {
    background-color: #53B9A9;
}

.why-content-container > div:nth-child(4) {
    background-color: #68D2C0;
}
  

.why-content-container > div span{
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.why-content-container > div:hover{
    background-color: #000;
}

/********/
/*
.vision-mission-content-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    justify-content: center;
    align-items: stretch;
}

.vision-mission-content-container > div span{
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.vision-mission-content-container > div {
    background-color: #317769;
    color: #FFF;
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .vision-mission-content-container {
        grid-template-columns: 1fr;
    }
}
    */

/************ WPForms ***********/
.wpforms-field-label{
    text-transform: uppercase !important;
}

.wpforms-field-large, .wpforms-field-medium{
    background-color: #FFF !important;
    color: #000 !important;
    border:1px solid #317769 !important;
    padding: 10px 2% !important;
    width: 100% !important;
}

.wpforms-field-large:focus{
    border:1px solid #000 !important;
}

/****** Owl Carousel */

/*** Header ***/

.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-carousel-item {
  height: 90vh !important; /* or 100vh, etc. */
}

  
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}



.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}



.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.header-carousel h1{
    display: inline-block;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    padding: 25px;
}

@media (max-width: 768px) {
    .header-carousel h1{
        padding: 10px;
        font-size: 16px !important;
    }
}

/********************/

.content-2c{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: start;
    gap:25px; grid-gap:25px;
}

.content-2c.one2{
    grid-template-columns: 1fr 2fr;
}

.content-2c h1{
    margin: 0 0 20px 0 !important;
    padding-bottom: 20px;
    color: #317769;
}

@media(max-width:900px){
    .content-2c{
        grid-template-columns: 1fr;
    }

    .content-2c.one2{
        grid-template-columns: 1fr;
    }
}

.content-2c.extended{
    grid-template-columns: 1fr !important;
}