.banner {
    background-image: url("../img/background.jpg");
    background-size: cover;
    margin: 0 auto;
    height: 700px;
    width: 100%;
}

@media screen and (min-width: 900px) {
    .banner {
        background-image: url("../img/background.jpg");
        height: 900px;
    }
}

@media screen and (min-width: 770px) {
    .banner {
        background-image: url("../img/background.jpg");
        height: 900px;
    }
}

@media screen and (max-width: 530px) {
    .banner {
        background-image: url("../img/mobile-bg.jpg");
        height: auto;
    }
}

.banner2 {
    background-image: url("../img/bg medical icons.png");
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.banner3 {
    background-image: url("../img/bg banner.png");
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.banner4 {
    background-image: url("../img/footer.png");
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.banner5 {
    background-image: url("../img/background banner.png");
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.chek {
    margin-top: 20px;
}

.form-group input {
    padding: 20px 10px;
    border-radius: 10px;
    border: 2px solid #0096ff;
}

.form-group textarea {
    padding: 20px 10px;
    border-radius: 10px;
    border: 2px solid #0096ff;
}

/* .images {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
    position: relative;
} */

.navbar-toggler {
    background-color: #f8f9fa !important;
}

.img {
    width: 180px !important;
    height: auto;
}

.img2 {
    width: 70%;
    height: auto;
    /* margin-right: 20px;
 margin-left: 20px; */
}

.logo-image {
    width: 150px !important;
    height: auto !important;
}

.img3 {
    width: 200px;
    height: auto;
}

.footer-img {
    width: 30px;
    height: auto;
    color: white;
}

ul li {
    display: inline-block;
    /* margin-right: 30px; */
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    width: 100px;
}

li a {
    color: black !important;
}

footer li a {
    color: white !important;
    font-size: 20px;
}

.btn {
    color: white !important;
    /* background-color: #0096FF !important; */
    border-radius: 40px !important;
    padding: 11px 18px !important;
}

.card {
    border-radius: 25px !important;
}

.clear {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    border: 2px solid #0096ff !important;
    width: 200px !important;
    height: auto !important;
}

.footer-newsletter form input[type="email"] {
    border: 0;
    padding: 4px;
    width: calc(100% - 110px);
}

.footer-newsletter form input[type="submit"] {
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    /*padding: 0 20px;*/
    background: #0096ff;
    color: #151515;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

.footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 4px;
}

@media screen and (max-width: 530px) {
    .category {
        font-size: 12px;
    }
}

@media screen and (max-width: 766px) {
    .doctor_image {
        width: 50% !important;
    }

    .btn-custom {
        background-color: white;
        color: black;
    }
}

.custom-btn {
    margin-left: 49px;
    margin-top: 30px;
    background-color: white;
    border-radius: 5px !important;
    font-weight: 600;
    color: #0089e9 !important;
}

.service-card img {
    max-width: 100%;
    height: auto;
}

.service-card .overlay {
    position: absolute;
    bottom: 1px;
    left: 5px;
    background-color: #0096ff;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 0px 0px 10px 10px;
}

.front-text {
    color: black;
    margin-left: 49px !important;
}

.navbar-divider2 {
    width: 100%;
    height: 1px;
    background-color: #e9e9e9;
    /* You can adjust the color as per your design */
    margin-top: 10px;
    /* Adjust the margin as needed */
    margin-bottom: 10px;
    /* Adjust the margin as needed */
}

/* Add this to your stylesheet */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.navbar p {
    margin: 0;
    /* Remove default margin for paragraphs */
}

.left-content {
    margin-left: 49px;
    order: 1;
    /* Order 1 to display on the left */
}

.middle-content {
    margin-right: 360px !important;
    order: 2;
}

.right-content {
    order: 3;
    /* Order 3 to display on the right */
}

@media (max-width: 768px) {
    .mynav {
        display: none;
    }

    .navbar-nav {
        display: flex;
        align-items: start;
    }

    .custom-btn {
        position: relative;
        overflow: hidden;
    }

    .btn-icon {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        height: 24px;
        /* Adjust the height as needed */
        width: auto;
        /* Adjust the width as needed */
    }

    .middle-content .content-icon {
        height: 24px;
        /* Adjust the height as needed */
        width: auto;
        /* Adjust the width as needed */
        vertical-align: middle;
        margin-right: 10px;
        /* Adjust this value according to your preference */
    }

    .right-content .content-icon {
        height: 24px;
        /* Adjust the height as needed */
        width: auto;
        /* Adjust the width as needed */
        vertical-align: middle;
        margin-right: 10px;
        /* Adjust this value according to your preference */
    }

    @media (max-width: 768px) {
        #imagehome {
            display: none;
        }

        .overflow-x-auto {
            overflow-x: auto !important;
            white-space: nowrap;
        }
    }
}

.main {
    background-color: #fff !important;
    padding: 0;
}

.navbar-divider2 {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* Add this */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

/* Active Link Styling */
.navbar-nav .nav-link.active {
    color: #2563eb !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 2px;
}

/* Hover Effects */
.navbar-nav .nav-link:hover {
    color: #2563eb !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 2px;
}

#btn-Appointment {
    border-radius: 20px !important;
    background-color: #1d3f65 !important;
    color: #fff;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

a:hover {
    color: #0056b3;
    text-decoration: none !important;
}

.dropdown-menu .dropdown-item {
    font-size: 16px;
    font-weight: 600;
}

.home-section {
    padding: 50px 20px;
}

.container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 20px;
}

.trusted-section {
    padding: 20px 0;
    text-align: center;
    margin: 20px 0;
}

.trusted-text {
    color: #2f2f2f;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* .logo-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
} */

/* health care section */
.remote-health-section {
    padding: 50px 20px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    /* border-radius: 20px; */
    overflow: hidden;
    /* background: #f7e4bc; */
}

.phone-mockup img {
    width: 100%;
    display: block;
}

.content-box {
    text-align: left;
}

.health-title {
    color: #2f2f2f;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.sub-title {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-list li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #84cc16;
    border-radius: 50%;
    margin-right: 10px;
}

.feature-list li i::before {
    font-size: 14px;
}

/* virtual consult section */
.virtual-consult-section {
    padding: 50px 20px;
}

.health-info-section {
    padding: 50px 20px;
}

.oster-section {
    background-color: #1d3f65;
    padding: 80px 0;
}

.oster-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.oster-description {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 50px;
    line-height: 1.6;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-section {
    padding: 50px 20px;
    background-color: #ffffff;
}

.text-section {
    flex: 1;
}

.text-section h2 {
    color: #2f2f2f;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-section p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.step {
    border-left: 4px solid #1d3f65;
    padding-left: 20px;
    margin-bottom: 20px;
}

.step h3 {
    color: #1a1a1a;
    font-size: 1.5em;
    margin: 10px 0 5px;
}

.step p {
    color: #666;
    font-size: 1em;
    margin: 0 0 10px;
}

.step a {
    color: #1d3f65;
    text-decoration: none;
    font-weight: bold;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.health-insights {
    padding: 50px 20px;
    background-color: #1d3f65;
}

.text-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.text-section p {
    font-size: 20px;
    margin-bottom: 20px;
}

.app-badges {
    display: flex;
    gap: 10px;
}

.phone-image {
    flex: 1;
    text-align: center;
}

.phone-image img {
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.faq-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #e6f3fa 0%, #d0e8f5 100%);
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#faqAccordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: #1d3f65;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: "−";
    transform: rotate(0deg);
}

.faq-answer {
    color: #4b5563;
    font-size: 16px;
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid #e6f3fa;
    display: none;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

.blog-section {
    padding: 50px 20px;
    background-color: #ffffff;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-label {
    color: #1d3f65;
    font-size: 1.1em;
    font-weight: bold;
}

.news-title {
    color: #1a1a1a;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px !important;
    text-align: center;
}

.news-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px !important;
    text-align: center;
}

.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-card-img-top {
    width: 100%;
    /* height: 200px; */
    object-fit: cover;
}

img {
    border-radius: 15px;
}

.blog-card-body {
    margin-top: 12px;
}

.blog-card-title {
    color: #1a1a1a;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-card-text {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.author-info {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #666;
}

.author-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.read-time {
    margin-left: auto;
}

.category-label {
    color: #1d3f65;
    font-size: 0.9em;
    font-weight: bold;
}

.blog-card a {
    color: #666;
    text-decoration: none;
    display: block;
}

.blog-card a:hover {
    color: #666;
}

.blog-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tab-link {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.tab-link.active,
.tab-link:hover {
    background: #1d3f65;
    color: white;
    border-color: #1d3f65;
}
.search-container {
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}
.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}
.search-box input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}
.pagination-info {
    font-size: 14px;
    color: #6b7280;
}
.loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

/* about us */
.about-section {
    padding: 50px 20px;
}

.about-title {
    color: #1d3f65;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.about-title::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #1d3f65;
    position: absolute;
    bottom: -10px;
    left: 10%;
    transform: translateX(-50%);
}

.about-content {
    color: #4b5563;
    font-size: 16px;
    text-align: left;
    line-height: 1.8;
}

.about-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-section {
    padding: 50px 20px;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: #e6ffe6;
    color: #1d3f65;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 150px;
    top: 44px;
    width: 2px;
    height: 218px;
    background: #d1d5db;
    z-index: 0;
}

.year-dot {
    position: relative;
    width: 40px;
    flex-shrink: 0;
}

.year-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1d3f65;
    position: relative;
    z-index: 1;
}

.year-circle.inactive {
    background: #f3f4f6;
}

.white-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.white-dot.inactive {
    background: #9ca3af;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    min-width: 60px;
    text-align: center;
    margin-right: 20px;
}

.timeline-year.inactive {
    color: #9ca3af;
}

.timeline-content-box {
    text-align: left;
    background: #fff;
    padding: 24px;
    margin-bottom: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #1d3f65;
    max-width: 440px;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        padding-top: 1rem;
        margin-left: 0;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    #btn-Appointment {
        width: 100%;
        margin: 0.5rem 0;
    }

    .content-box {
        margin-left: 0 !important;
    }

    .testimonial-section {
        padding: 80px 0;
    }

    .how-it-works-section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        align-items: left;
    }

    /* .logo-container img {
        width: 80px;
        height: 80px;
    } */

    .remote-health-section {
        padding: 30px 10px;
    }

    .menu-title {
        font-size: 28px;
        text-align: left;
    }

    .text-section h2 {
        font-size: 28px;
        text-align: left;
    }

    .health-title {
        font-size: 28px;
        text-align: left;
    }

    .description {
        text-align: left;
    }

    .sub-title {
        font-size: 14px;
    }

    .feature-list li {
        font-size: 14px;
    }

    .content-box {
        margin-left: 0 !important;
    }

    .oster-heading {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-content {
        font-size: 14px;
    }

    .about-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .timeline-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 0px !important;
        margin-bottom: 60px;
        max-width: 100%;
    }

    .timeline-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 17px; /* Adjusted for centering */
        top: 40px;
        width: 2px;
        height: 150px; /* Responsive height */
        background: #d1d5db;
        z-index: 0;
    }

    .timeline-year {
        display: none;
        margin-right: 0;
        /* order: 1; */
    }

    .timeline-item:not(:last-child)::after {
        display: none; /* Hide line on mobile */
    }

    .content-box {
        order: 3; /* Content last */
        max-width: 100%;
        min-width: auto;
        text-align: center;
    }

    .year-circle {
        width: 20px;
        height: 20px;
    }

    .white-dot {
        width: 8px;
        height: 8px;
    }

    .row.justify-content-center {
        justify-content: stretch !important;
    }

    .hero-title-modern br {
        display: none;
    }

    .hero-cta-modern {
        justify-content: center;
    }

    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 40px 30px;
    }
    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 35px 70px rgba(16, 185, 129, 0.3);
    }

    .how-it-works-section {
        padding: 80px 0;
    }

    .step-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 40px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    #btn-Appointment {
        font-size: 14px;
    }

    .dropdown-menu .dropdown-item {
        font-size: 14px;
    }

    .logo-container {
        flex-direction: row;
        justify-content: left;
    }

    /* .logo-container img {
        width: 80px;
        height: 80px;
        margin: 0 10px;
    } */

    .text-section h2 {
        font-size: 28px;
        text-align: left;
    }

    .health-title {
        font-size: 24px;
        text-align: left;
    }

    .description {
        text-align: left;
    }

    .sub-title {
        font-size: 12px;
    }

    .feature-list li {
        font-size: 12px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 12px;
    }

    #faqAccordion {
        max-width: 100%;
    }

    .about-title {
        font-size: 24px;
    }

    .about-content {
        font-size: 12px;
    }

    .about-image {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 28px;
    }

    .timeline-item {
        margin-bottom: 50px;
        gap: 12px;
    }

    .timeline-year {
        font-size: 1.25rem;
    }

    .content-box {
        padding: 18px;
    }

    .content-title {
        font-size: 18px;
    }

    .content-text {
        font-size: 15px;
    }

    .features-section-modern {
        padding: 40px 0;
    }

    .feature-card-modern {
        margin-bottom: 24px;
        padding: 20px;
    }

    .card-icon-modern {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .services-hero-section-modern {
        padding: 40px 0;
    }

    .stats-bar-modern {
        flex-direction: row;
        gap: 35px;
        margin-top: 24px;
    }

    .stat-item {
        text-align: center;
    }

    .features-section-modern {
        padding: 40px 0;
    }

    .feature-title {
        font-size: 30px;
        text-align: left;
    }

    .lead-modern {
        text-align: left;
    }

    .feature-card-modern {
        margin-bottom: 24px;
        padding: 20px;
    }

    .card-icon-modern {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .testimonial-section {
        padding: 50px 0;
    }

    .quote-icon {
        position: absolute;
        top: 8px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .how-it-works-section {
        padding: 60px 0;
    }

    .step-image {
        width: 180px !important;
        height: 320px !important;
    }

    .image-container {
        height: 350px;
    }
}
