* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    /* font-family: "Titillium Web", serif; */

}

@font-face {
    font-family: 'Satoshi-Variable';
    src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
         url('../fonts/Satoshi-Variable.woff') format('woff'),
         url('../fonts/Satoshi-Variable.ttf') format('truetype');
         font-weight: 300 900;
         font-display: swap;
         font-style: normal;
  }
  
  
  /**
  * This is a variable font
  * You can controll variable axes as shown below:
  * font-variation-settings: 'wght' 900.0;
  *
  * available axes:
  
  * 'wght' (range from 300.0 to 900.0)
  
  */
  
  @font-face {
    font-family: 'Satoshi-VariableItalic';
    src: url('fonts/Satoshi-VariableItalic.woff2') format('woff2'),
         url('fonts/Satoshi-VariableItalic.woff') format('woff'),
         url('fonts/Satoshi-VariableItalic.ttf') format('truetype');
         font-weight: 300 900;
         font-display: swap;
         font-style: italic;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Light';
    src: url('fonts/Satoshi-Light.woff2') format('woff2'),
         url('fonts/Satoshi-Light.woff') format('woff'),
         url('fonts/Satoshi-Light.ttf') format('truetype');
         font-weight: 300;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Satoshi-LightItalic';
    src: url('fonts/Satoshi-LightItalic.woff2') format('woff2'),
         url('fonts/Satoshi-LightItalic.woff') format('woff'),
         url('fonts/Satoshi-LightItalic.ttf') format('truetype');
         font-weight: 300;
         font-display: swap;
         font-style: italic;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Regular';
    src: url('fonts/Satoshi-Regular.woff2') format('woff2'),
         url('fonts/Satoshi-Regular.woff') format('woff'),
         url('fonts/Satoshi-Regular.ttf') format('truetype');
         font-weight: 400;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Italic';
    src: url('fonts/Satoshi-Italic.woff2') format('woff2'),
         url('fonts/Satoshi-Italic.woff') format('woff'),
         url('fonts/Satoshi-Italic.ttf') format('truetype');
         font-weight: 400;
         font-display: swap;
         font-style: italic;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Medium';
    src: url('fonts/Satoshi-Medium.woff2') format('woff2'),
         url('fonts/Satoshi-Medium.woff') format('woff'),
         url('fonts/Satoshi-Medium.ttf') format('truetype');
         font-weight: 500;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Satoshi-MediumItalic';
    src: url('fonts/Satoshi-MediumItalic.woff2') format('woff2'),
         url('fonts/Satoshi-MediumItalic.woff') format('woff'),
         url('fonts/Satoshi-MediumItalic.ttf') format('truetype');
         font-weight: 500;
         font-display: swap;
         font-style: italic;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Bold';
    src: url('fonts/Satoshi-Bold.woff2') format('woff2'),
         url('fonts/Satoshi-Bold.woff') format('woff'),
         url('fonts/Satoshi-Bold.ttf') format('truetype');
         font-weight: 700;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Satoshi-BoldItalic';
    src: url('fonts/Satoshi-BoldItalic.woff2') format('woff2'),
         url('fonts/Satoshi-BoldItalic.woff') format('woff'),
         url('fonts/Satoshi-BoldItalic.ttf') format('truetype');
         font-weight: 700;
         font-display: swap;
         font-style: italic;
  }
  
  
  @font-face {
    font-family: 'Satoshi-Black';
    src: url('fonts/Satoshi-Black.woff2') format('woff2'),
         url('fonts/Satoshi-Black.woff') format('woff'),
         url('fonts/Satoshi-Black.ttf') format('truetype');
         font-weight: 900;
         font-display: swap;
         font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Satoshi-BlackItalic';
    src: url('fonts/Satoshi-BlackItalic.woff2') format('woff2'),
         url('fonts/Satoshi-BlackItalic.woff') format('woff'),
         url('fonts/Satoshi-BlackItalic.ttf') format('truetype');
         font-weight: 900;
         font-display: swap;
         font-style: italic;
  }
  
    
.headinfo {
    display: flex;
    justify-content: center;
    font-family: 'Satoshi-Bold', sans-serif;
    text-transform: uppercase;
    background-color: #034090;
    /* padding: 2px 0; */
    color: #ffffff;
    font-size: 9px;
    /* font-weight: thin; */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}
.headinfo div {
    padding: 7px 7px;
    /* border: .5px solid #3a68a5; */
    display: flex;
    align-items: center;
    cursor: pointer;
    /* text-align: center; */
}


.headinfo .university-admission{
    border-left: .5px solid #3a68a5;
    border-right: .5px solid #3a68a5;
}


.headinfo div svg {
    margin: 2px;
}

/* medical appointments start */

.medical-appointments {
    -webkit-tap-highlight-color: transparent;
    position: relative; /* Ensures absolute child positions correctly */
}

.doctor-list-under {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    max-height: 0; /* Initially hidden */
    overflow: hidden; /* Prevents content from being shown when hidden */
    flex-direction: column;
    background-color: rgba(255, 255, 255, 1);
    top: 28px;
    left: 0;
    color: #034090;
    text-align: left;
    border: 0px solid #ffffff00;
    width: 134px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 0 1px; /* Set padding to 0 initially */
}

.doctor-list-under div {
    border: none;
    width: 100%;
    padding: 17px 0px 17px 7px;
    border-bottom: 1px solid #3a68a542;
    background-color: rgb(255, 255, 255);
    font-size: 10px;
    cursor: pointer;
}

/* Show .doctor-list-under with sliding down effect */
.medical-appointments:hover .doctor-list-under {
    opacity: 1;
    visibility: visible;
    max-height: 136px; /* Expand to the full height */
}

.doctor-list-under div:hover {
    background-color: #efeef9;
    color: #1f1e1e;
}

/* medical appointments end */



/* university admission start */

.university-admission {
    -webkit-tap-highlight-color: transparent;
    position: relative; /* Ensures absolute child positions correctly */
}

.university-list-under {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    max-height: 0; /* Initially hidden */
    overflow: hidden; /* Prevents content from being shown when hidden */
    flex-direction: column;
    background-color: rgba(255, 255, 255, 1);
    top: 28px;
    left: 0;
    color: #034090;
    text-align: left;
    border: 0px solid #ffffff00;
    width: 134px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 0 1px; /* Set padding to 0 initially */
}

.university-list-under div {
    border: none;
    width: 100%;
    padding: 17px 0px 17px 7px;
    border-bottom: 1px solid #3a68a542;
    background-color: rgb(255, 255, 255);
    font-size: 10px;
    cursor: pointer;
}

/* Show .university-list-under with sliding down effect */
.university-admission:hover .university-list-under {
    opacity: 1;
    visibility: visible;
    max-height: 372px; /* Expand to the full height */
}

.university-list-under div:hover {
    background-color: #efeef9;
    color: #1f1e1e;
}

/* university admission end */



.container {
    /* background-color: #3a68a5; */
    margin: 33px 0 0 0;
}

.container header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.5px solid  #83abe096;
}

.container .logo {
    margin: 0 0 0 10px;
    cursor: pointer;
}

.container header .contactandmenu {
    display: flex;
    margin: 0 10px 0 0;
}

.contactandmenu .contactno {
    padding: 20px;
    cursor: pointer;
}
.contactandmenu .threedot {
    padding:  20px;
    cursor: pointer;
}


/* slider.start */

.slider {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -400px;
    width: 90vw;
    max-width: 400px;
    transition: right 0.4s ease-in-out;
    z-index: 40;
}

.darkscreen {
    position: fixed;
    background-color: #000000c7;
    top: 0;
    bottom: 0;
    width: 100%;
    display: none;
    transition: right 0.4s ease-in-out;
    z-index: 20;
}

.sliderholder {
    /* margin: 20px 0 0 0; */
    text-transform: capitalize;
    /* font-family: 'Satoshi-Bold', sans-serif; */
    font-family: "Titillium Web", serif;
    font-weight: 600;
    letter-spacing: 1px;
    overflow-y: auto; /* Enables vertical scrolling */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    height: 90%;
}

.sliderholder div {
    padding: 20px 0 20px 29px;
    color: #03306b;
    border-bottom: 0.5px solid #3a68a52d;
    cursor: pointer;
}

.sliderholder div:hover {
    padding: 20px 0 20px 29px;
    color: #ffffff;
    background-color: #8c9676d0;
    border-bottom: 0.5px solid #3a68a52d;
}

.slidercross {
    display: flex;
    justify-content: space-between ;
    align-items: center;
    border-bottom: 0.5px solid  #83abe051;
    padding: 0 0 15px 0;
}

.slidercross .logoslider {
    margin: 8px 0 0 10px;
}

.slidercross .crosssvg svg{
    padding: 16px;
    cursor: pointer;
    stroke:#034090; 
    /* background-color: #03306b; */
    margin: 0 5px 0 0;
}

.slidercross .crosssvg svg:hover {
    padding: 16px;
    cursor: pointer;
    stroke: #ffffff;
    background-color: #8c9676d0;
}
/* slider.end */


.customerservice {
    position: fixed;
    right: -58px;
    bottom: 80px;
    transition: right 0.5s ease-in-out, width 0.3s ease-in-out;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.customerservice svg:active{
    width: 45px;
}

.customerservice .chatbox {
    font-size: 12px;
    font-family: 'Satoshi-Bold', sans-serif;
    text-align: center;
    text-transform: uppercase;
    color: #a42a3b;
}


/*  form popup editing */

/* body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
} */

/* Overlay that darkens the background */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark background */
    display: none; /* Hidden by default */
    z-index: 20; /* Positioned below the form */
    transition: opacity 0.3s ease;
    opacity: 0; /* Initially invisible */
  }
  
  /* Form container styles */
  .form-container {
    background: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px #0340901a;
    width: 100%;
    max-width: 300px;
    font-family: 'Satoshi-Bold', sans-serif;
    text-transform: capitalize;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Positioned above the overlay */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .form-container.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  .form-container.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  
  .overlay.show {
    display: block;
    opacity: 1;
  }
  
  /* Disable scrolling */
  .no-scroll {
    overflow: hidden;
  }
  
.form-header {
    text-align: center;
    margin-bottom: 15px;
}

.svg-placeholder {
    width: 40px;
    height: 40px;
    background: #ddd;
    margin: 0 auto 10px;
    border-radius: 50%;
}

h2 {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
    color: #333;
}

.input-group {
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    padding: 12px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

textarea.form-input {
    height: 70px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #a22e47;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #7e3e45;
}

.error {
    border: 0.5px solid rgba(255, 0, 0, 0.328) !important;
    background: #ffe6e6;
}

.crosssvgform svg{
    width: 20px;
    /* z-index: ; */
    stroke: #0000006a;
    /* background-color: #0056b3; */
    position: relative;
    right: -145px;
    top: -10px;
    cursor: pointer;
}


/* form popup editing end */

.slideshowcontainer {
    width: 100%;
    background-color: yellow;
    position: relative; /* Ensures absolute positioning inside */
}

.slideshowcontainer .imgslidecont {
    position: relative; /* Needed for absolute positioning of child elements */
    width: 100%;
    height: 100%; /* Adjust as needed */
}

.slideshowcontainer .imgslidecont img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
    filter: brightness(60%);
    /* filter: blur(0.6px) brightness(60%); */

}


.thaicarediagotext {
    margin: 10px 0 0 14px;
    font-size: 15px;
    font-weight: 600;

}
.thaicarediagotext2 {
    margin: 0 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
}
.thaicarediagotext3 {
    margin: 5px 0 0 14px;
    font-size: 14px;
    font-weight: 300;
    /* width: 70%; */
    line-height: 13px;
}

.textoverimage {
    z-index: 8;
    color: rgb(255, 255, 255);
    position: relative;
    top: 0;
    width: 100%;
    font-family: "Titillium Web", serif;
}





.doctor-list {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #3a68a52d;
    transition: max-height 0.2s ease-out;
}

.doctor-list li {
    /* background: #f1f1f1; */
    padding: 10px 0;
    color: #03306bd4;
    font-size: 14px;
    margin: 0 0 0 50px;
    border-bottom: 1px solid #3a68a52d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.doctor-list li:active {
    color: #8c9676d0;
}


.doctor-list1 {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #3a68a52d;
    transition: max-height 0.2s ease-out;
}

.doctor-list1 li {
    /* background: #f1f1f1; */
    padding: 10px 0;
    color: #03306bd4;
    font-size: 14px;
    margin: 0 0 0 50px;
    border-bottom: 1px solid #3a68a52d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.doctor-list1 li:active {
    color: #8c9676d0;
}


.doctor-list2 {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #3a68a52d;
    transition: max-height 0.2s ease-out;
}

.doctor-list2 li {
    /* background: #f1f1f1; */
    padding: 10px 0;
    color: #03306bd4;
    font-size: 14px;
    margin: 0 0 0 50px;
    border-bottom: 1px solid #3a68a52d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.doctor-list2 li:active {
    color: #8c9676d0;


}
.doctor-list4 {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #3a68a52d;
    transition: max-height 0.2s ease-out;
}

.doctor-list4 li {
    /* background: #f1f1f1; */
    padding: 10px 0;
    color: #03306bd4;
    font-size: 14px;
    margin: 0 0 0 50px;
    border-bottom: 1px solid #3a68a52d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.doctor-list4 li:active {
    color: #8c9676d0;


}
.doctor-list3 {
    /* list-style: none; */
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #3a68a52d;
    transition: max-height 0.2s ease-out;
}

.doctor-list3 li {
    /* background: #f1f1f1; */
    padding: 10px 0;
    color: #03306bd4;
    font-size: 14px;
    margin: 0 0 0 28px;
    border-bottom: 1px solid #3a68a52d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.doctor-list3 li:active {
    color: #8c9676d0;
}

.container2ndflex {
    display: flex;
    justify-content: center;
    margin: 5px;
}

.container2nd {
    width: 100%;
    margin: 60% 0 0 0;
    /* padding: 5px; */
}


/* mobile */
@media screen and (max-width: 480px) {
    .container2nd {
        /* width: 100%; */
        margin: 44% 0 0 0;
    }

    .consultantandowner {
        font-size: 14px;
        font-weight: 200;
        width: 70%;
    }
}


/* tablets */
@media screen and (min-width: 481px) and (max-width: 1024px) {
    .container2nd {
        /* width: 100%; */
        margin: 58% 0 0 0;
    }
}

/* laptops */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
    .container2nd {
        /* width: 100%; */
        margin: 70% 0 0 0;
    }
}


/* large monitor */
@media screen and (min-width: 1441px) {
    .container2nd {
        /* width: 100%; */
        margin: 65% 0 0 0;
    }
}

.ownerimg {
    position: relative;
    width: 100%;
}

.ownerimg img {
    width: 100%;
    border-radius: 7px;
}


.consultmamun {
    position: absolute;
    top: 0;
    left: 0px;
    color: #ffffff;
    /* z-index: 100; */
    text-transform: capitalize;
    font-family: "Titillium Web", serif;
    padding: 10px 10px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
}

.consultantandowner {
    /* font-size: 1rem; */
    font-weight: 200;
    /* letter-spacing: 0px; */
    /* line-height: 14px; */
    width: 70%;

}
.consultantandownerdegree {
    font-size: 13px;
    font-weight: 500;
    /* letter-spacing: 0px; */
    /* line-height: 14px; */
    color: #ffffff;
    margin: 28px 0 0 0;
    background-color: #444f5c8e;
    width: 350px;
    padding: 2px;
}


.affiliation-container {
    /* background: white; */
    padding: 40px 5px 0 5px;
    border-radius: 12px;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
    text-align: left;
    max-width: 600px;
    /* font-family: 'Satoshi-Bold', sans-serif; */
    font-family: "Titillium Web", serif;
    text-transform: capitalize;
}
.affiliation-title {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: none;
}
.affiliation-list {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}
.affiliation-item {
    font-size: 16px;
    color: #253544;
    margin: 10px 0;
    /* font-family: 'Satoshi-Medium', sans-serif; */
    font-family: "Titillium Web", serif;
}

.affiliate-hospitals-list-details {
    padding: 30px 0 0 10px;
    font-family: "Titillium Web", sans-serif;
    text-transform: capitalize;
    color: #2c3e50;
}

.affiliate-hospitals-list-details img{
    width: 170px;
}


.hospial-catalogue {
    background-color: #fff;
    height: 40vw;
    max-height: 300px;
    width: 100%;
    max-width: 700px;
    position: relative;
    margin: 40px 0 40px 0;
}

.hospial-catalogue img {
    width: 35%;
}


.hospial-catalogue-img-Samitivej-hospital img{
    position: absolute;

}

.hospial-catalogue-img-phyathai2-hospital img{
    position: absolute;
    right: 0;
}

.hospial-catalogue-img-ruamjairak-hospital img{
    position: absolute;
    left: 0;
    bottom: 0;
}

.hospial-catalogue-img-thonburi-bamrungmuang-hospital img{
    position: absolute;
    right: 0;
    bottom: 0;
}

.hospial-catalogue-img-bangkok-hospital-pattaya img{
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translate(0%,-50%)
}

.hospial-catalogue-img-panacee-medical-center-hospital img{
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translate(0%,-50%)
}


.img-Samitivej-Sukhumvit-Hospital-and-Samitivej-Srinakarin-Hospital-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(181, 176, 129), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}

.img-Phyathai-2-Hospital{
    margin: 44px 0 0 0;
}


.img-Phyathai-2-Hospital-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(234, 248, 240), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}

.img-Phyathai-2-Hospital-holder img {
    height: 55px;
}

.img-ruamjairak-hospital-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    margin: 37px 0 0 0;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(168, 201, 217), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}
.img-thonburi-bamrungmuang-hospital-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    margin: 37px 0 0 0;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(242, 232, 140), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}
.img-bangkok-hospital-pattaya-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    margin: 37px 0 0 0;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(177, 236, 240), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}
.img-panacee-medical-center-hospital-holder {
    width: 400px;
    max-width: 95%;
    padding: 5px 0 5px 5px;
    margin: 37px 0 0 0;
    /* height: 70px; */
    /* background: linear-gradient(to right, rgb(223, 222, 213), rgba(255, 0, 0, 0)); */
    border-top-right-radius: 38px;
    border-top-left-radius: 1px;
    border-bottom-right-radius: 38px;  
    border-bottom-left-radius: 1px;  
}





.content-samitivej {
    max-width: 600px;
  }
  
  .full-text-samitivej, .full-text-phyathai, .full-text-ruamjairak, .full-text-bamrungmuang, .full-text-pattaya, .full-text-panacee {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 1s ease, max-height 1s ease;
  }
  
  .show-samitivej {
    opacity: 1;
    max-height: 3700px; /* Adjust based on content length */
  }
  .show-phyathai {
    opacity: 1;
    max-height: 2500px; /* Adjust based on content length */
  }
  .show-ruamjairak {
    opacity: 1;
    max-height: 2500px; /* Adjust based on content length */
  }
  .show-bamrungmuang {
    opacity: 1;
    max-height: 2500px; /* Adjust based on content length */
  }
  .show-pattaya {
    opacity: 1;
    max-height: 2500px; /* Adjust based on content length */
  }
  .show-panacee {
    opacity: 1;
    max-height: 2500px; /* Adjust based on content length */
  }
  
  .see-more-btn-samitivej, .see-more-btn-phyathai, .see-more-btn-ruamjairak, .see-more-btn-bamrungmuang, .see-more-btn-pattaya,  .see-more-btn-panacee {
    display: inline-block;
    font-family: "Titillium Web", sans-serif;
    margin-top: 10px;
    padding: 8px 12px;
    /* background: linear-gradient(90deg, #ff7eb3, #ff758c); */
    background: linear-gradient(90deg, #6b69ff, #32196c);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .see-more-btn-samitivej:hover, .see-more-btn-phyathai:hover, .see-more-btn-ruamjairak:hover, .see-more-btn-bamrungmuang:hover, .see-more-btn-pattaya:hover, .see-more-btn-panacee:hover {
    /* background: linear-gradient(90deg, #ff758c, #ff7eb3); */
    background: linear-gradient(90deg, #32196c, #6b69ff);
    transform: scale(1.05);
  }
  
  .hospital-name-samitivej {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 25px 0;
    /* line-height: 25px; */
  }

   .firstone {
    font-size: 20px;
    font-weight: bold;
  }

  .key-services-lists ul {
    list-style-type: disc; 
    padding-left: 20px; 
}


  .samitivej-key-services {
    font-size: 20px;
    margin: 20px 0 10px 0;
    font-weight: 600;
  }


  .go-up {
    background-color: #fff;
    width: 20px;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
    position: fixed;
    /* z-index: 1; */
    bottom: 10px;
    right: 10px;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
  }

  .contact-cards {
    position: fixed;
    top: 50px;
    left: 60%;
    width: 200px;
    height: 300px;
    /* padding: 10px; */
    background-color: #fff;
    z-index: 10;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(218, 212, 212, 0.6); /* Soft shadow */
    font-family: "Titillium Web", serif;
    transform: translate(-60%, 0) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .contact-cards.show {
    opacity: 1;
    transform: translate(-60%, 0) scale(1);
    pointer-events: auto;
}

/* Disable scrolling when modal is open */
body.no-scroll {
    overflow: hidden;
}


  .contact-cards .flexingthiscads{
    display: flex;
    justify-content: center;
  }

  .contact-cards .conatext {
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    background-color: #034090;
    padding: 5px 0;
    border-radius: 5px 5px 0 0;
    /* border-bottom: 0.5px solid #0000002b; */
    text-transform: capitalize;
  }

  .contact-cards .contatiner {
    width: 100%;
    /* height: 400px; */
    margin: 5px 8px;
  }

  .contact-cards .contatiner .canhelp {
    font-family: sans-serif;
    text-transform: capitalize;
    font-size: 13px;
    line-height: 16px;
    background-color: #F0F0F0;
    padding: 5px 10px;
    margin: 10px 0 0 0;
    border-radius: 2px 20px 20px 20px;
    width: 150px;
    font-weight: 400;
  }

  .whatasappflex {
    display: flex;
    justify-content: center;
  }

  .whatsappnum-messenegr {
    display: flex;
    color: #2658ff;
    background-color: #ffffff;
    padding: 0 5px;
    justify-content: left;
    align-items: center;
    font-weight: 600;
    width: 150px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(218, 212, 212, 0.6); /* Soft shadow */
    margin: 6px 0;
    text-transform: capitalize;
    cursor: pointer;
  }

  .whatsappnum-messenegr svg{
    width: 34px;
  }

  .whatsappnum {
    display: flex;
    color: #fff;
    background-color: #26D367;
    padding: 0 5px;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    width: 150px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(218, 212, 212, 0.6); /* Soft shadow */
    margin: 6px 0;
    cursor: pointer;
  }

  .whatsappnum svg{
    width: 34px;
  }

  .auto-loader {
    /* width: 100%;
    height: 100%; */
    background-color: rgb(255, 255, 255);
    z-index: 100;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  }

  .logo-loader {
    width: 100px;
    height: 100px;
    /* background-color: rgb(66, 71, 57); */
    /* transform: translate(-50%,-50%);
    position: relative;
    top: 50%; */
    /* border: 2px solid; */
    /* border-color: red green blue yellow; */
  }

  .loader-round {
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-color: #0056b3 #0056b3 #0056b3 #e9ecf087;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.auto-loader.hide {
    opacity: 0;
    visibility: hidden;
}
