/* Kid-friendly Our Doctors and Doctor Profile pages styling */

/* Common styles for both pages */
.doctors-header-kids {
    background: linear-gradient(135deg, #2c1f55 0%, #C7CEEA 100%);
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
}

.doctors-header-kids .container {
    position: relative;
    z-index: 2;
}

.doctors-header-kids h1 {
    color: #ffaa01;
    font-size: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.doctors-header-kids .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.doctors-header-kids .breadcrumb-item {
    color: #fff;
    font-size: 16px;
}

.doctors-header-kids .breadcrumb-item a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.doctors-header-kids .breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: none;
}

.doctors-header-kids .breadcrumb-item.active {
    color: #ffaa01;

}

.doctors-header-kids .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
    opacity: 0.8;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 100px;
    top: -30px;
    left: 10%;
    animation: cloud-move 20s linear infinite;
}

.cloud-2 {
    width: 300px;
    height: 150px;
    bottom: -50px;
    right: 15%;
    animation: cloud-move 25s linear infinite reverse;
}

.cloud-3 {
    width: 150px;
    height: 75px;
    top: 40%;
    left: 30%;
    animation: cloud-move 18s linear infinite;
}

@keyframes cloud-move {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

.section-title-kids {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-kids h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-size: 36px;
    color: #302458;
}

.section-title-kids h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: #ffaa01;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title-kids p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.05;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #FF9AA2;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: #FFDAC1;
    animation: float 10s ease-in-out infinite;
}

.shape-3 {
    bottom: 15%;
    left: 15%;
    width: 80px;
    height: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: #E2F0CB;
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    bottom: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #B5EAD7;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-element.show {
    opacity: 1;
    transform: translateY(0);
}

/* Our Doctors page specific styles */
.doctors-section {
    background: #f9f9ff;
    padding: 60px 0;
    position: relative;
}

.doctor-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    z-index: 1111;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.doctor-card-header {
    height: 10px;
    width: 100%;
}

.doctor-card-1 .doctor-card-header {
    background: #FF9AA2;
    /* Soft red */
}

.doctor-card-2 .doctor-card-header {
    background: #FFDAC1;
    /* Soft orange */
}

.doctor-card-3 .doctor-card-header {
    background: #E2F0CB;
    /* Soft green */
}

.doctor-card-4 .doctor-card-header {
    background: #B5EAD7;
    /* Mint */
}

.doctor-image {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.doctor-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
    object-position: top;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-content {
    padding: 0 15px 0;
    text-align: center;
}

.doctor-specialty p {
    text-align: center;
    font-size: 16px;
    margin-top: 15px;
}

.doctor-name {
    margin-bottom: 5px;
}

.doctor-name h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.doctor-specialty {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.doctor-view-profile {
    display: inline-block;
    padding: 10px 25px;
    background: #feaa02;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 14px;
}

.home-doctor-card {
    width: 20%;
}

.doctor-view-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: #fff;
    text-decoration: none;
}

.doctor-view-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9275db, #2c1f55);
    transition: all 0.4s ease;
    z-index: -1;
}

.doctor-view-profile:hover::before {
    left: 0;
}

.doctor-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: none;
}

.doctor-badge i {
    font-size: 24px;
}

.doctor-card-1 .doctor-badge i {
    color: #FF9AA2;
}

.doctor-card-2 .doctor-badge i {
    color: #FFDAC1;
}

.doctor-card-3 .doctor-badge i {
    color: #E2F0CB;
}

.doctor-card-4 .doctor-badge i {
    color: #B5EAD7;
}

/* Doctor Profile page specific styles */
.profile-section {
    background: #f9f9ff;
    padding: 80px 0;
    position: relative;
}

.profile-container {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.profile-header {
    height: 10px;
    width: 100%;
    background: linear-gradient(to right, #FF9AA2, #FFDAC1);
}

.profile-content {
    padding: 30px;
}

.profile-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-info {
    margin-bottom: 30px;
}

.profile-name {
    margin-bottom: 5px;
}

.profile-name h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.profile-name h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #FF9AA2;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.profile-specialty {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.profile-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.profile-appointment {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #FF9AA2, #FFDAC1);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.profile-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: #fff;
    text-decoration: none;
}

.profile-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #FFDAC1, #FF9AA2);
    transition: all 0.4s ease;
    z-index: -1;
}

.profile-appointment:hover::before {
    left: 0;
}

.profile-details {
    margin-top: 30px;
}

.profile-details h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.profile-details h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #FFDAC1;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.profile-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-details ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.profile-details ul li:last-child {
    border-bottom: none;
}

.profile-details ul li i {
    margin-right: 10px;
    color: #FF9AA2;
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .doctors-header-kids h1 {
        font-size: 36px;
    }

    .profile-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .doctors-header-kids h1 {
        font-size: 30px;
    }

    .section-title-kids h2,
    .profile-name h2 {
        font-size: 28px;
    }

    .doctor-card {
        margin-bottom: 40px;
    }

    .profile-image {
        margin-bottom: 30px;
    }
}