/* General Styling */
body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.corner-left-up{
    border-radius:20px 0px 0px 0px;
  }
  .corner-right-up{
    border-radius:0px 20px 0px 0px;
  }
  .corner-left-down{
    border-radius:0px 0px 0px 20px;
  }
  .corner-right-down{
    border-radius:0px 0px 20px 0px;
  }

.dropbtn {
    text-decoration: none;
    color: black;
    padding: 0;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* High z-index ensures it appears above other elements */
}

.dropdown-content a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Header Styling */
.header {
    border-bottom: 1px solid #ddd;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10%;
    padding: 10px;
    background-color: #155c57;
    color: white;
    font-size: 14px;
    text-align: center;
}

.top-bar span a {
    text-decoration: none;
    color: white;
}

.main-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    position: relative; /* Ensure position for z-index to work */
    z-index: 10; /* Place header above other sections */
}

.logo img {
    max-width: 250px;
    height: auto;
}



/* Background Section Styling */
.bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
    z-index: 0; /* Keep it below header and dropdown */
}

.offer1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    margin: 20px 100px;
    background: linear-gradient(to right, #176c5c, #22b8cf);
    color: #fff;
    font-size: 18px;
    padding: 15px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 770px;
    left: 370px;
}

.timer {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 10px;
}

.time-box {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #0056b3;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* main home page banner */

.content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width:100%;
    height:850px;
    background : url('../assets/mainphoto.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
   
}

.text-section {
    margin-left: 80px;
    width: 42%;
    padding: 0 20px;
    min-width: 300px;
}

.text-section h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.text-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.text-section button {
    margin-top: 15px;
    background-color: #176c5c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    right: 135px;
    top: 320px;
}


.image-section {
    flex: 1;
    text-align: center;
    padding: 20px;
    min-width: 200px;
}

.image-section img {
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
}


.container {
    height: 500px;
    background-color: white;
    display: flex;
    flex-wrap: wrap; /* Allows content to wrap and adapt to screen sizes */
}

.container01 {
    height: 520px;
    background-color: white;
    display: flex;
    flex-wrap: wrap; /* Allows content to wrap and adapt to screen sizes */
}

/* Left image styling */
.left-image {
    width: 50%; /* Takes up 50% of the container */
    text-align: center;
    flex: 1; /* Allows the left image to take proportional space */
}

.left-image img {
    max-width: 100%; /* Ensures the image scales properly */
    height: 70%;
    border-radius: 10px;
    margin-top: 10px;
}

/* Table container */
.table-container {
    margin-top: 30px;
    flex: 4; /* Adjusts table-container space relative to the left image */
    padding: 10px;
    padding-right:50px;
    overflow-x: auto; /* Enables horizontal scrolling for large tables */
    width: 100%; /* Ensures it fits within the container */
}

/* Table styles */
table {
    width: 100%; /* Makes the table occupy the full width of the container */
    border-collapse: collapse; /* Removes spacing between table cells */
    background-color: #fff;
}

th, td {
    padding: 10px;
    text-align: center;
    word-wrap: break-word; /* Prevents text overflow */
}

thead {
    background-color: #e6f7ff; /* Light blue header for contrast */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

tbody tr:nth-child(odd) {
    background-color: #f9f9f9; /* Alternating row colors */
}

tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* Highlight price column */
.price {
    font-weight: bold;
    color: #e63946; /* Red for emphasis */
}

/* Logo container styles */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px; /* Adds spacing between logos */
}

.logo-container-img {
    max-height: 50px; /* Uniform height for logos */
    max-width: 120px;
    margin: 0 auto;
    display: block;
}

.logoimage{
    width: 65px;
}
.logoimagemed{
    width: 110px;
}

 /* Content Container */
 .content-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Center the video horizontally */
  }
  
  /* Fullscreen Background Video */
  .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 30px;
    transform: translate(-50%, -50%); /* Center video */
    width: 100%; /* Default width for responsiveness */
    min-height: 80%;
    object-fit: cover;
    z-index: -1;
  }

/* Responsive design */
@media (max-width: 768px) {
    body {
        width: 100%;
    }
    .content {
        height: 300px; /* Let the height adjust based on content for mobile */
        background-size: cover; /* Ensure the image scales proportionally */
    }
    .text-section button {
    margin-top: 15px;
    background-color: #176c5c;
    color: white;
    border: none;
    padding: 5px 15px;
    font-size: 10px;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 235px;
    }

.offer1 {
        width: 65%;
        margin: 20px auto;
        flex-direction: column;
       
        font-size: 12px;
        position: absolute;
    top: 370px;
    left: 85px;
    }

    .logoimage{
        width: 55px;
    }
    .logoimagemed{
        width: 95px;
    }
    .container {
        flex-direction: column; /* Stacks elements vertically */
    }
    .container01 {
        flex-direction: column; /* Stacks elements vertically */
    }
    .logo img {
        max-width: 100px;
        height: auto;
    }

    .left-image img {
        text-align: center;
        max-width: 50%; /* Resizes the image to fit the screen */
        height: 100%;
        margin-top: 10px;
    }
    .left-image {
        height: 200px;
        margin: auto;
        margin-top: 10px;
    }

    .table-container {
        margin-top: 90px;
        padding:10px;
        overflow-y: hidden;
    }

    .logo-container img {
        max-height: 30px; /* Smaller logo size for mobile */
    }

    .content-container {
        margin-top: 25px;
        height: 40vh;
      }

       /* Text Box Styling */
  .text-box {
    width: 250px;
  }


    table {
        font-size: 12px; /* Reduces font size for smaller screens */
    }

    th, td {
        padding: 5px;
    }
}

  
 
  
  /* Text Box Styling */
  .text-box {
    position: absolute;
    top: 0%; /* Adjust vertical position */
    left: 5%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px;
    max-width: 450px;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .text-box h1 {
    padding-bottom: 10px;
    margin: 0 0 15px;
    line-height: 1.5;
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    color: #000;
  }
  
  .text-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .background-video {
      width: 100%;
      height: 100%;
    }
  
    .text-box {
      top: 10%; /* Adjust for smaller screens */
      left: 2%; /* Reduce padding near the left */
      max-width: 300px;
      padding: 15px;
    }
  
    .text-box h1 {
      font-size: 22px;
    }
  
    .text-box p {
      font-size: 12px;
    }
  }
  
  @media (max-width: 480px) {
      
       .content {
        height: 200px; /* Let the height adjust based on content for mobile */
        background-size: cover; /* Ensure the image scales proportionally */
    }
    .text-section button {
    margin-top: 15px;
    background-color: #176c5c;
    color: white;
    border: none;
    padding: 5px 15px;
    font-size: 9px;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 200px;
    }

.offer1 {
        width: 60%;
        margin: 10px 0px;
        flex-direction: column;
       
        font-size: 10px;
        position: absolute;
       top: 320px;
      left: 75px;
    }
    
    .container01{
        margin-top:50px;
        
    }
      
    .text-box {
      top: 5%; /* Further adjust for very small screens */
      left: 1%;
      max-width: 250px;
      padding: 10px;
    }
  
    .text-box h1 {
      font-size: 18px;
    }
  
    .text-box p {
      font-size: 10px;
    }
  }


  
/* Section Styling */
.how-it-works {
    padding: 40px 20px;
}

.how-it-works h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Card Container */
.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
    margin-top: 20px;
}

/* Card Styling */
.card {
    background-color: #175d58;
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px; /* Set a consistent card width */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease; /* Smooth color transition */
}

.card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button Styling */
.card button {
    background-color: #22b8cf;
    color: white;
    border: none;
    padding: 10px;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color transition */
    align-self: flex-start;
}


/* Hover Effect */
.card:hover {
    background-color: #22b8cf; /* Change card background to button color */
    color: white; /* Ensure text remains readable */
}

.card:hover button {
    background-color: #175d58; /* Change button background to original card color */
    color: white; /* Ensure text remains readable on the button */
}

.card button:hover {
    background-color: #BADA55;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column; /* Stack cards on smaller screens */
        align-items: center;
    }

    .card {
        width: 100%; /* Take up most of the screen on smaller devices */
    }
}

.features-section {
    background: linear-gradient(135deg, #22b8cf, #175d58);
    color: #094945;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.features-section .container {
    height: auto;
    overflow-y: hidden;
    background: transparent;
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: space-between; /* Even spacing between cards */
    gap: 20px;
    overflow-x: auto; /* Add horizontal scrolling if content overflows */
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 250px; /* Fixed width for consistency */
    
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: inherit;
}

@media (max-width: 768px) {
    .features-section .container {
        flex-wrap: wrap; /* Prevent wrapping */
        justify-content: flex-start; /* Left-align the cards for small screens */
        height: 350px;
    }
    .feature-card {
        margin-right: 20px; /* Add spacing between cards for scrolling */
    }
}

.contai {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30vh;
}
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carouselimage{
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel img {
    
    max-height: 100px;
    margin: 0 20px;
}

.carouselimage img {
    
    max-height: 100px;
    margin: 0 20px;
}

.carouselimage img:hover {
    background-color: #A2A2A1;    
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 100;
}
.arrow.left {
    left: 0;
}
.arrow.right {
    right: 0;
}
.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
      }
      * {
        box-sizing: border-box;
      }
      html, body {
        width: 100%;
        overflow-x: hidden;
      }
    .carousel img {
        width: 70px;
    }
    
    
    .text-section {
        margin-left: 20px;
        width: 60%;
    }
}