body {
  font-family: Roboto-Regular, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0; /* Reduce padding to make the header smaller */
  font-family: LatoTR-Bold;
  font-size: 22px;
}


.logo {
  /* max-width: 100%; */
  width: 200px;
  height: auto;

}

.nav-store{
  border: 2px solid gray;
  border-radius: 25px;
  transition: background-color 0.75s ease; /* Added color transition */
  font-size: 20px;
}

.nav-store a {
  color: white;
  transition: color 0.75s ease
}

.nav-store:hover {
  background-color: yellow;
}

.nav-store a:hover {
  color: black !important; /* Ensure the color change takes precedence */
}

.social-media img {
  width: 20px;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -150px;
  width: 150px;
  height: 100%;
  transition: right 0.3s;
  z-index: 1000;
  padding: 1rem;
  background-color: #343a40;
  font-family: LatoTR-Bold;
  font-size: 16px;
}

.sidebar .nav-item {
  margin-bottom: 0.2rem;
}

.sidebar.active {
  right: 0;
}

#closeSidebar {
  display: none; /* Hide the close button */
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}

.hero {
  position: relative;
  background-image: url('/assets/images/hero-background.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align container to the right */
  color: white;
  text-align: center;
  padding-right: 50px; /* Add some padding to the right */
}

.hero .container {
  background: rgba(89, 88, 10, 0.35); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
  margin-left: 50%;
}

.hero h1 {
  font-family: LatoTR-Bold;
  font-size: 3em;
  margin: 0;
  color: #151515c0;
}

.hero p {
  font-size: 1.5em;
  margin: 10px 0 0;
}

.aday {
  color: #fffdfde0;
  text-shadow: 4px 2px 2px black;
  transition: color 0.8s ease;
  cursor: pointer;
}

.aday:hover {

  color: rgb(251, 194, 135);
}

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

#products-portfolio-placeholder {
  padding-top: 2%;
  padding-bottom: 2%;
  animation: fadeIn 1s forwards;
  background: url('/assets/images/portfolio-bg.jpg') no-repeat center center;
  background-size: cover; /* Ensure the image covers the entire area */
}

.product-portfolio {
    position: relative;
    overflow: hidden;
    width: 90%;
    border-radius: 10px;
    margin: 5px auto;
    border: 10px solid #18181856;
    background: #ffffffad;
}


.product-portfolio-content {
    position: relative;
    z-index: 2;
}

.product-portfolio-content h1 {
  font-family: LatoTR-Bold;
  /* background: #d4d4d423; */
  border-radius: 5px;
  margin: 2%;
}



#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  list-style-type: none;
  padding: 20px;
}

.hex {
  position: relative;
  width: 25%; /* Adjust based on your layout */
  visibility: visible;
  margin: 0;
  outline: none; /* Remove the outline */
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-sizing: border-box;
  /* background: black; */
  background-image: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  transition: background-color 0.3s ease;
}

.hex-secondRow {
  bottom: calc(2.4vw); /* Adjust the multiplier as needed */
}

.hex-thirdRow {
  bottom: calc(4.8vw); /* Adjust the multiplier as needed */
}

.hex2 {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white; /* Example background color */
  background-image: url(/assets/images/topography.png);
  text-align: center;
  color: #000;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  scale: 0.95;
}

.hex::after {
  content: '';
  display: block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}

.hexIn, .hexIn2 {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: visible;
  clip-path: inherit; /* Inherit the hexagon shape */
  transform: none;
  border: none; /* Remove borders from inner elements */
}

.hexLink {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  transform: none;
}

.hexLink img, .hexLink h1, .hexLink p {
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  visibility: visible;
}

.hex img {
  top: 0%;
  left: -30%;
  scale: 0.65;
  height: 100%;
  width: auto;
}

.hex h1, .hex p {
  width: 100%;
  background-color: rgba(202, 199, 199, 0.637);
  padding: 5%;
  font-weight: 300;
  -webkit-transition: -webkit-transform .2s ease-out, opacity .3s ease-out;
  transition: transform .2s ease-out, opacity .3s ease-out;
}

.hex h1 {
  bottom: 50%;
  padding-top: 50%;
  font-size: 1.5em;
  z-index: 1;
  transform: translateY(-100%);
}

.hex p {
  top: 50%;
  padding-bottom: 50%;
  transform: translateY(100%);
}

/* Hover effect */
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p {
  transform: translateY(0);
}

/* Hover effect on hexagon */
.hex:hover {
  transform: scale(1.05); /* Slightly bigger on hover */
  box-shadow: 0 0 20px rgba(248, 248, 248, 0.7); /* Stronger glow on hover */
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for transform and box-shadow */
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION ***/
@media (min-width:1201px) { /* 5-4 hexagons per row */
  #hexGrid {
    width: 65%;
  }

  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5) { /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2 to indent even rows */
  }

  .hex img {
    left: -32%;
    scale: 0.6;
  }
}

@media (max-width: 1200px) and (min-width:801px) { /* 4-3 hexagons per row */
  #hexGrid {
    width: 65%;
  }

  #hexGrid h1 {
    font-size: 1.2em;
  }
  
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5) { /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2 to indent even rows */
  }
  
  .hex img {
    left: -32%;
    scale: 0.6;
  }

  .hex-secondRow {
    bottom: calc(3vw);
  }
  .hex-thirdRow {
    bottom: calc(6vw);
  }
}

@media (max-width: 800px) and (min-width:601px) { /* 3-2 hexagons per row */
  #hexGrid {
    width: 85%;
  }

  #hexGrid h1 {
    font-size: 1.1em;
  }

  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5) { /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2 to indent even rows */
  }

  .hex-secondRow {
    bottom: calc(4vw);
  }
  .hex-thirdRow {
    bottom: calc(8vw);
  }
}

@media (max-width: 600px) { /* 2-1 hexagons per row */
  .hero {
    justify-content: center;
    padding: 0 20px;
  }
  
  #hexGrid {
    width: 100%;
  }

  #hexGrid h1 {
    font-size: 0.8em;
  }
  
  .hex {
    width: 25%; /* = 100 / 2 */
  }
  .hex:nth-child(7n+5) { /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2 to indent even rows */
  }

  .hex img {
    left: -22.5%;
    scale: 0.75;
  }

  .hex-secondRow {
    bottom: calc(4vw);
  }
  .hex-thirdRow {
    bottom: calc(8vw);
  }
}

@media (max-width: 400px) {
  #hexGrid {
    font-size: 10px;
  }
  .testimonial-container {
    display: none;
  }
}

/* Media query for smaller screens */
@media (max-width: 1200px) {
  .header .container {
    flex-direction: column;
    align-items: center;
  }

  .header .left-side {
    order: 1;
    margin-top: 1rem;
    display: flex;
    justify-content: center; /* Center the logo */
    width: 100%;
  }

  .header .right-side {
    order: 2;
    align-items: flex-end; /* Keep button on the right */
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .header .btn {
    display: block; /* Show button on smaller screens */
  }

  .header .nav {
    display: none; /* Hide navigation on smaller screens */
  }

  .card-text {
    font-size: 0.5rem;
    opacity: 0; /* Hide text initially */
    transition: opacity 0.3s ease; /* Smooth transition for text appearance */
  }
}

@media (max-width: 400px) {
  #hexGrid {
    font-size: 10px;
  }
}

.carousel-inner {
  padding-top: 2%;
}

#testimonials-placeholder {
  margin-top: 2%;
}

.testimonial-container {
  font-family: LatoTR-Bold;
  font-weight: 400;
  width: 65%; 
  margin: 0 auto; /* Center the carousel */
  display: flex;
  justify-content: center;
  gap: 0; /* Remove gap between items */
  position: relative; /* Ensure the container is positioned relative for absolute positioning of buttons */
}


.testimonial-container .item {
  transition: 0.5s ease-in-out;
  cursor: pointer;
  box-shadow: 1px 5px 5px #1e0e3e;
  position: relative;
  overflow: hidden;
  background: #fff;
  height: 300px; /* Keep the height as is */
  width: 100%; /* Ensure items take up full width */
  margin: 0; /* Ensure no margin between items */
}

.testimonial-container .item:hover, .testimonial-container .item:focus {
  transform: scale(1.03);
}

.testimonial-container .item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the entire item */
}

.testimonial-container .item .text-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.testimonial-container .item .text-overlay .location {
  font-family: Roboto-Regular;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.testimonial-container .item .text-overlay .location i {
  margin-right: 5px;
}

.testimonial-container .item .text-overlay .name {
  font-size: 1.2rem;
  font-weight: bold;
}

.testimonial-content {
  font-size: 1.5rem;
  color: #333;
  display: flex;
  align-items: center;
  padding: 15px;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.owl-item{
  border: 2px solid black;
}

.owl-nav {
  position: absolute;
  top: 0; /* Align the top of the container with the top of the items */
  height: 100%; /* Match the height of the items */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Center the buttons vertically */
  pointer-events: none; /* Ensure the buttons do not block other interactions */
}

.owl-nav i {
  font-size: 3rem; /* Increase the font size */
  color: #333; /* Ensure the color matches your design */
  padding: 10px; /* Add padding for better click area */
  background-color: white;
  border-radius: 5px;
}

.owl-nav button {
  background: none;
  border: none;
  font-size: 2rem; /* Adjust the font size as needed */
  color: #333;
  cursor: pointer;
  pointer-events: all; /* Ensure the buttons are clickable */
  padding: 10px; /* Add padding for better click area */
}

.owl-nav button.owl-prev {
  position: absolute;
  left: -40px; /* Adjust position if needed */
}

.owl-nav button.owl-next {
  position: absolute;
  right: -40px; /* Adjust position if needed */
}


.card-container {
  display: flex;
  width: 100%; /* Full width of the screen */
  box-sizing: border-box; /* Include padding in the width */
  overflow: hidden; /* Ensure no overflow when cards expand */
}

.card-container .card:first-child {
  border-left: none;
}

.card-container .card:last-child {
  border-right: none;
}

.card-container .card {
  border-top: none;
  border-bottom: none;
}

.card {
  color: #fff;
  border: 4px solid rgb(128, 108, 108);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, flex 0.3s ease;
  flex: 1; /* Make cards take equal space */
  overflow: hidden; /* Hide text overflow */
  position: relative; /* For positioning the text */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px; /* Set the minimum height of the cards */
  z-index: 1;
  will-change: transform, opacity; /* Optimize for animations */
}

.card-body {
  padding: 20px;
  position: absolute; /* Ensure text is positioned correctly */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Center text */
  z-index: 2; /* Ensure text is above the overlay */
  width: 100%; /* Ensure text takes the full width */
}

.card-title {
  font-family: LatoTR-Bold;
  font-size: 1.5rem; /* Default font size for titles */
  font-weight: bold;
  margin-bottom: 20px; /* Increased space between title and text */
}

.card-text {
  font-size: 1rem;
  opacity: 0; /* Hide text initially */
  transition: opacity 0.3s ease; /* Smooth transition for text appearance */
}

.card:hover .card-text {
  opacity: 1; /* Show text on hover */
}

.card:hover {
  flex: 5; /* Expand the card to take the whole width */
  transform: scale(1.05); /* Slightly enlarge the card */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index:2;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  z-index: 1; /* Ensure overlay is below the text */
}

.card:nth-child(1) {
  background: url('/assets/images/bridge.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.card:nth-child(2) {
  background: url('/assets/images/goal-oriented.jpg'); 
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.card:nth-child(3) {
  background: url('/assets/images/unique.jpg'); 
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.card:nth-child(4) {
  background: url('/assets/images/flexible.jpg') #fff;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.card:not(:hover) .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:not(:hover) .card-text {
  display: none;
}

@media (max-width: 600px) {
  .card-title{
    font-size: 1.3rem;
  }
}


section h2 {
  font-family: LatoTR-Bold;
  font-size: 2.5rem;
  margin-bottom: 20px;
}


section p {
  font-family: Roboto-Regular;
}

#references-title {
  font-family: LatoTR-Bold;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer Styles */
.footer {
  background-color: #f0f0f0; /* Grayish background */
}

.full-width-bg {
  font-family: LatoTR-Bold;
  margin-top: 50px;
  width: 100%;
  transition: background-color 0.75s ease; /* Added color transition */
}


.full-width-bg a{
  color: white;
  text-decoration: none;
  border: 2px solid gray;
  border-radius: 25px;
  padding: 10px 15px;
  transition: background-color 0.75s ease, color 0.75s ease; /* Added color transition */
  margin-left: 1.2rem;
  font-size: 1.8rem;
}

.full-width-bg a:hover {
  background-color: yellow;
  color: black;
}

@media (max-width: 500px) {
  .for-more-info h2, .for-more-info a {
    font-size: 1.3rem;
  }
  .full-width-bg a{
    margin-left: 1rem;
   }

   
}

.svg-icon {
  width: 48px;
  height: 48px;
  fill: white;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }

  .value-item {
      padding: 1rem;
  }

  .value-icon {
      width: 60px;
      height: 60px;
  }

  .value-icon i {
      font-size: 1.5rem;
  }

  .value-item h4 {
      font-size: 1rem;
  }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {
  .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.8rem;
  }
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: #eef0f1;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-item h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

.value-item p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.for-more-info {
  color: #ffffff; /* White text */
}

.navigation-links a {
  color: #333333; /* Dark text for links */
}

.navigation-links h3,
.col-md-6 h3 {
    border-bottom: 2px solid white; /* Add a white separator line */
    padding-bottom: 10px; /* Add some padding below the text */
    margin-bottom: 15px; /* Add some margin below the separator line */
}

.footer-bottom {
  background-color: #f0f0f0; /* Match footer background */
}

.footer-bottom .social-media img {
  width: 20px;
}

.footer h3{
  font-family: LatoTR-Bold;
}

.footer a {
  font-family: LatoTR-Regular;
  color: #7e7d7d; /* Dark text for links */
  text-decoration: none;
  transition: color 0.5s ease; /* Added color transition */
}

.footer a:hover {
  color: white;
}

@font-face {
  font-family: 'LatoTR-Black';
  src: url('/assets/fonts/LatoTR-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-BlackItalic';
  src: url('/assets/fonts/LatoTR-BlackItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-Bold';
  src: url('/assets/fonts/LatoTR-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-BoldItalic';
  src: url('/assets/fonts/LatoTR-BoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-Hairline';
  src: url('/assets/fonts/LatoTR-Hairline.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-HairlineItalic';
  src: url('/assets/fonts/LatoTR-HairlineItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-Italic';
  src: url('/assets/fonts/LatoTR-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-Light';
  src: url('/assets/fonts/LatoTR-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-LightItalic';
  src: url('/assets/fonts/LatoTR-LightItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LatoTR-Regular';
  src: url('/assets/fonts/LatoTR-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Black';
  src: url('/assets/fonts/Roboto-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-BlackItalic';
  src: url('/assets/fonts/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Bold';
  src: url('/assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-BoldItalic';
  src: url('/assets/fonts/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Italic';
  src: url('/assets/fonts/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Light';
  src: url('/assets/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-LightItalic';
  src: url('/assets/fonts/Roboto-LightItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Medium';
  src: url('/assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-MediumItalic';
  src: url('/assets/fonts/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('/assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Thin';
  src: url('/assets/fonts/Roboto-Thin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-ThinItalic';
  src: url('/assets/fonts/Roboto-ThinItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.about-us, .product, .contact, .blog, #values {
  background-image: url('/assets/images/topography.png'); /* Replace with your background image */
  padding-top: 12.5rem;
  font-family: Roboto-Regular;

}

.section-coaster {
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent black background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a professional look */
}

.hero-section-coaster {
  background: rgba(233, 187, 187, 0.5); /* Semi-transparent black background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a professional look */
}

/* For medium screens */
@media (min-width: 768px) {
  .about-us, .product, .contact{
    padding-top: 10rem;
  }
}

.section-title {
  display: block;
  font-family: LatoTR-Bold;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-us-row {
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  position: relative;
}

.text-section {
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a professional look */
  margin: 20px;
}

.text-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-section p {
  font-size: 1rem;
  line-height: 1.3;
}

.about-us-card {
  color: #fff;
  background: black;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, flex 0.3s ease;
  flex: 1; /* Make cards take equal space */
  overflow: hidden; /* Hide text overflow */
  position: relative; /* For positioning the text */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px; /* Set the minimum height of the cards */
  z-index: 1;
  will-change: transform, opacity; /* Optimize for animations */
  margin: 5%;
  border-radius: 10px; /* Add rounded corners */
}

.about-us-card-body {
  padding: 50px;
  position: absolute; /* Ensure text is positioned correctly */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Center text */
  z-index: 2; /* Ensure text is above the overlay */
  border-radius: 10px; /* Add rounded corners */
  background-color: rgb(22 22 22 / 49%); /* Increase opacity and change to black for better contrast */
  border-radius: 10px; /* Add rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  color: white; /* Ensure text is white */
  width: 100%; /* Ensure text takes the full width */
  height: 100%; /* Ensure text takes the full height */

}

.about-us-card-title {
  font-family: LatoTR-Bold;
  font-size: 1.5rem; /* Default font size for titles */
  font-weight: bold;
  margin-bottom: 20px; /* Increased space between title and text */
  width:100%;
}

.about-us-card-text {
  font-size: 1rem;
  opacity: 0; /* Hide text initially */
  transition: opacity 0.3s ease; /* Smooth transition for text appearance */
}

.about-us-card:hover .about-us-card-text {
  opacity: 1; /* Show text on hover */
}

.about-us-card:hover {
  flex: 5; /* Expand the card to take the whole width */
  transform: scale(1.05); /* Slightly enlarge the card */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index:2;
}

.about-us-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 1; /* Ensure overlay is below the text */
}

.about-us-card-1 {
  background: url('/assets/images/about-us-1.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.about-us-card-2 {
  background: url('/assets/images/about-us-2.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.about-us-card-3 {
  background: url('/assets/images/about-us-3.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.about-us-card-4 {
  background: url('/assets/images/about-us-4.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

.about-us-card:not(:hover) .about-us-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-us-card:not(:hover) .about-us-card-text {
  display: none;
}

@media (max-width: 600px) {
  .about-us-card-title{
    font-size: 1.3rem;
  }
  .card-title {
    font-size: 1.2rem; /* Default font size for titles */
   
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-family: LatoTR-Bold;
    font-size: 2rem;
    margin: 0;
    color: black
  }
}

#about, #vision, #mission, #testimonials-placeholder {
  background: url('/assets/images/topography.png');
}

.hero-container{
  margin-top: 0%;
}

@media (max-width: 1260px) {
  .hero-container {
    margin-top: 10%;
  }
}

@media (max-width: 1000px) {
  .hero-container {
    margin-top: 20%;
  }
}

@media (max-width: 768px) {
  
  .hero-container {
    margin-top: 10%;
  }

  .hero .container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
  }
}

@media (min-width: 1200px) {
  #sidebarToggle{
    display: none;
  }
}

/* Click animation */
@keyframes clickAnimation {
  0% {
      background-color: var(--bg-color, #343a40); /* Default background color */
      color: var(--text-color, #ffffff); /* Default text color */
  }
  50% {
      background-color: var(--text-color, #ffffff); /* Reverted background color */
      color: var( --bg-color, #343a40); /* Reverted text color */
  }
  100% {
      background-color: var(--bg-color, #343a40); /* Default background color */
      color: var(--text-color, #ffffff); /* Default text color */
  }
}

.header-clicked {
  animation: clickAnimation 0.5s ease;
}
