/* Global Styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    background-image: url('img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

header {
    background-color: #041f46;
    color: #fff;
    padding: 20px;
    text-align: center;
}

h1,
h2 {
    margin: 0;
}

nav {
    background-color: #f4f4f4;
    padding: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #555;
}

.container {
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    color: #666;
    margin-bottom: 20px;
}

.button {
    background-color: #ff5a5f;
    border: none;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #ff4247;
}

/* Additional Styles */
.map-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.doctor-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Feature chart styles */
.feature-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: rgb(238, 238, 238);
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Feature item styles */
.feature {
    background-color: #ff4247;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

/* Services styles */

header {
    background-color: #041f46;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

/* Set link color to black */
.services a {
    color: #000;
    text-decoration: none;
}

/* Media Query for Responsive Design */
@media (max-width: 1000px) {
    .services {
        grid-template-columns: 1fr;
        max-height: max-content;
    }
}

@media (max-width: 576px) {
    .service {
        padding: 10px 20px;
    }
}



/* Delete this part later */
.popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    justify-content: center;
    align-item: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 714px;
    /* Half of the image's width (1428 / 2) */
    height: 1000px;
    /* Half of the image's height (2000 / 2) */
    max-width: 100%;
    /* Optional: set a maximum width to prevent stretching on larger screens */
    max-height: 100%;
    /* Optional: set a maximum height to prevent stretching on smaller screens */
}

.popup img {
    width: 100%;
    /* Set the image width to 100% to fill the popup */
    height: 100%;
    /* Set the image height to 100% to fill the popup */
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}


/* Delete this part later */


/* Social media*/

.card {
    width: fit-content;
    height: fit-content;
    background-color: rgb(238, 238, 238);
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 25px 25px;
    gap: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
    border-radius: 15px;
    /* Add this line for rounded corners */
}

/* for all social containers*/
.socialContainer {
    width: 52px;
    height: 52px;
    background-color: rgb(44, 44, 44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: .3s;
    border-radius: 15px;
    /* Add this line for rounded corners */
}

/* instagram*/
.containerOne {
    background-color: #d62976;
    transition-duration: .3s;
}

/* youtube*/
.containerTwo {
    background-color: #ff0000;
    transition-duration: .3s;
}

/* linkdin*/
.containerThree {
    background-color: #0072b1;
    transition-duration: .3s;
}

/* Whatsapp*/
.containerFour {
    background-color: #128C7E;
    transition-duration: .3s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: .3s;
}

.socialSvg {
    width: 17px;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Existing CSS */
body {
    background-image: url('img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#reviews-container {
    width: 100%;
    max-width: 600px;
    height: auto;
    /* Default height */
    overflow: hidden;
    /* Hide overflow content */
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

#reviews {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    /* Enable vertical scrolling if content exceeds height */
    overflow-x: hidden;
    /* Hide horizontal overflow */
    padding-right: 15px;
    /* Space for scrollbar */
}

.review {
    display: none;
    /* Initially hide all reviews */
    text-align: center;
    opacity: 0;
    /* Initially hide reviews with opacity */
    transition: opacity 1s ease-in-out;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}

.review img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.review-content p {
    margin: 0;
    color: #333;
}

.review-content .author {
    font-weight: bold;
    margin-bottom: 5px;
}

.review-content .rating {
    color: #ffb400;
}

.review-content .text {
    margin-top: 5px;
    max-height: 60px;
    /* Default height for truncated text */
    overflow: auto;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Number of lines to show */
    -webkit-box-orient: vertical;
}

.read-more {
    margin-top: 10px;
    cursor: pointer;
    color: #ff4247;
    text-decoration: underline;
}

.expanded .review-content .text {
    max-height: none;
    -webkit-line-clamp: unset;
}

/* Additional Styles */
header,
nav,
footer {
    text-align: center;
}

.container {
    text-align: center;
}

.map-container {
    margin: 20px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #ff4247;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}


/* loader for */
.bear-container {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #382323;
    border: 3px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 10px;
  }
  
  /* From Uiverse.io by Shoh2008 */ 
  .loader {
    width: 160px;
    height: 185px;
    position: relative;
    background: #fff;
    border-radius: 100px 100px 0 0;
  }
  
  .loader:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 125px;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    background-image: radial-gradient(circle, #000 48%, transparent 55%),
      radial-gradient(circle, #000 48%, transparent 55%),
      radial-gradient(circle, #fff 30%, transparent 45%),
      radial-gradient(circle, #000 48%, transparent 51%),
      linear-gradient(#000 20px, transparent 0),
      linear-gradient(#cfecf9 60px, transparent 0),
      radial-gradient(circle, #cfecf9 50%, transparent 51%),
      radial-gradient(circle, #cfecf9 50%, transparent 51%);
    background-repeat: no-repeat;
    background-size: 16px 16px, 16px 16px, 10px 10px, 42px 42px, 12px 3px,
      50px 25px, 70px 70px, 70px 70px;
    background-position: 25px 10px, 55px 10px, 36px 44px, 50% 30px, 50% 85px,
      50% 50px, 50% 22px, 50% 45px;
    animation: faceLift 3s linear infinite alternate;
  }
  
  .loader:before {
    content: "";
    position: absolute;
    width: 140%;
    height: 125px;
    left: -20%;
    top: 0;
    background-image: radial-gradient(circle, #fff 48%, transparent 50%),
      radial-gradient(circle, #fff 48%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 65px 65px;
    background-position: 0px 12px, 145px 12px;
    animation: earLift 3s linear infinite alternate;
  }
  
  @keyframes faceLift {
    0% {
      transform: translateX(-60%);
    }
  
    100% {
      transform: translateX(-30%);
    }
  }
  
  @keyframes earLift {
    0% {
      transform: translateX(10px);
    }
  
    100% {
      transform: translateX(0px);
    }
  }
  
  /* scrolled too far */  






  