* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
}

body {
    /* display: flex; */
    font-family: "Lexend", sans-serif;
}

.background {
    justify-content: center;
    padding: 80px 80px;
}

@media screen and (max-width: 768px) {
    .background {
        justify-content: center;
        padding: 10px 20px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .background {
        justify-content: center;
        padding: 10px 20px;
    }
}


/* hero section */
.hero-container {
    width: 100%;
    max-width: 1400px;
    height: 520px;
    background-color: #22919A;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    margin: 50px auto;
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    height: 100%;
}

.left-content {
    width: 50%;
    padding: 80px 0px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
}

.right-content {
    width: 50%;
    position: relative;
}

.hero-title {
    color: white;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: "Lexend", sans-serif;
}

.hero-subtitle {
    color: white;
    font-size: 22px;
    margin-bottom: 40px;
    font-family: "Lexend", sans-serif;
}

.search-container {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.location-input {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px 0 0 10px;
    padding: 0 15px;
    width: 35%;
    height: 60px;
    border-right: 1px solid #ddd;
}

.location-input svg {
    margin-right: 10px;
    fill: #000;
}

.location-input input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.search-input {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0 15px;
    width: 65%;
    height: 60px;
    border-radius: 0px 8px 8px 0px;
}

.search-input svg {
    margin-right: 10px;
    fill: #000;
}

.search-input input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.search-button {
    background-color: #0D656C;
    color: white;
    border: none;
    border-radius: 8px;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
    margin-left: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "Lexend", sans-serif;
}

.search-button:hover {
    background-color: #0a4f54;
}

.doctor-image {
    position: absolute;
    bottom: 0;
    right: 40px;
    height: 90%;
}

.circle-background {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    right: -100px;
    bottom: -100px;
    z-index: 10;
}

.inner-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    right: -50px;
    bottom: -50px;
    z-index: 15;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .hero-container {
        height: 450px;
        margin: 30px auto;
    }

    .left-content {
        padding: 40px 0px 40px 30px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .search-container {
        width: 500px;
    }

    .location-input,
    .search-input {
        height: 50px;
    }

    .search-button {
        height: 50px;
        padding: 0 20px;
        font-size: 16px;
    }

    .doctor-image {
        height: 80%;
        right: 0px;
        top: 0;
    }

    .circle-background {
        width: 500px;
        height: 500px;
        right: -80px;
        bottom: -80px;
    }

    .inner-circle {
        width: 400px;
        height: 400px;
        right: -40px;
        bottom: -40px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .hero-container {
        height: auto;
        border-radius: 20px;
        margin: 20px auto;
        padding-bottom: 20px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .left-content {
        width: 100%;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }

    .right-content {
        /* width: 100%; */
        /* height: 200px; */
        /* position: relative; */
        visibility: hidden;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .search-container {
        flex-direction: column;
        max-width: 100%;
        gap: 10px;
    }

    .location-input {
        width: 100%;
        border-radius: 8px;
        border-right: none;
        height: 45px;
    }

    .search-input {
        width: 100%;
        border-radius: 8px;
        height: 45px;
    }

    .search-button {
        width: 100%;
        height: 45px;
        font-size: 16px;
        margin-left: 0px;
        border-radius: 8px;
    }

    .doctor-image {
        height: 100%;
        right: 0;
        left: 0;
        margin: 0 auto;
        max-width: 80%;
    }

    .circle-background {
        width: 300px;
        height: 300px;
        right: -50px;
        bottom: -50px;
    }

    .inner-circle {
        width: 250px;
        height: 250px;
        right: -25px;
        bottom: -25px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .hero-container {
        margin: 15px 0px;
        border-radius: 15px;
    }

    .left-content {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .location-input input,
    .search-input input {
        font-size: 14px;
    }

    .search-button {
        font-size: 14px;
        margin-left: 0px;
    }

    .right-content {
        height: 0px;
    }

    .doctor-image {
        max-width: 90%;
    }

    .circle-background {
        width: 200px;
        height: 200px;
        right: -30px;
        bottom: -30px;
    }

    .inner-circle {
        width: 150px;
        height: 150px;
        right: -15px;
        bottom: -15px;
    }
}

/* hero section */

/* call to Action */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.card {
    width: 100%;
    max-width: 380px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    padding-bottom: 25px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 250px;
    /* object-fit: cover; */
    border-radius: 12px 12px 0 0;
}

.card-content {
    padding: 10px 25px;
}

.card-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: "Lexend", sans-serif;
}

.card-title {
    color: #222;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: "Lexend", sans-serif;
}

.card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    height: auto;
    font-family: "Lexend", sans-serif;
}

.card-button {
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 25px;
    transition: background-color 0.2s;
    font-family: "Lexend", sans-serif;
}

.card-button:hover {
    background-color: #006666;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .cards-container {
        gap: 20px;
        padding: 0 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        max-width: 400px;
        flex-basis: calc(50% - 10px);
    }

    .card-image {
        height: 200px;

    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 13px;
        height: auto;
    }

    .card-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-left: 20px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
    }

    .card {
        max-width: 100%;
        width: 90%;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 10px 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-description {
        font-size: 12px;
        height: auto;
    }

    .card-button {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 10px;
        font-size: 14px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .cards-container {
        padding: 0 5px;
    }

    .card {
        width: 95%;
    }

    .card-image {
        height: 160px;
        /* object-fit: scale-down; */

    }

    .card-content {
        padding: 8px 15px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .card-description {
        font-size: 11px;
        height: auto;
        margin-bottom: 20px;
    }

    .card-button {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding: 8px;
        font-size: 12px;
    }
}

/* call to Action */


/* department section */
.heading {
    font-size: 32px;
    font-weight: bold;
    color: #0e1e50;
    margin: 50px 0px;
    text-align: center;
    font-family: "Lexend", sans-serif;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    padding: 0x 0px;
    box-sizing: border-box;
}

.slider {
    width: calc(100% - 120px);
    overflow: hidden;
}

.slides-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 calc((100% - 60px) / 3);
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.slide:hover {
    transform: translateY(-5px);
}

.slide-image {
    width: 100%;
    height: 220px;
    /* object-fit: cover; */
}

.slide-content {
    padding: 25px 25px 30px;
}

.slide-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    font-family: "Lexend", sans-serif;
}

.slide-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    height: 120px;
    font-family: "Lexend", sans-serif;
}

.learn-more {
    display: flex;
    align-items: center;
    color: #003366;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Lexend", sans-serif;
}

.learn-more:hover {
    color: #008080;
}

.learn-more svg {
    margin-left: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s;
}

.arrow:hover {
    opacity: 0.8;
}

.arrow svg {
    width: 30px;
    height: 30px;
    fill: #008080;
}

.prev-arrow {
    left: -60px;
}

.next-arrow {
    right: -60px;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .heading {
        font-size: 30px;
        margin: 40px 0;
    }

    .slider-container {
        max-width: 900px;
        padding: 0 15px;
    }

    .slider {
        width: calc(100% - 80px);
    }

    .slide {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .slide-image {
        height: 180px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-description {
        font-size: 14px;
        height: 100px;
    }

    .learn-more {
        font-size: 14px;
    }

    .arrow {
        width: 40px;
        height: 40px;
    }

    .arrow svg {
        width: 25px;
        height: 25px;
    }

    .prev-arrow {
        left: -40px;
    }

    .next-arrow {
        right: -40px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .heading {
        font-size: 24px;
        margin: 30px 0;
    }

    .slider-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .slider {
        width: calc(100% - 60px);
    }

    .slides-track {
        gap: 15px;
    }

    .slide {
        flex: 0 0 calc(100% - 15px);
    }

    .slide-image {
        height: 230px;
    }

    .slide-content {
        padding: 15px 20px 20px;
    }

    .slide-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .slide-description {
        font-size: 13px;
        height: auto;
        margin-bottom: 15px;
    }

    .learn-more {
        font-size: 13px;
    }

    .arrow {
        width: 30px;
        height: 30px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }

    .prev-arrow {
        left: -5px;
    }

    .next-arrow {
        right: -5px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .heading {
        font-size: 20px;
        margin: 20px 0;
    }

    .slider-container {
        padding: 0 5px;
    }

    .slider {
        width: calc(100% - 40px);
    }

    .slides-track {
        gap: 10px;
    }

    .slide {
        flex: 0 0 calc(100% - 10px);
    }

    .slide-image {
        height: 180px;
    }

    .slide-content {
        padding: 10px 15px 15px;
    }

    .slide-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .slide-description {
        font-size: 12px;
        height: 60px;
        margin-bottom: 10px;
    }

    .learn-more {
        font-size: 12px;
    }

    .learn-more svg {
        width: 16px;
        height: 16px;
    }

    .arrow {
        width: 30px;
        height: 30px;
    }

    .arrow svg {
        width: 16px;
        height: 16px;
    }

    .prev-arrow {
        left: -20px;
    }

    .next-arrow {
        right: -20px;
    }
}

/* department section */

/* Talk to Ai */
.mainai {
    background-image: url('../photos/aiban.png');
    background-repeat: no-repeat;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    margin: 20px auto;
    max-width: 1400px;
    width: calc(100% - 40px);
}

.medical-ai-wrapper {
    position: relative;
    width: 100%;
    background: rgba(34, 145, 154, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    overflow: hidden;
    height: 420px;
    border-radius: 32px;
}

.primary-content-zone {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.messaging-block {
    color: white;
}

.main-headline {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-family: "Lexend", sans-serif;
}

.subtitle-container {
    margin-bottom: 2.5rem;
}

.primary-subtitle,
.secondary-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    font-weight: 400;
    font-family: "Lexend", sans-serif;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #26a69a;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-family: "Lexend", sans-serif;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.visual-showcase {
    position: relative;
    flex: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.portrait-outline {
    width: clamp(300px, 40vw, 500px);
    height: clamp(400px, 50vh, 600px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 200px 200px 150px 150px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portrait-outline::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 20%;
    width: 15%;
    height: 8%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 40px 0 0 rgba(255, 255, 255, 0.15);
}

.portrait-outline::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 3%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.decorative-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: drift 6s ease-in-out infinite;
}

.circle-alpha {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.circle-beta {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.circle-gamma {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.circle-delta {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .mainai {
        margin: 15px auto;
        /* Adjust vertical margin for tablets */
        width: calc(100% - 30px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        flex-direction: column;
        height: auto;
        /* Allow height to adjust to content */
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
        /* Center inline or inline-block children */
    }

    .primary-content-zone {
        max-width: 100%;
        /* Allow text content to take full width */
        padding-right: 0;
        /* Remove desktop-specific padding */
        padding-bottom: 40px;
        /* Add space between text and visual showcase */
        text-align: center;
        /* Center text content and button */
    }

    .messaging-block {
        /* Text alignment will be handled by .primary-content-zone or .medical-ai-wrapper */
    }

    .main-headline {
        /* Original: clamp(2.5rem, 5vw, 2rem) effectively 2.5rem. Adjust for tablets. */
        font-size: clamp(2rem, 6vw, 2.5rem);
        /* Min 2rem, ideal 6vw, max 2.5rem */
    }

    .primary-subtitle,
    .secondary-subtitle {
        /* Original: clamp(1.1rem, 2vw, 1.25rem). Adjust for tablets if needed. */
        font-size: clamp(1rem, 2.5vw, 1.15rem);
    }

    .action-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .visual-showcase {
        flex: none;
        /* Remove flex-grow behavior */
        width: 100%;
        max-width: 500px;
        /* Max width for the visual showcase area */
        margin-left: auto;
        margin-right: auto;
        height: auto;
        /* Let content (portrait-outline) define its height */
        /* visual-showcase specific height: 100vh is removed for stacked layout */
        /* display:flex, align-items:center, justify-content:center are still good */
    }

    .portrait-outline {
        /* Adjust clamp for tablets if the desktop one is too large */
        /* Original: width: clamp(300px, 40vw, 500px); height: clamp(400px, 50vh, 600px); */
        /* This might still be okay, or slightly smaller: */
        width: clamp(280px, 50vw, 450px);
        height: clamp(380px, 55vh, 500px);
        margin: 0 auto;
        /* Ensure it's centered if visual-showcase is wider */
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .mainai {
        margin: 10px auto;
        /* Adjust vertical margin for phones */
        width: calc(100% - 20px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        padding-left: 4%;
        /* Slightly adjust side padding */
        padding-right: 4%;
    }

    .main-headline {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        /* Smaller for mobile */
        margin-bottom: 1.5rem;
    }

    .subtitle-container {
        margin-bottom: 2rem;
    }

    .primary-subtitle,
    .secondary-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .action-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .portrait-outline {
        width: clamp(240px, 65vw, 350px);
        height: clamp(320px, 70vh, 420px);
        /* vh might be tricky, using vw or fixed could be safer for consistency */
        /* Alternative height based on vw or aspect ratio might be more stable: */
        /* height: clamp(300px, 80vw, 400px); */
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .mainai {
        border-radius: 24px;
        /* Slightly smaller border radius for smaller screens */
        margin: 8px auto;
        /* Adjust vertical margin for small phones */
        width: calc(100% - 16px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        border-radius: 24px;
        /* Apply border-radius here as well */
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .primary-content-zone {
        padding-bottom: 30px;
    }

    .main-headline {
        font-size: clamp(1.7rem, 8vw, 2rem);
    }

    .primary-subtitle,
    .secondary-subtitle {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }

    .action-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: auto;
        /* Ensure it doesn't go full width unless intended */
        max-width: 90%;
        /* Prevent button from being overly wide */
    }

    .action-btn i {
        font-size: 0.9em;
        /* Scale icon slightly with button font size */
    }

    .portrait-outline {
        width: clamp(200px, 70vw, 280px);
        height: clamp(280px, 85vw, 360px);
        /* Adjusted for very small screens */
        border-radius: 120px 120px 80px 80px;
        /* Adjust border radius if proportions change significantly */
    }

    /* Optional: Scale down or hide decorative circles on very small screens if cluttered */
    .decorative-circle {
        transform: scale(0.8);
        /* Example: make them smaller */
        /* animation: none; /* Optionally disable animation for performance/simplicity */
    }

    .circle-alpha {
        width: 50px;
        height: 50px;
    }

    .circle-beta {
        width: 35px;
        height: 35px;
    }

    .circle-gamma {
        width: 60px;
        height: 60px;
    }

    .circle-delta {
        width: 40px;
        height: 40px;
    }
}

/* Talk to Ai */


/* popup ai */
.ai-chat-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.25);
    /* Darker overlay for better contrast */
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.modal-content {
    background-color: #151B2B;
    /* Keep background color */
    padding: 0;
    border-radius: 20px;
    /* Keep border radius */
    width: 350px;
    /* Fixed width */
    height: 600px;
    /* Fixed height for chat */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
    /* Adjusted shadow */
    position: relative;
    /* Changed from fixed to relative */
    display: flex;
    flex-direction: column;
    font-family: "Lexend", sans-serif;
    /* Use the site's font */
    overflow: hidden;
    color: #ffffff;
    /* Default text color */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .modal-container {
        padding-right: 15px;
    }

    .modal-content {
        width: 320px;
        /* Slightly smaller on tablets */
    }
}

@media screen and (max-width: 480px) {
    .modal-container {
        padding-right: 10px;
    }

    .modal-content {
        width: 300px;
        /* Even smaller on mobile */
    }
}

.modal-header {
    background: #151B2B;
    /* Keep gradient */
    color: white;
    padding: 20px 18px;
    /* Further decreased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: 80px;
    text-align: right;
    position: relative;
    /* Added for close button positioning */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

.close-button:hover {
    transform: scale(1.1);
    color: #ff4444;
}

.modal-logo {
    height: 28px;
    /* Further decreased logo size */
    vertical-align: middle;
    margin: 0 auto;
    /* Align with text/icon */
}

.modal-body {
    padding: 0px 20px;
    /* Further decreased padding inside the body */
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Lexend', sans-serif;
    /* Use the site's font */
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    padding: 10px 0;
    display: none;
    /* Hidden initially */
}

.chat-messages {
    overflow-y: auto;
}

/* Scrollbar Track */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

/* Scrollbar Thumb */
.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
    border-radius: 4px;
}

/* Scrollbar Thumb on Hover */
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
}

/* Scrollbar Track Background */
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.modal-avatar-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Further decreased space between avatars */
    margin-bottom: 15px;
    /* Further decreased space below avatars */
}

.modal-avatar {
    border-radius: 50%;
    /* Make it circular */
    background: linear-gradient(to bottom right, #8d76f5, #6ef0ff);
    /* Keep gradient background for avatars */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    /* Further decreased padding inside avatar circle */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    /* Adjusted shadow on avatars */
    width: 40px;
    height: 40px;
}

.modal-avatar img {
    width: 100%;
    /* Image takes full width of container */
    height: 100%;
    /* Image takes full height of container */
    object-fit: contain;
    /* Ensure image fits without stretching */
}

.user-avatar {
    background: linear-gradient(135deg, #7FFFD4 0%, #565CFE 50%, #7DF6FF 100%);
}

.chat-avatar {
    background: #273457;
    /* Chat avatar gradient (reversed for contrast) */
    color: #84CEED;
}

.modal-title {
    font-size: 17px;
    /* Further decreased title font size */
    margin-bottom: 12px;
    /* Adjusted space below title */
    color: #ffffff;
    /* White color */
    font-weight: 700;
    /* Bold */
}

.modal-subtitle {
    font-size: 12px;
    /* Further decreased subtitle font size */
    color: #d0d0d0;
    /* Keep lighter gray color */
    margin-bottom: 25px;
    /* Further decreased space below subtitle */
    line-height: 1.5;
    /* Adjusted line height */
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Further decreased space between buttons */
    width: 100%;
    /* Buttons take full width */
    margin-bottom: 10px;
    /* Further decreased space below buttons */
}

.symptom-button {
    padding: 10px;
    /* Further decreased padding inside buttons */
    border: none;
    /* No border */
    border-radius: 10px;
    /* Further decreased rounded corners */
    background-color: #1e1e35;
    /* Keep darker button background */
    color: #ffffff;
    /* White text */
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    /* Keep button text size */
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    /* Adjusted shadow on buttons */
}

.symptom-button i {
    margin-right: 12px;
    /* Further decreased space between icon and text */
    color: #00ffff;
    /* Cyan icon color */
    font-size: 20px;
    /* Further decreased icon size */
}

.symptom-button b {
    font-weight: 700;
    /* Bold symptom text */
}

.symptom-button:hover {
    background-color: #2e2e48;
    /* Darker hover effect */
}

.modal-input-area {
    display: flex;
    gap: 12px;
    /* Further decreased space between input and button */
    width: 100%;
    /* Input area takes full width */
    align-items: center;
    padding: 10px 0;
}

.modal-input-area input[type="text"] {
    flex-grow: 1;
    /* Input takes available space */
    padding: 8px;
    /* Further decreased padding inside input */
    border: none;
    /* No border */
    border-radius: 8px;
    /* Adjusted rounded corners */
    background-color: #2a2a44;
    /* Keep darker input background */
    color: #ffffff;
    /* White text */
    font-size: 12px;
    /* Keep input text size */
    outline: none;
    /* Remove default outline */
}

.modal-input-area input[type="text"]::placeholder {
    color: #b0b0b0;
    /* Keep placeholder text color */
}

.send-button {
    padding: 5px 18px;
    /* Further decreased padding inside send button */
    background: linear-gradient(to right, #5a5ae5, #00e0ff);
    /* Keep gradient */
    color: white;
    border: none;
    border-radius: 8px;
    /* Adjusted rounded corners */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    /* Adjusted shadow on button */
}

.send-button i {
    font-size: 20px;
    /* Further decreased send icon size */
}

.send-button:hover {
    opacity: 0.9;
    /* Slight opacity change on hover */
}

.modal-footer {
    font-size: 12px;
    /* Further decreased footer text size */
    color: #888888;
    /* Keep color */
    text-align: center;
    padding: 5px;
    /* Further decreased padding around footer text */
    border-top: 1px solid #2a2a44;
    /* Keep border top color */
}

/* Chat message styles */
.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
}

.message.bot .message-content {
    background: #2a2a44;
    border: 1px solid #3a3a54;
    color: #ffffff;
    border-bottom-left-radius: 6px;
}

.message.user .message-content {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
    color: white;
    border-bottom-right-radius: 6px;
    margin-right: 5px;
}

.doctor-card {
    background: #1e1e35;
    border: 1px solid #3a3a54;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.doctor-name {
    font-weight: bold;
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #d0d0d0;
    font-size: 12px;
    margin-bottom: 8px;
}

.doctor-details {
    font-size: 11px;
    color: #b0b0b0;
}

.book-btn {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 90, 229, 0.3);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2a2a44;
    border: 1px solid #3a3a54;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    max-width: 80%;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

.back-button:hover {
    transform: scale(1.1);
    color: #00ffff;
}

/* Show back button when in chat mode */
.chat-mode .back-button {
    display: flex;
}

/* popup ai */


/* specialist slider */
.med-showcase {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto;
}

.med-wrapper {
    position: relative;
    width: 100%;
    height: 86%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.med-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.med-item {
    position: absolute;
    width: 400px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.med-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Center item (active) */
.med-item.active {
    z-index: 5;
    transform: translateX(0) scale(1);
    filter: blur(0px) brightness(1);
    width: 810px;
    height: 380px;
    object-fit: contain;
}

.med-item.active img {
    filter: blur(0px) brightness(1);
}

/* Left side items */
.med-item.left-1 {
    z-index: 4;
    transform: translateX(-320px) scale(0.8);
    filter: blur(2px);
}

.med-item.left-2 {
    z-index: 3;
    transform: translateX(-400px) scale(0.6);
    filter: blur(4px);
    opacity: 0.7;
}

/* Right side items */
.med-item.right-1 {
    z-index: 4;
    transform: translateX(320px) scale(0.8);
    filter: blur(2px);
}

.med-item.right-2 {
    z-index: 3;
    transform: translateX(400px) scale(0.6);
    filter: blur(4px);
    opacity: 0.7;
}

/* Hidden items */
.med-item.hidden {
    z-index: 1;
    transform: translateX(700px) scale(0.4);
    filter: blur(6px) brightness(0.2);
    opacity: 0;
}

/* Item content overlay */
.med-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.med-title {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

/* New: Container for navigation buttons and dots */
.med-navigation-group {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    /* Vertically aligns buttons and dots */
    gap: 15px;
    /* Spacing between prev button, dots, and next button */
    z-index: 10;
}

/* Navigation arrows - modified */
.med-nav {
    /* Removed absolute positioning relative to carousel sides */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    /* z-index is handled by med-navigation-group */
}

.med-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    /* Adjusted hover transform */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* .med-nav.prev and .med-nav.next no longer need left/right positioning */
/* Their order is handled by the flex container .med-navigation-group */

/* Dots navigation - modified */
.med-indicators {
    /* Removed absolute positioning, now a flex item within med-navigation-group */
    display: flex;
    gap: 10px;
    /* z-index is handled by med-navigation-group */
}

.med-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.med-dot.active {
    background: #007681;
    transform: scale(1.3);
}

.faq-section {
    font-family: 'Poppins', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 26px;
    position: relative;
    margin-top: 40px;
}

.faq-container {
    max-width: 90%;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: #22919A;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #1e7d87;
}

.faq-chevron {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    background-color: #fff;
    color: #000;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    display: none;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }

    .faq-answer {
        font-size: 15px;
        padding: 16px;
    }

    .faq-chevron {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 22px;
    }

    .faq-question {
        flex-direction: row;
        align-items: center;
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-chevron {
        font-size: 18px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .med-showcase {
        height: 200px;
        /* Keep original height change */
        padding-bottom: 60px;
        /* Adjust if needed for smaller nav */
    }

    .med-item {
        width: 280px;
        height: 160px;
    }

    .med-item.left-1 {
        /* Keep original transform */
        transform: translateX(-200px) scale(0.7);
    }

    .med-item.right-1 {
        /* Keep original transform */
        transform: translateX(200px) scale(0.7);
    }

    .med-item.left-2 {
        /* Keep original transform */
        transform: translateX(-320px) scale(0.5);
    }

    .med-item.right-2 {
        /* Keep original transform */
        transform: translateX(320px) scale(0.5);
    }

    .med-nav {
        /* Keep original size change */
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* .med-nav.prev and .med-nav.next no longer need left/right changes */

    .med-navigation-group {
        gap: 10px;
        /* Optionally reduce gap on mobile */
        /* bottom: -50px; /* Optionally adjust bottom position if elements overlap */
    }
}

/* specialist slider */


/* blog section */
.blogs-section {
    width: 100%;
    padding: 10px 80px;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #00205B;
    margin-bottom: 40px;
    font-family: "Lexend", sans-serif;
}

.blogs-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    width: 337px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 0px;
    background-color: #00205B;
    color: white;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    font-family: "Lexend", sans-serif;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: "Lexend", sans-serif;
}

.blog-title {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 10px;
    font-family: "Lexend", sans-serif;
}

.blog-text {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: "Lexend", sans-serif;
}

.blog-link {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Lexend", sans-serif;
}

.blog-link:hover {
    color: #008080;
}

.arrow-icon {
    margin-left: 8px;
    font-size: 14px;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .blogs-section {
        padding: 10px 40px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .blogs-container {
        gap: 20px;
    }

    .blog-card {
        width: 300px;
    }

    .blog-image-container {
        height: 160px;
    }

    .blog-category {
        font-size: 13px;
        padding: 5px 12px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-date {
        font-size: 13px;
    }

    .blog-title {
        font-size: 15px;
    }

    .blog-text {
        font-size: 13px;
    }

    .blog-link {
        font-size: 13px;
    }
}

/* New Media Query for 900px */
@media screen and (max-width: 950px) {
    .blogs-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .blog-card {
        width: calc(50% - 10px);
        max-width: 400px;
    }

    .blog-card:last-child {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .blogs-section {
        padding: 10px 20px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .blogs-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .blog-card {
        width: 90%;
        max-width: 400px;
        margin-bottom: 15px;
    }

    .blog-image-container {
        height: 140px;
    }

    .blog-category {
        font-size: 12px;
        padding: 4px 10px;
        top: 10px;
    }

    .blog-content {
        padding: 12px;
    }

    .blog-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .blog-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .blog-text {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .blog-link {
        font-size: 12px;
    }

    .arrow-icon {
        font-size: 16px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .blogs-section {
        padding: 10px 10px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .blogs-container {
        gap: 10px;
    }

    .blog-card {
        width: 95%;
        max-width: 350px;
    }

    .blog-image-container {
        height: 120px;
    }

    .blog-category {
        font-size: 11px;
        padding: 3px 8px;
        top: 8px;
    }

    .blog-content {
        padding: 10px;
    }

    .blog-date {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .blog-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .blog-text {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .blog-link {
        font-size: 11px;
    }

    .arrow-icon {
        font-size: 14px;
        margin-left: 6px;
    }
}

/* blog section */

/* Large Screen Styles (above 1400px) */
@media screen and (min-width: 1401px) {
    .modal-content {
        width: 400px;
        /* Increased width for large screens */
    }

    .modal-header {
        padding: 25px 22px;
        padding-bottom: 90px;
    }

    .modal-logo {
        height: 32px;
    }

    .modal-avatar-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .modal-avatar {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .modal-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }

    .symptom-button {
        padding: 15px;
        font-size: 14px;
    }

    .symptom-button i {
        font-size: 22px;
        margin-right: 15px;
    }

    .modal-input-area {
        gap: 15px;
    }

    .modal-input-area input[type="text"] {
        padding: 12px;
        font-size: 14px;
    }

    .send-button {
        padding: 12px 22px;
    }

    .send-button i {
        font-size: 22px;
    }

    .modal-footer {
        font-size: 14px;
        padding: 8px;
    }

    .close-button {
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
}

/* Extra Large Screens (above 1920px) */
@media screen and (min-width: 1921px) {
    .modal-content {
        width: 450px;
    }

    .modal-header {
        padding: 30px 25px;
        padding-bottom: 100px;
    }

    .modal-logo {
        height: 38px;
    }

    .modal-avatar-container {
        gap: 25px;
        margin-bottom: 25px;
    }

    .modal-avatar {
        width: 60px;
        height: 60px;
        padding: 15px;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .modal-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .modal-buttons {
        gap: 20px;
        margin-bottom: 30px;
    }

    .symptom-button {
        padding: 18px;
        font-size: 16px;
    }

    .symptom-button i {
        font-size: 26px;
        margin-right: 18px;
    }

    .modal-input-area {
        gap: 18px;
    }

    .modal-input-area input[type="text"] {
        padding: 15px;
        font-size: 16px;
    }

    .send-button {
        padding: 15px 25px;
    }

    .send-button i {
        font-size: 26px;
    }

    .modal-footer {
        font-size: 16px;
        padding: 10px;
    }

    .close-button {
        font-size: 28px;
        top: 25px;
        right: 25px;
    }
}

/* Large Screens (1400px - 1920px) */
@media screen and (min-width: 1401px) and (max-width: 1920px) {
    .modal-content {
        width: 400px;
    }

    .modal-header {
        padding: 25px 22px;
        padding-bottom: 90px;
    }

    .modal-logo {
        height: 32px;
    }

    .modal-avatar-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .modal-avatar {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .modal-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }

    .symptom-button {
        padding: 15px;
        font-size: 14px;
    }

    .symptom-button i {
        font-size: 22px;
        margin-right: 15px;
    }

    .modal-input-area {
        gap: 15px;
    }

    .modal-input-area input[type="text"] {
        padding: 12px;
        font-size: 14px;
    }

    .send-button {
        padding: 12px 22px;
    }

    .send-button i {
        font-size: 22px;
    }

    .modal-footer {
        font-size: 14px;
        padding: 8px;
    }

    .close-button {
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
}

/* Medium Screens (1024px - 1400px) */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
    .modal-content {
        width: 370px;
    }

    .modal-header {
        padding: 20px 20px;
        padding-bottom: 80px;
    }

    .modal-logo {
        height: 35px;
    }

    .modal-avatar-container {
        gap: 15px;
        margin-bottom: 15px;
    }

    .modal-avatar {

        padding: 10px;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .modal-buttons {
        gap: 12px;
        margin-bottom: 20px;
    }

    .symptom-button {
        padding: 12px;
        font-size: 13px;
    }

    .symptom-button i {
        font-size: 20px;
        margin-right: 12px;
    }

    .modal-input-area {
        gap: 12px;
    }

    .modal-input-area input[type="text"] {
        padding: 10px;
        font-size: 13px;
    }

    .send-button {
        padding: 10px 20px;
    }

    .send-button i {
        font-size: 20px;
    }

    .modal-footer {
        font-size: 13px;
        padding: 6px;
    }

    .close-button {
        font-size: 22px;
        top: 15px;
        right: 15px;
    }
}

/* Tablet Screens (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .modal-content {
        width: 320px;
    }

    .modal-header {
        padding: 18px 18px;
        padding-bottom: 70px;
    }

    .modal-logo {
        height: 26px;
    }

    .modal-avatar-container {
        gap: 12px;
        margin-bottom: 12px;
    }

    .modal-avatar {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .modal-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .modal-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .modal-buttons {
        gap: 10px;
        margin-bottom: 18px;
    }

    .symptom-button {
        padding: 10px;
        font-size: 12px;
    }

    .symptom-button i {
        font-size: 18px;
        margin-right: 10px;
    }

    .modal-input-area {
        gap: 10px;
    }

    .modal-input-area input[type="text"] {
        padding: 8px;
        font-size: 12px;
    }

    .send-button {
        padding: 8px 18px;
    }

    .send-button i {
        font-size: 18px;
    }

    .modal-footer {
        font-size: 12px;
        padding: 5px;
    }

    .close-button {
        font-size: 20px;
        top: 12px;
        right: 12px;
    }
}

/* Mobile Screens (below 768px) */
@media screen and (max-width: 767px) {
    .modal-content {
        width: 300px;
    }

    .modal-header {
        padding: 15px 15px;
        padding-bottom: 60px;
    }

    .modal-logo {
        height: 24px;
    }

    .modal-avatar-container {
        gap: 10px;
        margin-bottom: 10px;
    }

    .modal-avatar {
        width: 35px;
        height: 35px;
        padding: 7px;
    }

    .modal-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .modal-subtitle {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .modal-buttons {
        gap: 8px;
        margin-bottom: 15px;
    }

    .symptom-button {
        padding: 8px;
        font-size: 11px;
    }

    .symptom-button i {
        font-size: 16px;
        margin-right: 8px;
    }

    .modal-input-area {
        gap: 8px;
    }

    .modal-input-area input[type="text"] {
        padding: 7px;
        font-size: 11px;
    }

    .send-button {
        padding: 7px 15px;
    }

    .send-button i {
        font-size: 16px;
    }

    .modal-footer {
        font-size: 11px;
        padding: 4px;
    }

    .close-button {
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
}

.faq-section {
    font-family: 'Poppins', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 26px;
    position: relative;
    margin-top: 40px;
}

.faq-container {
    max-width: 90%;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.faq-question {
    width: 100%;
    text-align: left;
    background-color: #22919A;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #1e7d87;
}

.faq-chevron {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    background-color: #fff;
    color: #000;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    display: none;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }
    .faq-answer {
        font-size: 15px;
        padding: 16px;
    }

    .faq-chevron {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 22px;
    }

    .faq-question {
        flex-direction: row;
        align-items: center;
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-chevron {
        font-size: 18px;
    }
}