/* Custom CSS for Dr. Buddy */

:root {
    /* Main Theme Colors - Change these to update the entire website */
    --primary-color: #0F6CBD;
    --primary-hover: #0b5394;
    --primary-light: #e6f0fa;

    --success-color: #1FBF75;
    --success-hover: #179e60;
    --success-light: #e8f9f1;

    --wa-color: #25D366;
    --wa-hover: #128C7E;

    --bg-light: #F5F9FC;
    --text-dark: #2D3748;
    --text-muted: #718096;

    /* Override Bootstrap Variables */
    --bs-primary: var(--primary-color);
    --bs-success: var(--success-color);
}

/* Custom Topbar Styles */
.topbar {
    background-color: #084275 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.topbar .emergency-badge {
    background-color: #EA4335 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: background-color 0.2s ease;
}

.topbar .emergency-badge:hover {
    background-color: #d33828 !important;
}

.topbar .phone-icon-tilted {
    transform: rotate(25deg);
    color: #ffffff;
}

.topbar .topbar-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.topbar .topbar-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.topbar .topbar-value-green {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1ed760;
}

.topbar .topbar-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-left: 15px;
    margin-right: 15px;
}

.topbar .topbar-whatsapp-icon {
    font-size: 1.6rem;
    color: #25D366;
}

.topbar .topbar-email-icon {
    font-size: 1.3rem;
    color: #ffffff;
}

.topbar .topbar-email-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Typography Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-light-gray {
    background-color: var(--bg-light) !important;
}

.bg-primary-subtle {
    background-color: var(--primary-light) !important;
}

.bg-success-subtle {
    background-color: var(--success-light) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--success-hover);
    border-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-dark) !important;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown toggle - override ::after for dropdown */
.nav-link.dropdown-toggle::after {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background-color: transparent;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    vertical-align: 0.15em;
}

/* Navbar background - solid white */
nav.navbar.sticky-top {
    background-color: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Fix JPEG Logo White Background */
.navbar-brand img {
    mix-blend-mode: multiply;
}

/* Hero Section */
.hero-section {
    background: url('../ChatGPT%20Image%20Aug%2021%2C%202026%2C%2003_57_47%20PM.png') center center / 100% 100% no-repeat;
    padding: 60px 0 80px;
    position: relative;
    min-height: 90vh;
    height: auto;
    z-index: 1;
}

.hero-section::before {
    display: none;
}

/* Hero Badge */
.hero-badge {
    background-color: #e0f5ec !important;
    color: #1a8a5a !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 20px !important;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 8px !important;
}

/* Hero Heading */
.hero-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #084E97;
    line-height: 1.2;
    text-shadow: none;
}

.hero-zero {
    color: #05D0B0 !important;
    font-style: normal !important;
}

.hero-btn-consultation,
.hero-btn-whatsapp {
    border-radius: 8px !important;
    min-width: 270px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.consultation {
    background-color:#0168C4;
    border-color: #0F6CBD;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px !important;
    min-width: 270px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
}

.hero-btn-consultation:hover,
.hero-btn-consultation:focus,
.hero-btn-consultation:active {
    background-color: #0156a3 !important;
    border-color: #0156a3 !important;
    color: #ffffff !important;
}

/* Reduce border radius on section buttons */
.book-btn,
.btn.rounded-pill {
    border-radius: 8px !important;
}

.help-card {
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 768px) {
    .feature-col::after {
        content: '';
        position: absolute;
        top: 10%;
        right: 0;
        height: 80%;
        width: 1px;
        background-color: #d1e3f8;
    }
}

.hero-zero {
    color: var(--primary-color);
    font-style: italic;
}

/* Hero Subtext */
.hero-subtext {
    color: #5a6d80;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 400px;
}

/* Hero Buttons */
.hero-btn-consultation {
    background-color: #0a3d6b !important;
    border-color: #0a3d6b !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 28px !important;
}

.hero-btn-consultation:hover {
    background-color: #072d50 !important;
    border-color: #072d50 !important;
}

.hero-btn-whatsapp {
    color: var(--success-color) !important;
    border-color: var(--success-color) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 28px !important;
    background: transparent !important;
}

.hero-btn-whatsapp:hover {
    background-color: var(--success-color) !important;
    color: #fff !important;
}

/* Trust Indicators */
.hero-trust-row {
    gap: 30px !important;
}

.hero-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e6f0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hero-rupee {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.hero-trust-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2D3748;
    line-height: 1.3;
}

/* Hero Doctor Image */
.hero-image-wrapper {
    position: relative;
    max-width: 480px;
    margin-left: auto;
}

.hero-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8daf5 0%, #dceefb 100%);
    bottom: 0;
    right: 10%;
    z-index: 0;
    opacity: 0.6;
}

.hero-doctor-img {
    position: relative;
    z-index: 1;
    max-height: 480px;
    object-fit: contain;
    object-position: bottom;
}

/* Hero Card (legacy - keep for other pages) */

/* Forms */
.form-control,
.form-select {
    padding: 0.8rem 1.2rem;
    border-radius: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 4px var(--primary-light);
    background-color: #fff !important;
}

/* Avatar Group */
.avatar-group img {
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.avatar-group img:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 10;
}


/* Video Testimonials Scroll Container */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Video Card Hover Effects */
.testimonial-video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.testimonial-video-card:hover .play-btn {
    transform: scale(1.1);
    background-color: var(--bs-primary) !important;
}

.testimonial-video-card:hover .play-btn i {
    color: white !important;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.service-card .icon-box {
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.book-btn {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover .book-btn {
    opacity: 1;
    background-color: var(--primary-color);
    color: white;
}

/* Step Items */
.step-item {
    position: relative;
}

.step-item:hover .rounded-circle {
    transform: scale(1.1);
    background-color: var(--success-color) !important;
    color: white !important;
    transition: all 0.3s ease;
}

/* Utilities */
.tracking-wide {
    letter-spacing: 0.1em;
}

.max-w-700 {
    max-width: 700px;
}

.z-index-1 {
    z-index: 1;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-light);
    border-color: var(--primary-color);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-color);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    background-color: var(--wa-hover);
    color: white;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-section {
        text-align: left;
        background-size: cover !important;
        background-position: 85% center !important;
        height: auto !important;
        min-height: 100vh !important;
        padding-bottom: 3rem !important;
    }

    .hero-section .col-lg-6.z-index-1 {
        max-width: 55%;
    }

    .hero-section .d-flex {
        justify-content: flex-start;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .hero-section .btn-lg {
        font-size: 0.85rem;
        padding: 8px 16px !important;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px !important;
    }

    .hero-trust-row {
        gap: 12px !important;
    }

    .hero-trust-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .hero-trust-text {
        font-size: 0.7rem;
    }

    .shape-1 {
        display: none;
    }

    .stat-chip {
        padding: 0.9rem 0.35rem !important;
    }

    .stat-chip h4 {
        font-size: clamp(0.85rem, 3.6vw, 1.2rem) !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* Emergency Warning Banner Responsive Styles */
.emergency-warning-banner {
    font-size: 0.88rem;
    background-color: #dc3545 !important;
}

.emergency-banner-desc {
    font-size: 0.86rem;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .emergency-warning-banner {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .emergency-banner-desc {
        font-size: 0.8rem;
        line-height: 1.45;
        max-width: 500px;
    }
}