/* Hero Section Styles - No Horizontal Margins */
.hero-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    max-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-features {
    /* margin-bottom: 1.5rem; */
    position: relative;
    min-height: 290px;
}

.feature-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.feature-content.active {
    opacity: 1;
    transform: translateX(0);
}

.feature-content.prev {
    transform: translateX(-100%);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    background: #800000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1rem;
}

.feature-text {
    color: #495057;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    /* flex-wrap: wrap; */
}

.btn-book {
    /* background: #800000; */
    border: none;
    padding: 0.8rem 1.5rem;
    max-width: fit-content;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
     background: linear-gradient(90deg, #a35b5b 0%, #600018 100%);
            color: white;
            border: 2px solid #800020;
}

.btn-book:hover {

     background-color: #600018;
            border-color: #600018;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(128, 0, 32, 0.3);
}

.btn-video {
    background: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-video:hover {
    background: #1E3A8A;
    color: white;
    transform: translateY(-2px);
}

/* Doctor Image Styles */
.doctor-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide.next {
    transform: translateX(100%);
}

.doctor-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Plus Sign Animations */
.plus-sign {
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 2px solid #800000;
    opacity: 0.7;
    z-index: 1;
}

.plus-sign::before, .plus-sign::after {
    content: '';
    position: absolute;
    background: #800000;
    border-radius: 2px;
}

.plus-sign::before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.plus-sign::after {
    width: 100%;
    height: 2px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.plus-1 {
    top: 15% !important;
    left: 15% !important;
    animation: float 3s ease-in-out infinite;
}

.plus-2 {
    top: 55% !important;
    right: 15% !important;
    animation: float 3.5s ease-in-out infinite reverse;
}

.plus-3 {
    bottom: 44% !important;
    left: 2% !important;
     animation: float 4s ease-in-out infinite;
}


/* Doctor Name Block */
.doctor-name-block {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 58, 138, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doctor-name-block h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.doctor-name-block p {
    margin: 0;
    font-style: italic;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Toggleable Values Container */
.values-container {
    position: absolute;
    top: -15%;
    left: -10%;
    z-index: 4;
}

.hero-values {
    background: white;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    gap: 5px;
}

.value-tab {
    background: #dadde0;
    color: #495057;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.value-tab span {
    font-size: 0.7rem;
    font-weight: 600;
}

.value-tab.active {
    background: #1E3A8A;
    color: white;
}

.value-tab:hover:not(.active) {
    background: #e9ecef;
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    display: block;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(128, 0, 0, 0.1) 100%);
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 30px;
    left: -30px;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .doctor-image {
        max-width: 340px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        /* min-height: 100vh; */
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-content{
        margin-bottom: 20px;
    }
    .doctor-image-container {
        min-height: 350px;
        margin-top: 2rem;
        flex-direction: column;
    }
    
    .values-container {
        position: relative;
        top: auto;
        left: auto;
        margin: 1.5rem auto;
        width: 100%;
    }
    
    .value-tabs {
        flex-direction: row;
        justify-content: center;
    }
    
    .doctor-name-block {
        bottom: 15px;
        right: 15px;
        padding: 0.8rem;
    }
    
    .doctor-name-block h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
        display: none;
    }
    
    .hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    .doctor-image-container {
        min-height: 450px;
        margin-top: 4rem;
        flex-direction: column;
    }
    .doctor-image {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .plus-sign {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-background{
        display: none;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-section{
        height: auto;
        min-height: auto;
        padding: 0px;
    }
    .doctor-image-container {
        min-height: 450px;
        margin-top: 4rem;
        flex-direction: column;
    }
        .doctor-image {
        max-width: 100%;
        /* margin-top: 30px; */
        height: auto;
        border-radius: 12px;
    }
    .values-container{
        margin-top:0px
    }
    .hero-values{
        padding: 15px;
    }
    .first-aid-top {
    top: -42px !important;
    right: 0px !important;
    animation: floatTop 3s ease-in-out infinite;
}

    .first-aid-bottom {
    bottom: 0px;
    left: 0px;
    animation: floatBottom 3.5s ease-in-out infinite;
}
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-book,
    .btn-video {
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    
    .doctor-name-block {
        position: relative;
        bottom: -30px;
        right: auto;
        margin: 1rem auto;
        width: 90%;
    }
    
    .value-tab {
        min-width: 60px;
        padding: 0.5rem 0.6rem;
    }
    
    .value-tab span {
        font-size: 0.65rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
}



/* First Aid Icons Animation */
.first-aid-icon {
    position: absolute;
    z-index: 3;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
    animation: pulse 2s ease-in-out infinite;
}
.first-aid-image
{
    width:100%;
    height:100%;
}
.first-aid-icon i {
    /* color: #800000; */
    font-size: 1.2rem;
}

.first-aid-top {
    top: 20px;
    right: 20px;
    animation: floatTop 3s ease-in-out infinite;
}

.first-aid-bottom {
    bottom: 20px;
    left: 20px;
    animation: floatBottom 3.5s ease-in-out infinite;
}

/* New Animations for First Aid Icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes floatTop {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(-5deg);
    }
    66% {
        transform: translateY(5px) rotate(5deg);
    }
}

@keyframes floatBottom {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(10px) rotate(5deg);
    }
    66% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

