﻿
:root {
    --primary-teal: #b73d3a;
    --secondary-green: #c0392b;
    --light-bg: #fdf2f2;
    --dark-text: #2c3e50;
}

/*body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}*/

/* Navbar Customization
        .navbar {
            padding: 15px 0;
            background: white !important;
        }

        .nav-link {
            font-weight: 600;
            color: #555 !important;
            transition: 0.3s;
        }

        .nav-link:hover {
            color: var(--primary-teal) !important;
        } */

/* Hero Section with Wave Shape */
.hero-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #ffffff 100%);
    padding: 120px 0 180px 0;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.btn-teal {
    background-color: var(--primary-teal);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

    .btn-teal:hover {
        background-color: var(--secondary-green);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(28, 184, 168, 0.3);
    }


/* Doctor Cards */
.doctor-card {
    text-align: center;
    border: none;
    transition: 0.3s;
}

    .doctor-card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin: 0 auto 20px;
        border: 5px solid var(--light-bg);
    }

/* Stats Section */
.stats-bar {
    background: var(--primary-teal);
    color: white;
    padding: 60px 0;
}


/* Stats & Video Section Custom CSS */
.stats-video-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.stat-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.stat-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* Icon Colors from Image */
.icon-purple {
    background: #f3e5f5;
    color: #9c27b0;
}

.icon-green {
    background: #e8f5e9;
    color: #4caf50;
}

.icon-orange {
    background: #fff3e0;
    color: #ff9800;
}

.icon-blue {
    background: #e3f2fd;
    color: #2196f3;
}

.stat-card h2 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.stat-card p {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
}

/* Organic Image Shape */
.video-blob-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Organic shape like image */
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(28, 184, 168, 0.2);
}

.video-img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
}

/* Play Button */
.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 25px;
    text-decoration: none;
    transition: 0.3s;
    z-index: 2;
}

    .play-btn-circle:hover {
        background: var(--primary-teal);
        color: white;
        transform: translate(-50%, -50%) scale(1.1);
    }

/* Wave background effect (optional) */
.stats-video-section {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f4f9f9" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,213.3C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Specialist Section CSS */
.header-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-teal);
    position: relative;
}

    .header-divider::after {
        content: '✚';
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        padding: 0 5px;
        color: var(--primary-teal);
        font-size: 14px;
    }

.doctor-card-new {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

    .doctor-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }

.doctor-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
}

    .doctor-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Hover Overlay Effect for Doctor 3 */
.doctor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 184, 168, 0.9);
    /* Teal Green Overlay */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.social-icons-doctor a {
    color: white;
    margin: 0 10px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

    .social-icons-doctor a:hover {
        opacity: 0.7;
    }

.doctor-info h5 {
    color: #2c3e50;
    font-size: 1.1rem;
}

.doctor-info p {
    margin-bottom: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Social Icons Wrapper */
.doctor-overlay {
    position: absolute;
    bottom: -60px;
    /* Shuru mein niche chhupa rahega */
    left: 0;
    right: 0;
    background: rgba(28, 184, 168, 0.95);
    /* Nischinto Teal Color */
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth movement */
    clip-path: ellipse(85% 100% at 50% 100%);
}

/* Hover karne par overlay upar aayega */
.doctor-card-new:hover .doctor-overlay {
    bottom: 0;
}

/* Individual Social Icons Style */
.social-icons-doctor a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent background */
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
    /* Shuru mein thoda niche */
    opacity: 0;
}

/* Hover par icons ek-ek karke upar aayenge (Staggered animation) */
.doctor-card-new:hover .social-icons-doctor a {
    transform: translateY(0);
    opacity: 1;
}

    /* Icons Delay (Taki ek ke baad ek aayein) */
    .doctor-card-new:hover .social-icons-doctor a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .doctor-card-new:hover .social-icons-doctor a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .doctor-card-new:hover .social-icons-doctor a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .doctor-card-new:hover .social-icons-doctor a:nth-child(4) {
        transition-delay: 0.4s;
    }

/* Icon hover par white background aur teal icon */
.social-icons-doctor a:hover {
    background: white;
    color: var(--primary-teal);
    transform: scale(1.1) translateY(-5px) !important;
}

/* Custom Section Styling */
.header-divider-fancy {
    position: relative;
    width: 150px;
    height: 2px;
    background: #e0e0e0;
}

    .header-divider-fancy .pulse-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background: #b73d3a;
        /* Your Teal Color */
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 0 2px #b73d3a;
    }

/* Feature Icon Design */
.feature-icon-box {
    font-size: 40px;
    color: #333;
    /* Dark icons as per image */
    transition: all 0.3s ease;
}

.feature-item {
    transition: all 0.3s ease;
    padding: 20px 10px;
}

    .feature-item:hover {
        transform: translateY(-10px);
    }

        .feature-item:hover .feature-icon-box {
            color: #b73d3a;
            /* Hover color change */
        }

    .feature-item h5 {
        color: #2c3e50;
        font-size: 1.25rem;
    }

    .feature-item p {
        line-height: 1.6;
    }

/* About Section Styles */
.text-teal {
    color: #b73d3a;
}

.about-img-wrapper {
    padding: 30px;
}

/* The Green Border Box behind image */
.image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 90%;
    border: 3px solid #b73d3a;
    border-radius: 15px;
    z-index: 0;
}

.z-index-1 {
    z-index: 1;
}

.header-divider-small {
    width: 50px;
    height: 2px;
    background: #b73d3a;
}

/* Custom Checklist Style from Image */
.about-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

    .about-checklist li span {
        position: absolute;
        left: 0;
        width: 22px;
        height: 12px;
        background: linear-gradient(to right, #b73d3a 50%, #149286 50%);
        border-radius: 20px;
    }

    /* Animation on hover for checklist */
    .about-checklist li:hover {
        color: #b73d3a;
        transition: 0.3s;
    }

/* Department Tabs Styling */
.department-tabs {
    border-bottom: none;
    gap: 15px;
}

    .department-tabs .nav-item .nav-link {
        background: white;
        color: #555;
        border: 1px solid #eee;
        border-radius: 10px;
        width: 130px;
        height: 110px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    }

        .department-tabs .nav-item .nav-link i {
            font-size: 30px;
            color: var(--primary-teal);
        }

        .department-tabs .nav-item .nav-link span {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Active and Hover State - Exactly like Image */
        .department-tabs .nav-item .nav-link.active,
        .department-tabs .nav-item .nav-link:hover {
            background: #1a252f;
            /* Dark Blue from Image */
            color: white !important;
            border-color: #1a252f;
        }

            .department-tabs .nav-item .nav-link.active i,
            .department-tabs .nav-item .nav-link:hover i {
                color: white;
            }

/* Content Fade Animation */
.tab-pane.fade {
    transition: opacity 0.4s linear;
}

.text-teal {
    color: #b73d3a;
}

/* Stats Box Styling */
.stats-box {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    margin-top: -60px;
    /* Overlapping effect */
    position: relative;
    z-index: 10;
}

.counter-item i {
    font-size: 35px;
    color: #b73d3a;
    /* Your Teal Color */
    display: block;
}

.counter-value {
    font-size: 2.5rem;
    color: #1a252f;
    /* Dark Blue from your images */
    margin-bottom: 5px;
}

/* Custom separator lines for desktop */
@media (min-width: 768px) {
    .border-end-custom {
        border-right: 1px solid #eee;
    }
}

.counter-item:hover i {
    transform: scale(1.2) translateY(-5px);
    transition: 0.3s ease;
}

.stats-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}
