/* =============== top area section here ================ */

.top-area-wrapper{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background: #eef4ee;
    min-height: 440px;
    box-sizing: border-box;
}

.top-area{
    width: 62%;
    height: 460px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.top-area .banner-area{
    width: 100%;
    height: 100%;
}

.top-area .swiper {
    height: 100%;
}

.top-area .banner-area .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

/* ================= Doctor Cards Next to Banner ================= */

.doctors-sidebar {
    width: 38%;
    display: flex;
    flex-direction: column;
    background: #eef4ee;
    padding: 10px;
    box-sizing: border-box;
    gap: 10px;
}

.doctor-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-2px);
}

/* 1st Doctor Card - Landscape (Main Doctor) */
.landscape-card {
    display: flex;
    flex-direction: row;
    height: 200px;
    border-left: 4px solid #27ae60;
}

.landscape-card .doc-image {
    width: 70%;
    height: auto;
}

.landscape-card .doc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landscape-card .doc-info {
    width: 62%;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landscape-card .doc-info h3 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a252f;
}

.landscape-card .doc-info .specialty {
    font-size: 11px;
    color: #27ae60;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.landscape-card .doc-info .desc {
    font-size: 11px;
    color: #666;
    margin: 0;
    line-height: 15px;
}

/* Other Doctors - Portrait Group */

.doctors-portrait-group {
    display: flex;
    gap: 10px;
    height: 230px;
}

.portrait-card {
    width: 50%;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 3px solid #27ae60;
}

.portrait-card .doc-image {
    width: 100%;
    height: 70%;
}

.portrait-card .doc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.portrait-card .doc-info {
    width: 100%;
    height: 30%;
    padding: 8px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.portrait-card .doc-info h3 {
    margin: 0 0 2px 0;
    font-size: 13px;
    font-weight: 700;
    color: #1a252f;
}

.portrait-card .doc-info .specialty {
    font-size: 10px;
    color: #27ae60;
    font-weight: 600;
    margin: 0;
}

/* =========== heading here section ============ */

.heading-here {
    background-color: #EEEEEE;
    padding: 25px 0;
    text-align: center;
}

.heading-here span{
    position: relative !important;
    font-weight: 700;
    font-size: 14px;
}

.heading-here span::before, .heading-here span::after{
    content: '';
    width: 80px;
    height: 2px;
    background: black;
    border-radius: 50px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.heading-here span::before{
    left: 110%;
}

.heading-here span::after{
    right: 110%;
}

.heading-here h1{
    font-size: clamp(18px, 2vw, 70px);
    line-height: 30px;
}

/* ==================== section-2 starts here (FIXED STICKY BEHAVIOR) ================= */

.section-2{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: #EEEEEE;
    padding-bottom: 25px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    position: relative;
}

.form-area-fixed {
    width: 26%;
    padding: 23px 15px 0 15px;
    box-sizing: border-box;
    align-self: flex-start; 
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 100;
}

.form-area-fixed .thumbnail{
    height: auto;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background-color: #e3ede3;
    border-radius: 12px;
    padding: 15px 12px;
    box-sizing: border-box;
}

.form-header-badge {
    background-color: #27ae60;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-area-fixed .thumbnail form{
    padding: 0;
}

.form-area-fixed .thumbnail .control-group2{
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.form-area-fixed .thumbnail form label{
    width: 28%;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
}

.form-area-fixed .thumbnail .controls2{
    width: 72%;
    margin-left: 0;
}

.form-area-fixed .thumbnail form input, 
.form-area-fixed .thumbnail form textarea{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    background: #fff;
}

.form-area-fixed .thumbnail form input {
    height: 35px;
}

.captcha-group {
    justify-content: end;
}

.captcha-img-wrap {
    text-align: center;
    padding: 5px;
    border-radius: 6px;
}

.captcha-img-wrap img {
    max-width: 100%;
    height: auto;
}

.form-area-fixed .subbase{
    text-align: center;
    margin: 15px 0 0 0;
}

.form-area-fixed .subbase .sub_btn{
    width: 100% !important;
    background-color: #27ae60 !important;
    background-image: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
    transition: background 0.3s;
}

.form-area-fixed .subbase .sub_btn:hover {
    background-color: #219653 !important;
}

/* Content Grid next to Contact Form */
.content-grid {
    width: 74%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.section-2 .inner-box{
    width: 33.33%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10px;
}

.section-2 .inner-box .information{
    width: 100%;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-2 .inner-box h2{
    background-color: #E7F9E7;
    margin: 0;
    padding: 0 8px;
    height: 60px;
    display: grid;
    place-items: center;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

.section-2 .inner-box .image{
    margin: 12px auto;
    width: 85%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.section-2 .inner-box .image img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.4s;
}

.section-2 .inner-box .information:hover .image img {
    transform: scale(1.05);
}

.section-2 .inner-box .info{
    margin-bottom: 15px;
    font-weight: 600;
    padding: 0 15px;
    font-size: 11px;
    color: #555;
}

.section-2 .inner-box .read-more-btn{
    margin: 0px 20px;
    padding: 10px 22px;
    border-radius: 100px;
    background-color: #F5D0AC;
    color: black;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: background 0.3s;
}

.section-2 .inner-box .read-more-btn:hover{
    background-color: #f0bc84;
}

/* Consultation Procedure and Fees Card - Enhanced Unique Landscape Layout */
.section-2 .inner-box.landscape-consultation {
    width: 66.66%; /* Double width layout block */
}

.landscape-info-card {
    justify-content: start !important;
}

.landscape-info-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbf4 100%) !important;
    border: 2px solid #a3e4d7;
}

.landscape-flex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    gap: 20px;
}

.consultation-img-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
}

.info-content-right {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.info-content-right .info {
    font-size: 12px;
    line-height: 18px;
    color: #333;
    margin-bottom: 15px;
}

/* ============================ testi_video-2 section starts here ============================= */

.testi_video-2 .testi{
    text-align: center;
    background-image: none;
    padding: 15px 0;
    margin-top: 6px;
}

.testi_video-2 .testi span{
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.testi_video-2 .testi span::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    height: 2px;
    width: 40px;
    border-radius: 50px;
    background-color: #AC4F7B;
}

.testi_video-2 .testi p{
    color: black;
    font-size: 14px;
    font-weight: 500;
    text-align: justify;
    text-align-last: center;
    width: 90%;
    margin: auto;
}

.testi_video-2 .fotved{
    display: flex;
    flex-wrap: wrap;
    background-color: #FDF9F5;
}

.testi_video-2 .extra{
    width: 20%;
    display: flex;
    justify-content: center;
}

.testi_video-2 .extra .vedhm{
    width: 85% !important;
    margin: auto;
}

.testi_video-2 .extra .vedhm img{
    width: 100%;
    border: 5px solid white;
}

.testi_video-2 .extra .ved{
    width: 100%;
}

.testi_video-2 .addon-testimonial{
    text-align: center;
    padding: 50px 0;
}

.testi_video-2 .addon-testimonial a{
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 100px;
    background-color: #F5D0AC;
    font-weight: 700;
    color: black;
    font-size: 16px;
    border: 2px solid #F5D0AC;
    transition: 300ms;
}

.testi_video-2 .addon-testimonial a:hover{
    background-color: transparent;
}


/* ============== footer changes here ========== */

.main-footer {
    display: flex;
    flex-wrap: wrap;
}

.main-footer .addon-1{
    height: 370px;
    width: 25%;
}

.main-footer .fotread{
    display: inline-block;
    text-align: start;
    margin-left: 13px;
    padding: 12px 30px;
    border-radius: 8px;
    background-color: #f5c28e;
    margin-top: 25px;
}

.main-footer .fotarr{
    background-image: none;
    padding: 10px 0;
    font-size: 14px;
}

.main-footer .fotarr i{
    margin-right: 10px;
}


/* ======================== Media Query here ============================ */

@media(max-width:1400px) {
    .testi_video-2 .extra {
        width: 25%;
    }
}

@media(max-width:1200px){

    .top-area{
        width: 60%;
    }

    .doctors-sidebar{
        width: 40%;
    }

    .main-footer .addon-1{
        width: 50%;
    }
}

@media(max-width:992px) {

    #page{
        width: 95%;
    }

    .top-area-wrapper {
        flex-direction: column;
        height: auto;
    }

    .top-area {
        width: 100%;
        height: 350px;
    }

    .doctors-sidebar {
        width: 100%;
        flex-direction: column;
    }

    .landscape-card {
        width: 100%;
        height: auto;
    }

    .doctors-portrait-group {
        width: 100%;
        height: auto;
    }

    .form-area-fixed {
        width: 100%;
        position: relative;
        top: 0;
    }

    .content-grid {
        width: 100%;
    }

    .section-2 .inner-box{
        width: 50%;
    }

    .section-2 .inner-box.landscape-consultation {
        width: 100%;
    }

    .landscape-flex-content {
        flex-direction: column;
        text-align: center;
    }

    .consultation-img-wrap {
        width: 100% !important;
        height: 180px !important;
    }

    .info-content-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .testi_video-2 .extra {
        width: 33.33%;
    }

    .consultation-img-wrap img {
        height: 200px !important;
    }

}

@media(max-width:768px) {
    .doctors-sidebar {
        flex-direction: column;
    }

    .landscape-card, .doctors-portrait-group {
        width: 100%;
    }

    .section-2 .inner-box{
        width: 100%;
    }

    .testi_video-2 .extra {
        width: 50%;
    }
}

@media(max-width:650px){
    .main-footer .addon-1{
        height: auto;
        width: 100%;
    }
}

@media(max-width: 576px) {

    #page{
        width: 100%;
    }

    .form-area-fixed .thumbnail form label{
        width: 32%;
    }
    
    .form-area-fixed .thumbnail .controls2{
        width: 68%;
    }

    .testi_video-2 .extra {
        width: 100%;
    }
}