/* Shared styling for the Hindi IVF process guide and IVF centre information page. */
.ivf-page-header .page-header-box h1 {
    max-width: 900px;
    margin: 0 auto 14px;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 500;
    line-height: 1.18;
}

.ivf-header-subtitle {
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 400;
    line-height: 1.55;
}

.ivf-page-content {
    color: #5e6472;
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
}

.ivf-page-content h2,
.ivf-page-content h3,
.ivf-appointment-card h2 {
    color: #20296e;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.ivf-page-content h2,
.ivf-appointment-card h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.5vw, 42px);
}

.ivf-page-content h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.ivf-page-content p {
    margin: 0 0 16px;
    line-height: 1.75;
}

.ivf-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.ivf-narrow {
    max-width: 850px;
}

.ivf-section {
    padding: clamp(58px, 8vw, 100px) 0;
}

.ivf-section-tint {
    background: #f6f7ff;
}

.ivf-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #d94f88;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ivf-intro-copy {
    max-width: 760px;
}

.ivf-intro-copy > p {
    max-width: 720px;
}

.ivf-section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.ivf-section-heading .ivf-eyebrow {
    margin-bottom: 10px;
}

.ivf-section-heading p {
    margin: 0 auto;
}

.ivf-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, .75fr);
    align-items: center;
    gap: clamp(24px, 5vw, 54px);
    margin-top: 40px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #e8eaf6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(32, 41, 110, .07);
}

.ivf-video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    background: #141b42;
}

.ivf-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ivf-video-caption h3 {
    font-size: 25px;
}

.ivf-video-caption p {
    margin-bottom: 0;
}

.ivf-process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ivf-process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px;
    border: 1px solid #e9eaf5;
    border-radius: 16px;
    background: #fff;
}

.ivf-step-number,
.ivf-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fceaf2;
    color: #c93f78;
    font-size: 14px;
    font-weight: 500;
}

.ivf-process-step h3 {
    margin-top: 3px;
}

.ivf-process-step p {
    margin: 0;
}

.ivf-faq-list {
    border-top: 1px solid #e7e8f0;
}

.ivf-faq-item {
    border-bottom: 1px solid #e7e8f0;
}

.ivf-faq-item summary {
    position: relative;
    padding: 21px 48px 21px 2px;
    color: #20296e;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}

.ivf-faq-item summary::-webkit-details-marker {
    display: none;
}

.ivf-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 5px;
    color: #d94f88;
    font-size: 24px;
    font-weight: 400;
    content: "+";
    transform: translateY(-50%);
}

.ivf-faq-item[open] summary::after {
    content: "−";
}

.ivf-faq-item p {
    max-width: 760px;
    margin: 0;
    padding: 0 36px 23px 2px;
}

.ivf-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding: 24px 26px;
    border-radius: 16px;
    background: #f6f7ff;
}

.ivf-inline-cta p {
    margin: 0;
    color: #20296e;
}

.ivf-primary-link,
.ivf-secondary-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ivf-primary-link {
    background: #f06da1;
    color: #fff;
    box-shadow: 0 8px 20px rgba(240, 109, 161, .2);
}

.ivf-primary-link:hover,
.ivf-primary-link:focus-visible {
    background: #df578d;
    color: #fff;
    box-shadow: 0 11px 24px rgba(240, 109, 161, .3);
    transform: translateY(-2px);
}

.ivf-secondary-link {
    color: #20296e;
    background: #f3f4fc;
}

.ivf-secondary-link:hover,
.ivf-secondary-link:focus-visible {
    color: #20296e;
    background: #e9ebfa;
}

.ivf-india-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: center;
    gap: clamp(30px, 7vw, 90px);
}

.ivf-india-intro .ivf-intro-copy {
    max-width: 670px;
}

.ivf-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.ivf-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ivf-trust-points li {
    padding: 8px 12px;
    border: 1px solid #e8e9f3;
    border-radius: 99px;
    background: #fff;
    color: #414969;
    font-size: 13px;
    line-height: 1.35;
}

.ivf-photo-wrap {
    position: relative;
    display: flex;
    min-height: 420px;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    border-radius: 48% 48% 22px 22px;
    background: linear-gradient(150deg, #fff0f5 0%, #eaf5ff 100%);
}

.ivf-photo-halo {
    position: absolute;
    top: 13%;
    left: 12%;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
}

.ivf-photo-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 380px);
    max-height: 490px;
    object-fit: contain;
    object-position: bottom;
}

.ivf-photo-caption {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    margin: 0 !important;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 10px;
    background: rgba(255, 255, 255, .88);
    color: #20296e;
    font-size: 14px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.ivf-two-column-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr);
    gap: clamp(30px, 6vw, 75px);
    align-items: start;
}

.ivf-fact-panel {
    padding: 27px;
    border-left: 3px solid #f06da1;
    border-radius: 0 16px 16px 0;
    background: #fff;
    box-shadow: 0 12px 35px rgba(32, 41, 110, .06);
}

.ivf-fact-panel h3 {
    font-size: 23px;
}

.ivf-fact-panel p {
    margin-bottom: 14px;
}

.ivf-fact-panel a,
.ivf-treatment-item {
    color: #20296e;
}

.ivf-fact-panel a {
    font-weight: 500;
    text-decoration: none;
}

.ivf-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ivf-treatment-item {
    display: block;
    min-height: 220px;
    padding: 24px;
    border: 1px solid #e9eaf5;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ivf-treatment-item:hover,
.ivf-treatment-item:focus-visible {
    border-color: #f0a6c3;
    color: #20296e;
    box-shadow: 0 15px 34px rgba(32, 41, 110, .08);
    transform: translateY(-3px);
}

.ivf-treatment-item > span {
    display: block;
    margin-bottom: 16px;
    color: #d94f88;
    font-size: 13px;
    font-weight: 500;
}

.ivf-treatment-item h3 {
    font-size: 19px;
}

.ivf-treatment-item p {
    margin: 0;
    color: #5e6472;
    font-size: 15px;
}

.ivf-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ivf-info-card {
    padding: 27px;
    border: 1px solid #e8eaf5;
    border-radius: 16px;
    background: #fff;
}

.ivf-info-card .ivf-card-index {
    width: 38px;
    height: 38px;
    margin-bottom: 17px;
    font-size: 12px;
}

.ivf-info-card h3 {
    font-size: 20px;
}

.ivf-info-card p {
    margin: 0;
}

.ivf-appointment-section {
    padding: clamp(48px, 7vw, 86px) 0;
    background: #fff;
}

.ivf-appointment-card {
    padding: clamp(26px, 6vw, 58px);
    border-radius: 22px;
    background: linear-gradient(115deg, #fbf1ef 0%, #e7f4fc 56%, #f0f7ff 100%);
}

.ivf-appointment-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.ivf-appointment-heading .ivf-eyebrow {
    margin-bottom: 8px;
}

.ivf-appointment-card h2 {
    font-size: clamp(32px, 5vw, 48px);
}

.ivf-appointment-card h2 span {
    color: #e75e96;
}

.ivf-appointment-heading p {
    max-width: 670px;
    margin: 0;
}

.ivf-appointment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.ivf-form-field input,
.ivf-form-field select {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid rgba(32, 41, 110, .06);
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: #3f4552;
    font: inherit;
    font-weight: 400;
    line-height: 1.3;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ivf-form-field input::placeholder {
    color: #686d78;
    opacity: 1;
}

.ivf-form-field input:focus,
.ivf-form-field select:focus {
    border-color: #e982aa;
    box-shadow: 0 0 0 3px rgba(240, 109, 161, .15);
}

.ivf-form-field select {
    appearance: auto;
    cursor: pointer;
}

.ivf-form-field input[type="date"] {
    color: #686d78;
}

.ivf-form-wide,
.ivf-form-submit,
.ivf-form-note {
    grid-column: 1 / -1;
}

.ivf-form-submit {
    margin-top: 8px;
}

.ivf-form-submit .ivf-primary-link {
    min-width: 245px;
    min-height: 52px;
}

.ivf-form-note {
    margin: -5px 0 0 !important;
    color: #686d78;
    font-size: 13px;
}

.ivf-form-status {
    margin-bottom: 22px;
    padding: 14px 17px;
    border: 1px solid #cfe8d7;
    border-radius: 10px;
    background: #f1fbf4;
    color: #27583a;
    line-height: 1.5;
}

.ivf-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 900px) {
    .ivf-india-intro {
        grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr);
        gap: 30px;
    }

    .ivf-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ivf-container {
        width: min(100% - 32px, 560px);
    }

    .ivf-page-header .page-header-box h1 {
        font-size: clamp(33px, 9vw, 46px);
    }

    .ivf-video-panel,
    .ivf-india-intro,
    .ivf-two-column-copy {
        grid-template-columns: 1fr;
    }

    .ivf-video-panel {
        gap: 22px;
    }

    .ivf-process-list,
    .ivf-info-grid {
        grid-template-columns: 1fr;
    }

    .ivf-process-step {
        grid-template-columns: 42px 1fr;
        gap: 13px;
        padding: 21px 17px;
    }

    .ivf-step-number {
        width: 40px;
        height: 40px;
    }

    .ivf-inline-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ivf-photo-wrap {
        width: min(100%, 380px);
        min-height: 350px;
        margin: 4px auto 0;
    }

    .ivf-photo-wrap img {
        max-height: 400px;
    }

    .ivf-treatment-grid {
        grid-template-columns: 1fr;
    }

    .ivf-treatment-item {
        min-height: 0;
    }

    .ivf-appointment-form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .ivf-form-wide,
    .ivf-form-submit,
    .ivf-form-note {
        grid-column: auto;
    }

    .ivf-form-submit .ivf-primary-link {
        width: 100%;
    }

    .ivf-faq-item summary {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ivf-primary-link,
    .ivf-secondary-link,
    .ivf-treatment-item {
        transition: none;
    }
}

/* Source copy and paired FAQ / appointment layouts. */
.ivf-source-content {
    box-sizing: border-box;
    color: #5e6472;
}

.ivf-hindi-page > .ivf-source-content {
    padding: clamp(30px, 4vw, 50px) clamp(16px, 2.4vw, 30px) clamp(40px, 5vw, 60px);
}

.ivf-source-content h2,
.ivf-source-content h3 {
    margin: 34px 0 14px;
    color: #20296e;
    font-weight: 500;
    line-height: 1.35;
}

.ivf-source-content h2:first-child {
    margin-top: 0;
}

.ivf-source-content h2 {
    font-size: clamp(23px, 2.8vw, 32px);
}

.ivf-source-content h3 {
    font-size: 20px;
}

.ivf-source-content p,
.ivf-source-content li {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.ivf-source-content p {
    margin: 0 0 16px;
}

.ivf-source-content ul {
    margin: 0 0 24px;
    padding-left: 22px;
}

.ivf-source-content a {
    color: #20296e;
    text-decoration-color: #e982aa;
    text-underline-offset: 3px;
}

.ivf-source-video {
    width: min(100%, 460px);
    margin: 34px 0 18px;
}

.ivf-faq-booking-section {
    padding-top: 55px;
}

.ivf-faq-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
}

.ivf-booking-only .ivf-faq-booking-grid {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.ivf-faq-column,
.ivf-booking-column {
    min-width: 0;
}

.ivf-faq-column > p {
    margin: 0 0 20px;
}

.ivf-booking-column {
    position: relative;
}

.ivf-booking-column {
    align-self: start;
}

.ivf-booking-only .ivf-booking-column {
    position: static;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.ivf-appointment-card {
    height: 100%;
    padding: clamp(22px, 3vw, 36px);
}

.ivf-appointment-card h2 {
    margin-bottom: 12px;
    font-size: clamp(25px, 2.7vw, 36px);
}

.ivf-appointment-heading {
    margin-bottom: 24px;
}

.ivf-appointment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ivf-form-submit .ivf-primary-link {
    min-width: 0;
}

.ivf-form-status[hidden] {
    display: none;
}

.ivf-appointment-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.ivf-call-link {
    display: inline-flex;
    min-width: 145px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin: 6px 0 22px;
    padding: 9px 18px;
    border-radius: 10px;
    background: #f06da1;
    color: #fff !important;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;
}

.ivf-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.ivf-benefit-list span {
    padding: 12px;
    border: 1px solid #e8e9f3;
    border-radius: 10px;
    background: #fff;
    color: #20296e;
    font-size: 14px;
}

.ivf-copy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.ivf-copy-tabs a {
    padding: 9px 15px;
    border: 1px solid #e8e9f3;
    border-radius: 99px;
    background: #fff;
    color: #20296e;
    text-decoration: none;
}

.ivf-india-page > .ivf-section {
    padding-block: clamp(40px, 4.5vw, 58px);
}

.ivf-cost-media-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(20px, 3vw, 40px);
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto clamp(40px, 5vw, 64px);
}

.ivf-cost-media-booking-grid > .ivf-section {
    min-width: 0;
    padding: clamp(22px, 3vw, 36px);
    border-radius: 22px;
}

.ivf-cost-media-booking-grid .ivf-container {
    width: 100%;
    max-width: none;
}

.ivf-cost-media-booking-grid .ivf-video-frame {
    max-width: 900px;
    margin: 0 auto;
}

.ivf-cost-media-booking-grid .ivf-booking-only {
    padding: clamp(22px, 3vw, 36px);
}

.ivf-cost-media-booking-grid .ivf-booking-only .ivf-faq-booking-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    max-width: none;
}

.ivf-cost-media-booking-grid .ivf-booking-only .ivf-booking-column {
    max-width: none;
}

.test-tube-baby-page .ivf-booking-only .ivf-faq-booking-grid,
.ivf-booking-only.appointment-page-female-infertility .ivf-faq-booking-grid,
.ivf-booking-only.appointment-page-male-infertility .ivf-faq-booking-grid,
.ivf-booking-only.appointment-page-tuberculosis-symptoms-treatment .ivf-faq-booking-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    max-width: none;
}

.test-tube-baby-page .ivf-booking-only .ivf-booking-column,
.ivf-booking-only.appointment-page-female-infertility .ivf-booking-column,
.ivf-booking-only.appointment-page-male-infertility .ivf-booking-column,
.ivf-booking-only.appointment-page-tuberculosis-symptoms-treatment .ivf-booking-column {
    max-width: none;
}

@media (max-width: 900px) {
    .ivf-faq-booking-grid {
        grid-template-columns: 1fr;
    }

    .ivf-cost-media-booking-grid {
        grid-template-columns: 1fr;
        width: min(100% - 32px, 560px);
    }

    .ivf-appointment-card {
        height: auto;
    }
}

@media (min-width: 901px) {
    .ivf-booking-column {
        position: sticky;
        top: 28px;
    }
}

@media (max-width: 680px) {
    .ivf-india-page > .ivf-section {
        padding-block: 34px;
    }
}

@media (max-width: 680px) {
    .ivf-appointment-form {
        grid-template-columns: 1fr;
    }

    .ivf-form-wide,
    .ivf-form-submit {
        grid-column: auto;
    }
}
