/* Scoped to the doctor profile page only (main.dp-page) so it never affects the shared header, footer or popup */
.dp-page,
.dp-page * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.dp-page {
    margin: 0;
    color: #333;
    font-family: Arial, sans-serif;
    background: #fff;
    line-height: 1.6;
}

.dp-page img,
.dp-page iframe {
    display: block;
    max-width: 100%;
}

.dp-page a {
    color: inherit;
    text-decoration: none;
}

.dp-page .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.dp-page .row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -14px;
}

.dp-page .align-items-center {
    align-items: center;
}

.dp-page [class*="col-"] {
    padding-inline: 14px;
}

.dp-page .col-3 {
    width: 25%;
}

.dp-page .col-4 {
    width: 33.333%;
}

.dp-page .col-5 {
    width: 41.666%;
}

.dp-page .col-6 {
    width: 50%;
}

.dp-page .col-7 {
    width: 58.333%;
}

.dp-page .col-9 {
    width: 75%;
}

.dp-page .aos-ready {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.dp-page [data-aos="fade-up"].aos-ready {
    transform: translateY(28px);
}

.dp-page [data-aos="fade-right"].aos-ready {
    transform: translateX(-28px);
}

.dp-page [data-aos="fade-left"].aos-ready {
    transform: translateX(28px);
}

.dp-page [data-aos="zoom-in"].aos-ready {
    transform: scale(0.95);
}

.dp-page .aos-ready.aos-animate {
    opacity: 1;
    transform: none;
}

.dp-page .hero-section {
    position: relative;
    overflow: hidden;
    padding: 58px 0 54px;
    background: #fff;
}

.dp-page .hero-section::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    content: "";
    background: rgba(0, 125, 182, 0.08);
}

.dp-page .hero-section .container {
    position: relative;
    z-index: 1;
}

.dp-page .page-kicker,
.dp-page .section-title span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #007db6;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dp-page .page-kicker::before {
    width: 36px;
    height: 2px;
    content: "";
    background: #007db6;
}

.dp-page .hero-content h1 {
    margin: 14px 0 0;
    color: #ad569b;
    font-size: clamp(44px, 5vw, 74px);
    line-height: 1.04;
    letter-spacing: 0;
}

.dp-page .hero-content h2 {
    max-width: 760px;
    margin: 18px 0 0;
    color: #007db6;
    font-size: clamp(23px, 2.15vw, 32px);
    line-height: 1.34;
}

.dp-page .hero-content p,
.dp-page .about-text {
    color: #333;
    font-size: 18px;
}

.dp-page .hero-content p {
    max-width: 660px;
    margin: 20px 0 0;
}

.dp-page .doctor-photo {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.dp-page .doctor-photo::before {
    position: absolute;
    inset: 0 20px 0 54px;
    content: "";
    border-radius: 60px 20px 60px 20px;
    background: rgba(173, 86, 155, 0.09);
}

.dp-page .doctor-photo img {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    border: 0;
    border-radius: 60px 20px 60px 20px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(51, 51, 51, 0.18);
}

.dp-page .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.dp-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 26px;
    border: 1px solid #ad569b;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1.1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-page .btn:hover {
    transform: translateY(-2px);
}

.dp-page .btn-primary,
.dp-page .btn-white:hover {
    color: #fff;
    background: #ad569b;
}

.dp-page .btn-primary:hover {
    box-shadow: 0 14px 28px rgba(173, 86, 155, 0.26);
}

.dp-page .btn-outline {
    color: #007db6;
    border-color: #007db6;
    background: #fff;
}

.dp-page .btn-white {
    width: 100%;
    min-height: 58px;
    color: #ad569b;
    border-color: #fff;
    background: #fff;
    font-size: 17px;
}

.dp-page .about-section,
.dp-page .expertise-section,
.dp-page .timings-section,
.dp-page .testimonial-section,
.dp-page .cta-section {
    padding: 50px 0;
}

.dp-page .about-card {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    border: 1px solid rgba(173, 86, 155, 0.38);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(51, 51, 51, 0.08);
}

.dp-page .section-title {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.dp-page .section-title.left {
    margin: 0;
    text-align: left;
}

.dp-page .section-title span {
    display: inline-block;
    margin-bottom: 8px;
}

.dp-page .section-title h2,
.dp-page .cta-section h2 {
    margin: 0;
    color: #ad569b;
    font-size: clamp(31px, 3.1vw, 48px);
    line-height: 1.14;
}

.dp-page .about-copy {
    position: relative;
    z-index: 1;
}

.dp-page .about-text {
    margin: 0;
}

.dp-page .about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.dp-page .about-points div {
    padding: 18px;
    border-left: 4px solid #007db6;
    border-radius: 6px;
    background: rgba(0, 125, 182, 0.07);
}

.dp-page .about-points strong {
    display: block;
    color: #ad569b;
    font-size: 18px;
    line-height: 1.2;
}

.dp-page .about-points span {
    display: block;
    margin-top: 6px;
    color: #333;
}

.dp-page .expertise-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 125, 182, 0.055), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 50% 35%, rgba(173, 86, 155, 0.11), transparent 38%);
}

.dp-page .expertise-section .container {
    position: relative;
    z-index: 1;
}

.dp-page .expertise-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    padding: 20px 0 6px;
}

.dp-page .expertise-flow::before {
    position: absolute;
    top: 50px;
    right: 9%;
    left: 9%;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, rgba(0, 125, 182, 0.14), rgba(173, 86, 155, 0.32), rgba(0, 125, 182, 0.14));
}

.dp-page .expertise-point {
    position: relative;
    padding-top: 2px;
    text-align: center;
}

.dp-page .expertise-point i {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    color: #007db6;
    border: 8px solid #f4fbff;
    border-radius: 999px;
    outline: 1px solid rgba(0, 125, 182, 0.18);
    background: linear-gradient(135deg, #007db6, #1094cf);
    box-shadow: 0 18px 36px rgba(0, 125, 182, 0.18);
    color: #fff;
    font-size: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dp-page .expertise-point:hover i {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(0, 125, 182, 0.24);
}

.dp-page .expertise-point h3 {
    margin: 0 0 12px;
    color: #2d2d2d;
    font-size: 22px;
    line-height: 1.2;
}

.dp-page .expertise-point p {
    margin: 0;
    color: #4c4c4c;
    font-size: 17px;
    line-height: 1.58;
}

.dp-page .timings-section {
    background: #fff;
}

.dp-page .timing-table-wrap {
    overflow-x: auto;
    position: relative;
    padding: 12px;
    border: 1px solid rgba(173, 86, 155, 0.22);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(51, 51, 51, 0.08);
}

.dp-page .timing-table {
    width: 100%;
    min-width: 860px;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid rgba(173, 86, 155, 0.2);
    border-radius: 8px;
    text-align: center;
    background: #fff;
}

.dp-page .timing-table th,
.dp-page .timing-table td {
    border: 1px solid rgba(173, 86, 155, 0.18);
}

.dp-page .timing-table th {
    padding: 22px 14px;
    color: #007db6;
    background: #f4fbff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-page .timing-table td {
    padding: 28px 14px 30px;
    color: #333;
    background: #fff;
    transition: background 0.2s ease;
}

.dp-page .timing-table td:hover {
    background: rgba(0, 125, 182, 0.055);
}

.dp-page .timing-table strong {
    display: block;
    color: #ad569b;
    font-size: 22px;
    line-height: 1.15;
}

.dp-page .timing-table span {
    display: block;
    margin: 8px 0;
    color: #333;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dp-page .timing-table .closed {
    background: #f8f3f7;
    vertical-align: middle;
}

.dp-page .timing-table .closed strong {
    color: #333;
    font-size: 24px;
}

.dp-page .video-card {
    overflow: hidden;
    border: 1px solid #007db6;
    border-radius: 8px;
    background: #333;
    box-shadow: 0 16px 36px rgba(51, 51, 51, 0.1);
}

.dp-page .video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.dp-page .cta-section {
    color: #fff;
    background: linear-gradient(110deg, #007db6 0%, #007db6 46%, #ad569b 100%);
}

.dp-page .cta-section .row {
    padding: 10px 0;
}

.dp-page .cta-section h2,
.dp-page .cta-section p {
    color: #fff;
}

.dp-page .cta-section h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.dp-page .cta-section p {
    margin: 8px 0 0;
    font-size: 19px;
}

@media (max-width: 991px) {
    .dp-page .col-3,
    .dp-page .col-4,
    .dp-page .col-5,
    .dp-page .col-6,
    .dp-page .col-7,
    .dp-page .col-9 {
            width: 100%;
        }
    
    .dp-page .hero-section {
            padding: 44px 0 48px;
        }
    
    .dp-page .doctor-photo {
            justify-content: flex-start;
            margin-top: 32px;
        }
    
    .dp-page .video-card {
            margin-bottom: 22px;
        }
    
    .dp-page .expertise-flow {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 34px 28px;
        }
    
    .dp-page .expertise-flow::before {
            display: none;
        }
    
    .dp-page .timing-table {
            min-width: 760px;
        }
    
    .dp-page .section-title.left {
            margin-bottom: 20px;
        }
    
    .dp-page .btn-white {
            width: auto;
            margin-top: 24px;
        }
    
    }

@media (max-width: 767px) {
    .dp-page .timing-table-wrap {
            padding: 8px;
        }
    
    }

@media (max-width: 575px) {
    .dp-page .container {
            width: min(100% - 28px, 1180px);
        }
    
    .dp-page .hero-content h1 {
            font-size: 40px;
        }
    
    .dp-page .hero-content h2 {
            font-size: 22px;
        }
    
    .dp-page .btn {
            width: 100%;
        }
    
    .dp-page .about-section,
    .dp-page .expertise-section,
    .dp-page .timings-section,
    .dp-page .testimonial-section,
    .dp-page .cta-section {
            padding: 42px 0;
        }
    
    .dp-page .about-card {
            padding: 24px 18px;
        }
    
    .dp-page .about-points {
            grid-template-columns: 1fr;
        }
    
    .dp-page .expertise-flow {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    
    .dp-page .expertise-point {
            display: grid;
            grid-template-columns: 64px 1fr;
            column-gap: 16px;
            text-align: left;
        }
    
    .dp-page .expertise-point i {
            grid-row: span 2;
            width: 56px;
            height: 56px;
            margin-bottom: 0;
            border-width: 6px;
            font-size: 19px;
        }
    
    .dp-page .expertise-point h3 {
            font-size: 21px;
        }
    
    .dp-page .timing-table {
            min-width: 660px;
        }
    
    .dp-page .timing-table th {
            padding: 16px 10px;
        }
    
    .dp-page .timing-table td {
            padding: 20px 10px;
        }
    
    .dp-page .timing-table strong {
            font-size: 20px;
        }
    
    .dp-page .doctor-photo {
            padding: 12px;
        }
    
    }

/* Hero buttons: identical size and style for "Book Consultation" and "View Timings" */
.dp-page .hero-actions .btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 0 26px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Fixed header offset: main starts below the fixed navbar (JS in the page keeps this exact) */
.dp-page {
    padding-top: 140px;
}

.dp-page section[id] {
    scroll-margin-top: 140px;
}

@media (max-width: 991px) {
    .dp-page {
        padding-top: 110px;
    }

    .dp-page section[id] {
        scroll-margin-top: 110px;
    }
}
