/* General styles for the page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and background */
body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align to the top */
  min-height: 100vh;
  background-color: #f4f4f9;
  flex-direction: column; /* Align all content vertically */
  text-align: center;
  /*overflow-x: hidden;*/
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('png/chamber.webp'); /* Replace with the correct path */
  background-size: 100% 140%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  opacity: 0.7; /* Adjust transparency of the background */
  z-index: -1; /* Place the background behind other content */
}


/* Logo Section */
.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Fixes the container at the top */
  top: 0; /* Aligns to the top of the viewport */
  left: 0;
  right: 0;
  padding: 10px; /* Spacing inside the container */
  z-index: 15; /* Ensures it appears above other content */
  background-color: #9cb356; /* Slightly less muted */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12); /* Adds subtle shadow */
  border-bottom: 1px solid rgba(155, 178, 84, 0.6); /* Slightly stronger border */

  border-bottom-left-radius: 20px; /* Adjust the value as needed */
  border-bottom-right-radius: 20px; /* Adjust the value as needed */
}

#logo {
  width: 30vw; /* Adjust the width of the logo */
  height: auto;
}

#dan {
  width: 10vw; /* Adjust the width of the logo */
  height: 4vw;
}

h1 {
  font-size: 23px; /* Slightly larger for emphasis */
  font-weight: 700; /* Stronger weight for more impact */
  color: #065599;  /* A rich green color */
  text-transform: uppercase;
  letter-spacing: 4px; /* Increased spacing for a more dramatic effect */
  line-height: 1; /* Slightly increased line-height for better readability */
  margin-top: 85px; /* Reduced top margin for a cleaner look */
  margin-bottom: 15px; /* Increased bottom margin for better spacing */
  padding: 20px 20px; /* Slightly larger padding for balance */
  background-color: rgba(127, 199, 152, 0.8); /* More opaque background for better contrast */
  border-radius: 85px; /* Softer, more rounded corners */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Larger shadow for a more defined lift */
  width: 80%;
  max-width: 800px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Arial', sans-serif; /* Ensure modern sans-serif font for a clean look */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Light text shadow for added depth */
}

/* Banner container styles */
.banner-container {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    margin: 40px auto 0; /* Adjust top margin and center horizontally */
    border-left: 1.3px solid #fff; /* Add left border */
    border-right: 1.3px solid #fff; /* Add right border */
    border-top: 1.3px solid #fff; /* Add top border */
    border-bottom: 1.3px solid #fff; /* Add bottom border */
    border-radius: 30px;
    margin-top: 140px;
}

/* Banner slide container to hold all the banner cards */
.banner-slide {
    display: flex;
    transition: transform 2.1s ease; /* Smooth transition for the sliding effect */
}

/* Individual banner card styles */
.banner-card {
    min-width: 100%; /* Ensure each card takes up full width of the container */
    position: relative; /* Required for positioning the content */
    height: 180px; /* You can adjust this based on your image sizes */
    border-radius: 30px; /* Add this line to round the corners */
    overflow: hidden; /* Ensure that the content inside the card (like the image) respects the rounded corners */
}

.banner-card[data-id] {
    cursor: pointer; /* Change cursor to pointer for cards with data-id */
}

#cover {
    cursor: pointer;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Make the image fill the card area */
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 8px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;  /* Ensure buttons are above the slides */
}

/* Position the prev button on the left */
.prev {
    left: 3px;
}

/* Position the next button on the right */
.next {
    right: 3px;
}

/* Add hover effect on buttons */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
}

/* Styling the content overlay */
/*.banner-content {*/
    /*position: absolute;*/
    /*bottom: 10px;*/
    /*left: 10px;*/
    /*background: rgba(0, 0, 0, 0.5);  Semi-transparent black background */
    /*padding: 10px;*/
    /*color: white;*/
    /*border-radius: 5px;*/
/*}*/

/*.banner-content h3, .banner-content p {*/
    /*margin: 0;*/
    /*padding: 5px 0;*/
/*}*/

/* Card Container */
.card-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px; /* Adjust to control the gap between the banner and cards */
  z-index: 1; /* Ensure it appears on top of the banner */
  width: 100%;
}

/* Styling for each card */
.card {
  border-radius: 10px;
  width: 330px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.2s;
  touch-action: manipulation; /* Prevents double-tap zoom behavior on touch devices */
}

/* Hover and touch feedback */
.card:hover,
.card:active {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.card p {
  font-size: 16px;
  color: #fff;
}

/* Color-specific styles for each card */
#hdmcCard {
  background-color: #cf7053;
}

#hdmcCard:hover,
#hdmcCard:active {
  background-color: #b85f44;
}

#bookingCard {
  background-color: #2196F3; /* Blue for BOOK TREATMENT */
}

#bookingCard:hover,
#bookingCard:active {
  background-color: #1976D2; /* Darker blue on hover or touch */
}

#consultCard {
  background-color: #aba257;
}

#consultCard:hover,
#consultCard:active {
  background-color: #b5a74d;
}

#listCard {
  background-color: #009688;
}

#listCard:hover,
#listCard:active {
  background-color: #00796B;
}

#policyCard {
  background-color: #2E8B57;
}

#policyCard:hover,
#policyCard:active {
  background-color: #256b44;
}

.description-container {
  margin: 70px auto;
  padding: 20px;
  max-width: 95%;
  background-color: #d1e8f9; /* Light background */
  border: 1px solid #ddd; /* Light border */
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  text-align: left;
  background-image: url('png/Logo.webp'); /* Replace with your image path */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-size: contain; /* Ensures the image covers the entire element */
  background-position: right; /* Centers the image within the element */
  position: relative;
}

#about {
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* This aligns items to the space between */
  align-items: flex-start; /* This aligns items at the top */
}

#about h2 {
  font-size: 1.8rem;
  color: #3E709B; /* Your preferred color */
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between; /* To distribute the space evenly */
  align-items: center;
}

#about button {
  background-color: #3E709B;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.7rem;
}

#about button:hover {
  background-color: #2a5c8f; /* Darker shade of your preferred color */
}

#about button.active {
    background-color: #8DAE34; /* #9ebd39 */
    color: white;
    border: none;
}

.description-container h3 {
  font-size: 1.4rem;
  color: #3E709B; /* Your preferred color */
  margin-top: 20px;
  margin-bottom: 5px;
}

.description-container p {
  font-size: 0.85rem;
  white-space: normal; /* Allows the text to wrap within the list item */
  word-wrap: break-word;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: justify;
}

.description-container ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.description-container li {
  font-size: 0.85rem;
  white-space: normal; /* Allows the text to wrap within the list item */
  word-wrap: break-word;
  color: #555;
  margin-bottom: 3px;
  text-align: justify;
}

#bookNowLink {
  text-decoration: underline;
  font-weight: bold;
}

#bookNowLink:hover {
  color: #0056b3; /* Darker shade of your preferred color */
  cursor: pointer;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    overflow: auto;
}

/* Modal Content */
.modal-content {
    background-color: #7fddf0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #888;
    width: 90%; /* Full width, but with padding */
    max-width: 400px;
    text-align: center;
    
    /* Centering with transform */
    position: absolute;
    top: 50%; /* 50% from the top of the page */
    left: 50%; /* 50% from the left of the page */
    transform: translate(-50%, -50%); /* Offsetting by 50% of the width/height to center it */
    box-sizing: border-box; /* Ensure padding doesn't affect width */

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the content is spaced evenly */
    height: 90%; /* Adjust the height to ensure there's enough space for everything */
    max-height: 550px;
    overflow-y: auto;

    background-image: url('png/Logo.webp'); /* Replace with your image path */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: contain; /* Ensures the image covers the entire element */
    background-position: center;
}


/* Modal Title */
.modal-content h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* The Close Button */
.close {
    color: #444;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
}

.close1 {
    color: #444;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
}

.close1:hover,
.close1:focus {
    color: red;
    text-decoration: none;
}

/* Style for the category buttons */
.category-btn {
    padding: 15px 25px;
    margin: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%; /* Make width auto to adjust based on content */
    transition: background-color 0.3s ease;
    display: inline-block; /* Ensure buttons are inline with each other */
}

/* Center buttons in the modal */
.modal-content .category-btn {
    margin-left: auto;
    margin-right: auto;
}

/* Hover effect for buttons */
.category-btn:hover {
    background-color: #0056b3;
}

/* Regular Button */
#regular {
  background-color: #28a745; /* Green color */
  color: white; /* Ensure text is visible */
}

#regular:hover {
  background-color: #218838; /* Darker green for hover effect */
}

#diver {
  margin-bottom: 15px; /* Ensure text is visible */
}

#mcu {
  background-color: #28a745; /* Green color */
  color: white; /* Ensure text is visible */
}

#mcu:hover {
  background-color: #218838; /* Darker green for hover effect */
}

#non-mcu {
  margin-bottom: 15px; /* Ensure text is visible */
}

/* To show the modal */
#categoryModal.show {
    display: block;  /* Show modal when categoryModal has 'show' class */
}

#consultModal.show {
    display: block;  /* Show modal when categoryModal has 'show' class */
}

/* Ensure that the Note section is spaced properly */
.modal-content ol {
    margin-left: 15px;
    font-size: 15px;
    flex-grow: 1; /* Allow this section to grow and take remaining space */
}

/* Adjust the "Note" text to ensure it's aligned correctly */
.modal-content p {
    margin-top: 15px;
    margin-bottom: -4px; /* Add margin below the Note label */
    text-align: left; /* Align the paragraph text to the left */
}

ol li {
    font-size: 15px;
    margin-bottom: 20px; /* Adds spacing between list items */
    white-space: normal; /* Allows the text to wrap within the list item */
    word-wrap: break-word;
    text-align: justify;
}

a {
    text-decoration: none; /* Remove the default underline */
    color: blue; /* Set the link color */
    font-weight: bold; /* Make the text bold */
    font-size: 16px; /* Adjust the font size */
    padding: 3px 3px; /* Add some padding around the text */
    border-radius: 5px; /* Round the corners */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect - change color and background on hover */
a:hover {
    color: white; /* Change text color on hover */
    background-color: #4fa3d1; /* Change background color */
    text-decoration: underline; /* Add an underline back on hover */
}

/* Focus effect - for accessibility */
a:focus {
    outline: 3px solid #ffcc00; /* Highlight the link with a yellow outline when it's focused */
    outline-offset: 2px; /* Slightly offset the outline */
}

/* Visited link style */
a:visited {
    color: darkblue; /* Darker color for visited links */
}

.center-text {
    width: 100%;
    /*max-width: 750px;  Limits the width of the container */
    margin: -30px auto; /* Centers the container horizontally */
    text-align: center;
    margin-bottom: 20px; /* Adjust space between the text and the card-info section */
    background-color: #4f77e3; /* Set the background color here */
    padding: 10px; /* Add some padding to ensure the text doesn't touch the edges */
    border-radius: 8px; /* Optional: Adds rounded corners to the background */
}

.center-text h4 {
    text-align: center;
    font-size: 24px; /* Adjust font size if needed */
    font-weight: 1000;
    font-style: italic;
    color: #333; /* Adjust the text color if needed */
    letter-spacing: 3px;
}

.card-info {
    overflow: hidden;
    width: 97%;
    height: 70vh;
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-slide {
    display: flex;
    gap: 5vw;
    animation: moveCards 25s linear infinite;
    will-change: transform;
    width: max-content;
}

.card-slide:hover {
    animation-play-state: paused;
}

.card-item {
    flex: 0 0 27vw;
    height: 70vh;
    color: black;
    text-align: justify;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.3s;
    overflow: hidden;
    flex-direction: column;
    line-height: 1.4;
    overflow-y: auto;
}

.card-item {
    user-select: none; /* Prevents text selection */
}

/* Webkit scrollbar styling */
.card-item::-webkit-scrollbar {
  width: 8px; /* Set width of the scrollbar */
}

.card-item::-webkit-scrollbar-track {
  background: #f1f1f1; /* Set the background color of the track */
  border-radius: 20px; /* Round the corners of the track */
}

.card-item::-webkit-scrollbar-thumb {
  background: #c7af40; /* Set color of the scrollbar thumb */
  border-radius: 20px; /* Round the corners of the thumb */
  border: 1px solid #f1f1f1; /* Optional: a border to make the thumb stand out */
}

.card-item::-webkit-scrollbar-thumb:hover {
  background: #ad9b47; /* Change color when hovered */
}

.bg-first {
    background: #aaba49;
}

.bg-second {
    background: #3ac78c;
}

.bg-third {
    background: #3c89bd;
}

@keyframes moveCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Adjust spacing */
}

.card-image {
    max-width: 80%;  /* Ensures responsiveness */
    height: auto;     /* Maintains aspect ratio */
    border-radius: 10px;
}

#konsul {
    margin-top: 30px;
}

.card-item p {
    font-size: 14px;
}

#foot {
    margin-top: 10px;
    line-height: 1.4;
}

ul {
    padding-left: 15px;
    margin-bottom: 8px;
    margin-top: 8px;
}

ul li {
    font-size: 14px;
    white-space: normal; /* Allows the text to wrap within the list item */
    word-wrap: break-word;
    text-align: justify;
    line-height: 1.4;
}

.testimony-container {
    width: 100%;
    max-width: 700px;
    margin: 20px auto; /* Center the testimony container */
    position: relative;
    border: 1px solid #fff; /* Optional border */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensure content respects rounded corners */
    background-color: #D1E5BF; /* #C1D8A0 */
    align-items: center;
}

.testimony-slide {
    display: flex;
    transition: transform 1s ease; /* Smooth transition for sliding effect */
}

.testimony-card {
    min-width: 100%; /* Each card takes full width */
    text-align: center; /* Center text */
    padding: 20px; /* Padding for content */
    background-image: url('png/Logo.webp'); /* Replace with your image path */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: contain; /* Ensures the image covers the entire element */
    background-position: left; /* Centers the image within the element */

    /* Transition setup */
    opacity: 0; /* Start invisible */
    transform: translateY(20px); /* Start slightly off-screen */
    transition: opacity 1.2s ease, transform 1.2s ease; /* Smooth fade and slide */

    /* Hide element while not active */
    position: absolute; /* Remove from document flow */
    top: 0;
    left: 0;
    width: 100%; /* Ensure it takes the full container width */
}

.testimony-card.active {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to its natural position */
    position: relative; /* Stack in normal flow when active */
}

.testimony-image {
    width: 85px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
    pointer-events: none;
    user-select: none;
}

.comment {
    font-size: 13px;
    line-height: 1.4;
}

.author {
    font-weight: bold; /* Make the author's name bold */
    margin-top: 20px; /* Space above the author text */
    font-size: 13px;
}

.position {
    font-weight: normal; /* Normal weight for the position */
    color: #666; /* Optional: a lighter color for the position */
    font-size: 0.85em; /* Slightly smaller font size for the position */
}

.maps-container {
    position: fixed;
    bottom: 85px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.85;
    z-index: 1000;
}

.maps-icon img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.maps-banner {
    position: absolute;
    top: 4px;
    left: 100%;  /* Initially position off-screen to the right of the icon */
    background-color: #3a619c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);  /* Shadow for the banner */
    opacity: 0;  /* Initially make it invisible */
    transform: translateX(-65%); /* Initially off-screen */
    transition: transform 2s ease-in-out, opacity 1s ease-in-out;  /* Smooth slide-in and fade-in */
    z-index: -1;
}

.maps-container:hover .maps-banner {
    transform: translateX(2%); /* Slide the banner to its original position */
    transition: transform 2s ease-out-in, opacity 1s ease-out-in;
    opacity: 1;  /* Make the banner visible */
}

.maps-link {
    display: inline-block;
    width: auto;
    height: auto;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.maps-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.85;
    z-index: 1000;
}

.whatsapp-icon img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.whatsapp-banner {
    position: absolute;
    top: 4px;
    left: 100%;  /* Initially position off-screen to the right of the icon */
    background-color: #21bf5c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);  /* Shadow for the banner */
    opacity: 0;  /* Initially make it invisible */
    transform: translateX(-65%); /* Initially off-screen */
    transition: transform 2s ease-in-out, opacity 1s ease-in-out;  /* Smooth slide-in and fade-in */
    z-index: -1;
}

.whatsapp-container:hover .whatsapp-banner {
    transform: translateX(2%); /* Slide the banner to its original position */
    transition: transform 2s ease-out-in, opacity 1s ease-out-in;
    opacity: 1;  /* Make the banner visible */
}

.whatsapp-link {
    display: inline-block;
    width: auto;
    height: auto;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* Responsive design */
@media (min-width: 380px) and (max-width: 768px) {
  body::before {
    background-size: contain;
    background-repeat: repeat-y;
    background-position: center;
  }

  .whatsapp-container {
    bottom: 10px;
    left: 10px;
  }

  .maps-container {
    bottom: 65px;
    left: 10px;
  }

  .whatsapp-icon img {
        width: 45px;
        height: 45px;
    }

    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }
    .maps-icon img {
        width: 45px;
        height: 45px;
    }

    .maps-icon {
        width: 45px;
        height: 45px;
    }

    .whatsapp-banner {
        top: 2px;
    }

    .maps-banner {
        top: 2px;
    }
  
  /* Card container for mobile */
  .card-container {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }

  /* Cards become wider on smaller screens */
  .card {
    width: 75%;
    margin-bottom: 20px;
  }

  .logo-container {
    display: flex;
    position: relative;
    top: 0; /* Adjust to your preference */
    margin-bottom: -100px;
    width: 100%;
    height: 25vh;
    justify-content: center;
  }

  /* Adjust logo size for smaller screens */
  #logo {
    width: 60vw;  /* Larger logo on mobile (40% of the viewport width) */
    height: auto;
    margin-bottom: 30px;
    transform: translateY(-45%);
  }

  #dan {
    width: 20vw;  /* Larger logo on mobile (60% of the viewport width) */
    height: 8vw;
    position: absolute;
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -100%);  /* Center by shifting 50% */
    margin-left: 0;
  }

  /* Adjust modal content width on smaller screens */
  .modal-content {
    width: 90%;
    max-width: 350px;
  }

  h1 {
      border-radius: 20px;
      width: 95%;
      font-size: 16px;
      margin-top: 105px;
      margin-bottom: -100px;
    }

  .banner-container {
    max-width: 90%;
  }

  .description-container {
    margin: 40px auto;
    padding: 15px;
  }

  .card-info {
    height: 50vh;
  }
  
  .card-item {
        flex: 0 0 90vw;
        height: 50vh;
        font-size: 3vw;
    }
    
    .card-slide {
        display: flex;
        gap: 10vw;
        animation: moveCards 25s linear infinite;
        will-change: transform;
        width: max-content;
    }
    
    @keyframes moveCards {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-108.8%);
        }
    }

  .testimony-card {
    min-width: 100%; /* Each card takes full width */
    text-align: center; /* Center text */
    padding: 20px; /* Padding for content */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: contain; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
  }

  .testimony-image {
    width: 60px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 12px;
  }

  .author {
    font-size: 12px;
  }

  .position {
      font-size: 0.8em;
  }
}


@media (min-width: 500px) and (max-width: 500px) { /* Chrome */
  .logo-container {
    height: 20vh;
  }

  /* Adjust logo size for smaller screens */
  #logo {
    transform: translateY(-45%);
  }

  #dan {
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -50%);  /* Center by shifting 50% */
  }

  .whatsapp-container {
    bottom: 10px;
    left: 10px;
  }

  .maps-container {
    bottom: 70px;
    left: 10px;
  }

  .whatsapp-banner {
        top: 2px;
    }

    .maps-banner {
        top: 2px;
    }
}

/* Additional styling for larger screens (PC) */
@media (min-width: 769px) {
  /* Set logo width for larger screens (desktop and tablets) */
  #logo {
    width: 20vw;  /* Keep the logo smaller on larger screens (20% of the viewport width) */
  }

  #dan {
    width: 10vw;  /* Keep the logo smaller on larger screens (20% of the viewport width) */
  }

  .testimony-image {
    width: 65px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 11px;
  }

  .author {
    font-size: 11px;
  }

  .position {
      font-size: 0.8em;
  }

  .banner-container {
    margin-top: 40px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .logo-container {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  #logo {
    margin: auto;
    width: 20vw; /* Adjust logo size for landscape orientation */
  }

  #dan {
    margin: auto;
    width: 5vw; /* Adjust logo size for landscape orientation */
    height: 4vw;
  }

  h1 {
      font-size: 16px;
    }

  .banner-container {
    margin-top: 140px;
  }

  .description-container {
    margin: 60px auto;
    padding: 18px;
  }

  .testimony-image {
    width: 60px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 12px;
  }

  .author {
    font-size: 12px;
  }

  .position {
      font-size: 0.8em;
  }
}

/* Additional media query to cover larger zoom (like 200%) */
@media (max-width: 1024px) {
  .logo-container {
    display: flex;
    position: relative;
  }

  /* Card container for mobile */
  .card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Cards become wider on smaller screens */
  .card {
    width: 75%;
    margin-bottom: 20px;
  }

  /* Adjust logo size for smaller screens */
  #logo {
    margin-top: 5px;
    width: 90vw;
    max-width: 500px;  /* Optional: limit maximum size of logo */
  }

  #dan {
    width: 45vw;
    height: 18vw;
    margin-top: 93px;  /* Space between the logos */
  }

  .description-container {
    margin: 70px auto;
    padding: 20px;
  }

  /* Adjust modal content width on smaller screens */
  .modal-content {
    width: 90%;
    max-width: 400px;
  }

  .banner-container {
    margin-top: 150px;
    max-width: 80%;
  }

  .testimony-image {
    width: 60px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 12px;
  }

  .author {
    font-size: 12px;
  }

  .position {
      font-size: 0.8em;
  }
}

@media (min-width: 504px) and (max-width: 504px) { /* Firefox */
  .logo-container {
    height: 23vh;
  }

  /* Adjust logo size for smaller screens */
  #logo {
    transform: translateY(-45%);
  }

  #dan {
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -90%);  /* Center by shifting 50% */
  }

  .card {
    width: 68%;
    margin-bottom: 20px;
  }
  
  .card-info {
        height: 46vh;
    }
  
  .card-item {
        flex: 0 0 90vw;
        height: 46vh;
        font-size: 3vw;
    }
    
    .card-slide {
        display: flex;
        gap: 10vw;
        animation: moveCards 25s linear infinite;
        will-change: transform;
        width: max-content;
    }
    
    @keyframes moveCards {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-147%);
        }
    }

  .whatsapp-container {
    bottom: 10px;
    left: 10px;
  }

  .maps-container {
    bottom: 65px;
    left: 10px;
  }

  .whatsapp-banner {
        top: 0.5px;
    }

    .maps-banner {
        top: 0.5px;
    }

  h1 {
      font-size: 16px;
      margin-top: 105px;
      margin-bottom: -90px;
    }
}

@media (min-width: 1028px) and (max-width: 1048px) and (orientation: landscape) { /* Firefox */
    h1 {
        margin-top: 75px;
      font-size: 22px;
    }

    .whatsapp-container {
    bottom: 10px;
    left: 10px;
  }

  .maps-container {
    bottom: 65px;
    left: 10px;
  }

  .whatsapp-icon img {
        width: 45px;
        height: 45px;
    }

    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }
    .maps-icon img {
        width: 45px;
        height: 45px;
    }

    .maps-icon {
        width: 45px;
        height: 45px;
    }

    .whatsapp-banner {
        top: 2px;
    }

    .maps-banner {
        top: 2px;
    }
}

@media (min-width: 1520px) and (max-width: 1536px) {
    h1 {
        margin-top: 100px;
      font-size: 22px;
    }
}

@media (min-width: 1537px) and (max-width: 2000px) {
    h1 {
        margin-top: 110px;
      font-size: 22px;
    }

    .card-info {
    height: 50vh;
  }
  
  .card-item {
        height: 50vh;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('png/chamber.webp'); /* Replace with the correct path */
    background-size: 100% 140%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.7; /* Adjust transparency of the background */
    z-index: -1; /* Place the background behind other content */
  }

  /* Flex container to keep logo and dan side by side */
  .logo-container {
    display: flex;
    position: relative;
    justify-content: space-between; /* Align horizontally */
    align-items: center;     /* Align vertically */
    width: 100%;             /* Full width for container */
    gap: 20px;               /* Space between the two elements */
    margin-bottom: -80px;
  }

  #logo {
    margin-top: 2px;
    width: 40vw;
    max-width: 250px;  /* Optional: limit maximum size of logo */
  }

  #dan {
    width: 12vw;
    height: 6vw;
    margin-top: 3px;  /* Space between the logos */
  }

  h1 {
      font-size: 16px;
      margin-top: 85px;
      margin-bottom: 0;
    }
  
  .banner-container {
    margin-top: 45px; /* Adjust top margin and center horizontally */
    width: 50%;
  }
  
  .card-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1; /* Ensure it appears on top of the banner */
    width: 100%;
  }

  /* Styling for each card */
  .card {
    width: 40%;
  }

  .modal-content {
    width: 90%;
    max-width: 400px;
  }

  .description-container {
    margin: 60px auto;
    padding: 18px;
  }

  .testimony-image {
    width: 60px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 12px;
  }

  .author {
    font-size: 12px;
  }

  .position {
      font-size: 0.8em;
  }

  .whatsapp-container {
    bottom: 10px;
    left: 10px;
  }

  .maps-container {
    bottom: 65px;
    left: 10px;
  }

  .whatsapp-icon img {
        width: 45px;
        height: 45px;
    }

    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }
    .maps-icon img {
        width: 45px;
        height: 45px;
    }

    .maps-icon {
        width: 45px;
        height: 45px;
    }

    .whatsapp-banner {
        top: 2px;
    }

    .maps-banner {
        top: 2px;
    }
}

@media screen and (max-width: 380px) { /* Galaxy XCover 5 */
  body::before {
    background-size: contain;
    background-repeat: repeat-y;
    background-position: center;
  }
  
  /* Card container for mobile */
  .card-container {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }

  /* Cards become wider on smaller screens */
  .card {
    width: 75%;
    margin-bottom: 20px;
  }

  .logo-container {
    display: flex;
    position: relative;
    top: 0; /* Adjust to your preference */
    margin-bottom: -100px;
    width: 100%;
    height: 21vh;
    justify-content: center;
  }

  /* Adjust logo size for smaller screens */
  #logo {
    width: 90vw;  /* Larger logo on mobile (40% of the viewport width) */
    height: auto;
    margin-bottom: 30px;
    transform: translateY(-20%);
  }

  #dan {
    width: 35vw;  /* Larger logo on mobile (60% of the viewport width) */
    height: 15vw;
    position: absolute;
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -160%);  /* Center by shifting 50% */
    margin-left: 0;
    margin-bottom: -15px;
  }

  /* Adjust modal content width on smaller screens */
  .modal-content {
    width: 90%;
    max-width: 350px;
  }

  h1 {
      border-radius: 20px;
      width: 95%;
      font-size: 13px;
      margin-top: 100px;
      margin-bottom: 0;
    }

  .banner-container {
    margin-top: 40px;
    max-width: 90%;
  }

  .description-container {
    margin: 40px auto;
    padding: 15px;
  }

  .testimony-card {
    min-width: 100%; /* Each card takes full width */
    text-align: center; /* Center text */
    padding: 20px; /* Padding for content */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: contain; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
  }

  .testimony-image {
    width: 60px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make images circular */
    margin-bottom: 10px; /* Space between image and text */
  }

  .comment {
    font-size: 12px;
  }

  .author {
    font-size: 12px;
  }

  .position {
      font-size: 0.8em;
  }

  .whatsapp-container {
    left: 10px;
    bottom: 10px;
    right: auto;
  }

  .maps-container {
    bottom: 58px;
    left: 10px;
  }

  .whatsapp-icon img {
        width: 40px;
        height: 40px;
    }

  .whatsapp-icon {
        width: 40px;
        height: 40px;
    }
  .maps-icon img {
        width: 40px;
        height: 40px;
    }

  .maps-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-banner {
        top: 0.5px;
    }

    .maps-banner {
        top: 0.5px;
    }
}

@media screen and (max-width: 720px) and (orientation: landscape) { /* Galaxy XCover 5 */
    /* Adjust logo container layout */
    .logo-container {
      display: flex;
      width: 100%;
      position: relative; /* Ensure relative positioning */
      top: 0; /* Ensure it sticks to the top of the screen */
      left: 0; /* Align to the left */
      right: 0; /* Align to the right */
      justify-content: space-between;  /* Centers the items horizontally */
      align-items: center;  /* Align items vertically */
      gap: 5px; /* Space between #logo and #dan */
      padding: 5px; /* Optional padding for better spacing */
    }

    #logo {
      width: 40vw;
      max-width: 350px;  /* Optional: limit maximum size of logo */
      position: absolute; /* Position logo at the left */
      left: 10px; /* Distance from the left side */
      margin-top: -5px;
    }

    #dan {
      width: 20vw;
      height: 8vw;
      position: absolute; /* Position dan at the right */
      right: -330px; /* Distance from the right side */
      margin-top: 27px;
    }

    h1 {
      font-size: 13px;
    }

    .description-container {
      margin: 50px auto;
      padding: 15px;
    }

    .testimony-image {
      width: 60px; /* Adjust image size */
      height: auto; /* Maintain aspect ratio */
      border-radius: 50%; /* Make images circular */
      margin-bottom: 10px; /* Space between image and text */
    }

    .comment {
      font-size: 12px;
    }

    .author {
      font-size: 12px;
    }

    .position {
        font-size: 0.8em;
    }

    .whatsapp-container {
        bottom: 10px;
        left: 10px;
        right: auto;
    }

    .whatsapp-icon img {
        width: 40px;
        height: 40px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }

    .maps-container {
        bottom: 57px;
        left: 10px;
    }

    .maps-icon img {
        width: 40px;
        height: 40px;
    }

    .maps-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-banner {
        top: 0.5px;
    }

    .maps-banner {
        top: 0.5px;
    }
}

/* Optionally handle extreme zoom by applying a larger container max-width */
@media (max-width: 768px) and (max-height: 900px) {
  .card-container {
    padding: 10px;
  }

  .description-container {
    margin: 50px auto;
    padding: 15px;
  }
}
