:root {
  --title-span-color: rgb(24, 78, 129);

  --font-medium: 1em;
  --font-medium-large: 1.25em;
  --font-large: 1.5rem;
  --font-x-large: 2rem;
  --font-2x-large: 3rem;
  --font-3x-large: 3.5rem;

  --transition-fast: 0.2s;
}

/*Large Desktop*/
/*General CSS*/

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}


body {
  font-family: "Poppins", "Roboto", sans-serif;
  background-color: #f5f5f5;
  letter-spacing: 1.5px;
  font-size: 1rem;
}

* {
  margin: 0;
  padding: 0;
}

.logo-svg {
    fill: #ffffff;
    padding-left: 20px;
}

.box{ box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;}

.container {
  width: 60%;
  margin: 0 auto;
}

#back-to-top svg {
  padding: 0;
  fill: white; /* Set the fill color for the SVG */
}


#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 24px;
  border: none;
  background: #0085ca;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
}


.slideshow {
  list-style-type: none;
}

/** SLIDESHOW **/
.slideshow,
.slideshow:after,
.slideshow li span::before { 
   
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 0;
    content: "";
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
}

.slideshow li span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    animation: imageAnimation 30s linear infinite 0s;
}



.slideshow li:nth-child(1) span { 
    background-image: url("./imgs/1.jpg"); 
 
}
.slideshow li:nth-child(2) span { 
    background-image: url("./imgs/4.jpg");
    animation-delay: 6s; 

}
.slideshow li:nth-child(3) span { 
    background-image: url("./imgs/2.jpg");
    animation-delay: 12s; 
}
.slideshow li:nth-child(4) span { 
    background-image: url("./imgs/3.jpg");   
    animation-delay: 18s; 
}
.slideshow li:nth-child(5) span { 
    background-image: url("https://uploads-ssl.webflow.com/5976a3655fcd654cb3d604ca/5c00c9963ea913260bb41b0e_powerlines.jpg");
    animation-delay: 24s; 
}



@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}


.no-cssanimations .cb-slideshow li span {
	opacity: 1;
}



/*Slider*/
.slider {
    display: flex;
  }

  .slider > * {
    width: 100%;
    flex: 0 0 auto;
  }




/*Navigation*/



.navigation {
  width: 100%;
  height: 80px;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-weight:bolder;
  
}

.nav-container {
  margin: auto;
  height: 100%;
  display: flex;
  gap: 25px;
  background-color: silver;
  position: relative;
  overflow: hidden;
  padding: 1rem 5%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), /* Dark overlay */
    linear-gradient(355deg, #863034 23px, transparent 23px),
    linear-gradient(155deg, #863034 23px, transparent 23px),
    linear-gradient(335deg, #863034 23px, transparent 23px),
    linear-gradient(155deg, #863034 23px, transparent 23px);
  background-size: 100% 100%, 58px 58px, 58px 58px, 58px 58px, 58px 58px;
  background-position: top left, 0px 2px, 4px 35px, 29px 31px, 34px 6px;
}


.nav-container .links {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 25px;
  justify-content: center;
}


  .nav-container .logo {
    display: flex;
    height: auto;
    align-items: baseline;
    background: url(./imgs/logo-transparent-png.png ) no-repeat center center;
    background-size: contain;
    width: 200px;
}

.nav-container .links a,
.nav-container .logo a {
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: "Roboto", sans-serif;
}

.nav-container .links a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent; /* Invisible underline */
  letter-spacing: 1px;

}

.nav-container .links a:hover {
  border-bottom: 2px solid #ffffff; /* Show underline on hover */
  color: #ffffff;
  font-weight: 600;
}

.logo p {
  font-size: var(--font-large);
}

.logo p:hover {
  font-size: var(--font-large);
}

.mobile-button {
  display: none;
}

.mobile-links {
  background: #a7a8a6;
  background: -webkit-linear-gradient(to right, #29323c, #485563);
  background: linear-gradient(to right, #29323c, #485563);
  height: 100%;
  width: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: var(--transition-fast);
  padding-top: 20px;
}

.mobile-links a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  transition: 0.3s;
  text-align: center;
  color: white;
}

.mobile-links .closebtn {
  font-size: var(--font-2x-large);
  color: white;
  padding: 0;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  border: 5px solid white;
  position: absolute;
  right: 0;
  top: 0;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  min-height: 300px;
  height: 800px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 120px 20px;
 z-index: 1;
  color: #FFFFFF; /* Set default text color to white */
}

/* Hero content styles */
.hero h1 {
  font-size: var(--font-3x-large);
  font-weight: bold;
   z-index: 2;

}

.hero i {
  font-size: var(--font-large) !important;
     z-index: 2;

}

.hero p {
  font-size: var(--font-x-large);
  font-weight: bold;
     z-index: 2;

}


.Mission.container.w3-round-large {
    padding: 50px;
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}


h2.mission {

  color: blue;
  text-align: center;
  
}



h2.mission.h1 {
  color: #485563 !important;
  font-size: 15px;
  text-align: center;
  }

p.mission.p {
    font-size:35px;
  font-weight:300px;
  text-align: center;}

@media (max-width: 768px) {
    body .Mission p.aboutInfo {
        font-size: var(--font-medium);
        /* margin: 0 20px; */
        width: fit-content;
        padding-top: 50px;
        box-sizing: content-box; /* Set your desired box-sizing value here */
    }
    .pic-ctn > img {
    left: calc(45% - 100px);
}


}


/* Styles for Card Container */

.card-container {
    display: flex;
    justify-content: space-around; 
    align-items: center; 
}

.card {
    width: 350px;
    height: 400px;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}

.card:hover {
    transform: scale(1); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
transform: translateY(-2px);
}




/* To remove the margin from the last card */
.card:last-child {
    margin-right: 0;
}

h1.cardh {
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px; /* Adds some space between the icon and the heading */
}
p.card-text1 {
    margin: 10px;
    padding-top:50px

}

input.d-none {display: none;}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center cards horizontally */
    }

    .card {
        width: 80%; /* 80% of the parent container's width */
        margin-bottom: 20px; /* Add space between stacked cards */
    }
}

/* Media query for screens smaller than 480px */
@media (max-width: 480px) {
    .card {
        width: 90%; /* 90% of the parent container's width */
    }
}


/* Default styling for the logo */
.logo {
  vertical-align: middle;
  padding-left: 20px;
}

/* Media query for desktop devices */
@media (min-width: 768px) {
  .logo {
    height: 300px; /* Set the height to 100px for desktop devices */
  }
  .logo-footer {
    height: 250px;
  }
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  .logo {
    height: 195px; /* Let the height be auto for mobile devices */
  }
    .logo-footer {
    height: 90px;
  }
}


/* Additional styles for logo-svg (optional) */
.hero .logo-svg {
  fill: #ffffff;
  padding-left: 20px;
}

/* Apply fade-in animation */
@keyframes fadeIn {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(-200px);
    opacity: 0;
  }
}

.snip1336 {
  font-family: 'Poppins', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 260px;
  max-width: 340px;
  width: 100%;
  color: #F5F3F0; /* Soft off-white text */
  text-align: left;
  line-height: 1.5em;
  background-color: #3A3A3A; /* Charcoal */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.snip1336:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.snip1336 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.9;
  border-radius: 12px 12px 0 0;
}

.snip1336 figcaption {
  padding: 25px;
  background: linear-gradient(to right, #29323c, #485563);
  position: relative;
}

.snip1336 figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent #1A1A1A;
}

.snip1336 .profile {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 25px;
  z-index: 1;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.snip1336 .profile svg {
  width: 50%;
  height: 50%;
}

.snip1336 h2 {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #F2F2F2;
}

.snip1336 h2 span {
  display: block;
  font-size: 0.9rem;
  color: #E0BEAE;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.snip1336 p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 15px;
  color: #DDDDDD;
}

.snip1336 a {
  padding: 8px 14px;
  border: 1px solid #ffffff;
  color: #F5F3F0;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 5px 5px 0 0;
  display: inline-block;
  opacity: 0.85;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.snip1336 a:hover {
  opacity: 1;
  background-color: #C1582D;
  border-color: #C1582D;
  color: #ffffff;
}

.snip1336 .follow {
  border-color: #E0BEAE;
  color: #E0BEAE;
}




/* Your existing styles for h1, p, and a elements can remain unchanged */


.hero a {
  background-color: #b66017;
  color: #361a00;
  font-size: 1.25rem;
  padding: 15px 30px;
  text-decoration: none; /* Prevent underline */
  border-bottom: none;   /* Extra: remove any underline */
  border-radius: 8px;
  border: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: 800;
  transition: var(--transition-fast);
     z-index: 2;

}

.hero a:hover {
  background-color: #A34721; /* Deeper orange */
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); /* softer shadow, more modern */
  transform: translateY(-2px); /* subtle lift */
  transition: all 0.3s ease;
}




/*About*/
.about {
  width: 100%;
  min-height: 300px;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
}
p.aboutInfo {
    width: 85%;
    text-align: center;
    margin: 0 auto;
}

.content {
  padding: 80px 20px;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;}

.content h3 {
  margin-top: 30px !important;
}

.content p {
  margin-top: 15px !important;
}

.leadership {
  margin-top: 50px;
}

.leadership.content h3 {
  margin-top: 0 !important;
}

.Family.Owned {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}


    img.rounded-full {
  
    width: 320px;
    height: 320px;
  -moz-box-shadow: 0px 6px 5px #ccc;
  -webkit-box-shadow: 0px 6px 5px #ccc;
  box-shadow: 0px 6px 5px #ccc;
  -moz-border-radius:190px;
  -webkit-border-radius:190px;
  border-radius:190px;
}

  .rounded-full {
    opacity: 0;
    animation: fadeIn 1s forwards;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

.family.owned.p {
    flex: 1;
    text-align: left;
    margin: 20px;
}
h3.Family.h3 {
 
    text-align: center;
    font-weight: 600 !important;
    color: #2a4366 !important;
}


.l-cards {
  display: flex;
}

.icons {
  font-size: var(--font-x-large);
}




.l-card {
  width: 50%;
  margin-top: 50px !important;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.circular-portrait {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
}
.circular-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*Testimonials*/

.testimonials {
  min-height: 300px;
  height: auto;
  background: #485563;
  background: -webkit-linear-gradient(to right, #29323c, #485563);
  background: linear-gradient(to right, #29323c, #485563);
  padding: 80px 20px;
}

.testimonials h2 {
  color: white;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  background: white;
}

/* Slides */
.mySlides {
  display: none;
  padding: 80px;
  text-align: center;
}

.mySlides p {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 20px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgba(153, 255, 187, 0.2);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
  background-color: rgba(153, 255, 187, 1);
}

/*Consulting*/
.consulting.content {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

@media screen and (min-width: 1024px) {
  .cards-container {
    display: inherit;
    width: calc(70% - 15px); /* 50% width for desktop */
    /* padding-right: -312px; */
    margin: initial;
  }
}

.c-card {
  min-height: 100px;
  width: 70%;
  float: left;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.75);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-medium-large);
  padding: 15px;
}

.c-card p {
  text-align: center;
}

.c-card-right {
  float: right;
}




@keyframes display {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(-200px);
    opacity: 0;
  }
}

.pic-ctn {
  position: relative;
  width: 100vw;
  height: 300px;
  margin-top: 15vh;
}


.pic-ctn > img {
  position: absolute;
  top: 0;
  left: calc(50% - 100px);
  opacity: 0;
  animation: display 10s infinite;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  max-width: 100%; /* Ensures the image doesn't exceed the width of its container */
  max-height: 450px; /* Limits the height to 300 pixels */
  width: auto; /* Allows the image to scale proportionally based on its height */
  height: auto; /* Allows the image to scale proportionally based on its width */
}

@media (max-width: 768px) {
    .pic-ctn > img {
    left: calc(45% - 100px);
      max-width: 100%; /* Ensures the image doesn't exceed the width of its container */
  max-height: 300px; /* Limits the height to 300 pixels */
}


}

img:nth-child(2) {
  animation-delay: 2s;
}
img:nth-child(3) {
  animation-delay: 4s;
}
img:nth-child(4) {
  animation-delay: 6s;
}
img:nth-child(5) {
  animation-delay: 8s;
}

h2.wwd {
    text-align: center;
    font-weight: 600 !important;
    color: #2a4366 !important;
}

.why-us {
  min-height: 300px;
  height: auto;
  background: #485563;
  background: -webkit-linear-gradient(to right, #29323c, #485563);
  background: linear-gradient(to right, #29323c, #485563);
}

.why-us h2 {
  color: white;
  
}

.why-us .container {
  width: 40%;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.box {
  flex: 35%;
  min-height: 100px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--font-large);
  padding: 15px;
}

/* FAQ */

.faq-box {
  margin-bottom: 1rem;
}


.faq-section {
  width: 100%;
  max-width: 840px;
  border-radius: 12px;
  padding: 2em;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  top: 0%;
  right: 0%;
  margin-bottom: 20px;
  
}


.faq-container {
  display: grid;
  gap: 1em;
}

.faq-header {
  padding: 1.2em 1em;
  font-weight: 600;
  background-color: whitesmoke;
  user-select: none;
  cursor: pointer;
}

.faq-content {
  padding: 1em;
}

h1.faq.h {
   text-align: center;
    font-weight: 600 !important;
    color: #2a4366 !important;
    padding-bottom:20px;
}

/*Contact*/

.contact {
  min-height: 400px;
  display: flex;
  justify-content: center;
  padding: 50px;
  background-color: aliceblue;
}

.contact form {
  background: #485563;
  background: -webkit-linear-gradient(to right, #29323c, #485563);
  background: linear-gradient(to right, #29323c, #485563);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;}

.contact .form .container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.contact span {
  color: var(--title-span-color);
}

.contact .form .container form {
  width: 80%;
}

.contact .short-contact {
  display: flex;
  flex-direction: column;
  align-items: left;
  min-height: 400px;
}

.contact .form input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.contact .form input[type="submit"] {
  border: 3px solid #0085CA;
  text-decoration: none;
  color: white;
  transition: var(--transition-fast);
  background-color: transparent;
  padding: 10px 25px;
}

.contact .form input[type="submit"]:hover {
  background-color: #0085CA ;
  color: black;
}

#thank-you-message {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/*Footer*/
.footer {
  min-height: 100px;
  background: #485563;
  background: -webkit-linear-gradient(to right, #2f3b47, #485563);
  background: linear-gradient(to right, #2f3b47, #485563);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 20px !important;
  color: white;
}

@media screen and (max-width: 1200px) {
  .container {
    width: 80%;
  }
  .contact.container {
    width: 80%;
  }
  .contact .short-contact h2 {
    width: 100%;
  }

  .why-us .container {
    width: 60%;
  }
}

@media screen and (max-width: 1024px) {
  .nav-container {
    width: 100%;
  }

  .container {
    width: 90%;
  }

  .nav-container .links {
    display: none;
  }

  .mobile-button {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }

  .mobile-button span {
    font-size: var(--font-x-large);
  }

  .mobile-links-active {
    width: 100%;
  }

  .hero h1,
  .hero p {
    text-align: center;
  }

  .c-card {
    width: 90%;
  }

  .mySlides {
    padding: 50px !important;
  }

  .mySlides p {
    width: 60%;
  }

  .box {
    flex: 45%;
    font-size: var(--font-medium-large);
    min-height: 0;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .content.container,
  .leadership-content.container {
    width: 100%;
  }

  .content {
    padding: 40px 15px;
  }
  .hero {
    padding: 80px 15px;
  }

  .container {
    width: 80%;
  }

  .l-cards {
    flex-direction: column;
  }

  .l-card {
    width: 100%;
  }

  .c-card {
    width: 100%;
    float: none;
  }
  .c-card-right {
    float: none;
  }

  .mySlides {
    padding: 30px !important;
  }

  .mySlides p {
    width: 70%;
  }

  .testimonials {
    padding: 15px !important;
  }

  .contact {
    flex-direction: column;
    justify-content: center;
  }

  .contact .short-contact {
    width: 100%;
    min-height: 0;
    justify-content: center;
  }

  .contact .short-contact h2 {
    width: fit-content;
  }

  .contact .container {
    width: 90%;
  }

  .contact .form .container form {
    width: 100%;
  }

  .why-us .container {
    width: 80%;
  }

  .box {
    flex: 100%;
  }
}

@media screen and (max-width: 480px) {
  html,
  body {
    overflow-x: none;
  }

  #back-to-top {
    display: none !important;
  }

  .navigation {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(252, 252, 252, 1) !important;
  }

  .mobile-links .closebtn {
    margin-right: 0;
  }

  .hero {
    min-height: 400px;
    height: auto;
  }

  .hero h1 {
    font-size: var(--font-x-large);
  }
  .hero p {
    font-size: var(--font-medium);
  }

  .testimonials {
    padding: 0 !important;
  }

  .mySlides {
    font-size: 0.85rem;
  }

  .mySlides p {
    width: 70%;
  }

  .content {
    padding: 10px;
    box-shadow: none;
    border: none;
  }

  .l-card {
    padding: 0;
  }

  .contact {
    padding: 10px;
  }

  .contact p {
    font-size: var(--font-medium-large) !important;
  }

  .contact .container {
    width: 100%;
  }

  .why-us .container {
    width: 100%;
  }

  .box {
    font-size: var(--font-medium);
  }
}