/* =========================================================
   PLANS PAGE
   Vikash Bahadur Singh
========================================================= */


/* =========================================================
   BASIC RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #17233c;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}


/* =========================================================
   NAVBAR
========================================================= */



.navbar {
    width: 100%;
    height: 88px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}



.navigation a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.navigation a:hover {
    color: #1d4f91;
}

.navigation a.active {
    color: #1d4f91;
}

.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 17px;

    height: 2px;

    background: #1d4f91;

    border-radius: 10px;
}


/* =========================================================
   HERO
========================================================= */

.plans-hero {
    width: 100%;

    background: #f5f8fc;

    padding: 90px 25px 80px;

    border-bottom: 1px solid #e5e8ee;
}

.hero-container {
    max-width: 950px;

    margin: auto;

    text-align: center;
}

.eyebrow {
    margin-bottom: 15px;

    color: #1d4f91;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.plans-hero h1,
.plans-hero h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 48px;

    line-height: 1.2;

    color: #14213d;

    font-weight: 600;

    margin-bottom: 25px;
}

.plans-hero h1 span,
.plans-hero h2 span {
    color: #1d4f91;
}

.hero-description {
    max-width: 750px;

    margin: auto;

    font-size: 17px;

    line-height: 1.85;

    color: #596579;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.plans-introduction {
    max-width: 1050px;

    margin: auto;

    padding: 90px 30px;

    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 35px;

    align-items: start;
}

.section-number,
.education-number {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #17233c;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;
}

.intro-content {
    max-width: 850px;
}

.intro-content h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;

    line-height: 1.3;

    color: #14213d;

    margin-bottom: 25px;
}

.intro-content p {
    max-width: 820px;

    margin-bottom: 18px;

    font-family: "Times New Roman", Times, serif;

    font-size: 17px;

    line-height: 1.9;

    color: #4e596b;
}


/* =========================================================
   PLANS SECTION
========================================================= */

.plans-section {
    background: #f7f9fc;
    padding: 85px 25px 90px;
}

.section-heading {
    max-width: 1400px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    color: #1d4f91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.05;

    font-weight: 500;

    color: #14213d;

}


/* =========================================================
   PLAN GRID
========================================================= */

.plans-grid {
    width: 100%;

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}


/* =========================================================
   PLAN CARD
========================================================= */

.plan-card {
    background: #ffffff;

    border: 1px solid #e1e6ee;

    border-radius: 16px;

    padding: 25px;

    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(20, 33, 61, 0.12);
}


/* =========================================================
   FEATURED CARD
========================================================= */

.plan-card.featured {
    border-top: 4px solid #1d4f91;
}


/* =========================================================
   PLAN TITLE
========================================================= */

.plan-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;

    line-height: 1.35;

    color: #14213d;

    margin-bottom: 20px;
}


/* =========================================================
   PLAN IMAGE
   IMPORTANT:
   HTML USES .plan-image
========================================================= */

.plan-image {
    width: 100%;

    max-width: 100%;

    height: 300px;

    margin: 0 auto 25px;

    overflow: hidden;

    border-radius: 12px;

    background: #e9edf3;

    box-shadow: 0 6px 18px rgba(20, 33, 61, 0.10);
}


/* =========================================================
   ALL PLAN IMAGES
========================================================= */

.plan-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.4s ease;
}

.plan-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   PLAN DESCRIPTION
========================================================= */

.plan-card > p {
    width: 100%;

    max-width: 100%;

    margin: 0 0 20px;

    font-family: "Times New Roman", Times, serif;

    font-size: 16px;

    line-height: 1.8;

    color: #4e596b;

    text-align: left;
}


/* =========================================================
   PLAN LIST
========================================================= */

.plan-card ul {
    margin: 15px 0 0;

    padding-left: 22px;

    font-family: "Times New Roman", Times, serif;

    font-size: 16px;

    line-height: 1.75;

    color: #4e596b;
}

.plan-card li {
    margin-bottom: 8px;

    padding-left: 3px;
}

.plan-card li::marker {
    color: #1d4f91;
}


/* =========================================================
   EDUCATION SECTION
========================================================= */

.education-section {
    max-width: 1100px;

    margin: auto;

    padding: 90px 30px;

    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 35px;
}

.education-content {
    max-width: 900px;
}

.education-content h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 35px;

    line-height: 1.3;

    color: #14213d;

    margin-bottom: 25px;
}

.education-content > p {
    font-family: "Times New Roman", Times, serif;

    font-size: 17px;

    line-height: 1.9;

    color: #4e596b;

    margin-bottom: 18px;
}


/* =========================================================
   EDUCATION VIDEO
========================================================= */

.education-image {
    width: 100%;

    max-width: 850px;

    height: 390px;

    margin: 35px auto;

    overflow: hidden;

    border-radius: 14px;

    background: #111827;

    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.12);
}

.education-image video {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   EDUCATION THREE POINTS
========================================================= */

.education-points {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.education-points > div {
    padding: 25px;

    background: #f5f8fc;

    border: 1px solid #e1e6ee;

    border-radius: 12px;
}

.education-points span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 15px;

    border-radius: 50%;

    background: #17233c;

    color: #ffffff;

    font-size: 13px;

    font-weight: bold;
}

.education-points h4 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;

    color: #14213d;

    margin-bottom: 8px;
}

.education-points p {
    font-family: "Times New Roman", Times, serif;

    font-size: 15px;

    line-height: 1.7;

    color: #596579;
}


/* =========================================================
   LARGE VISION IMAGE
========================================================= */

.vision-image-section {
    width: 100%;

    max-width: 1150px;

    height: 430px;

    margin: 0 auto 90px;

    position: relative;

    overflow: hidden;

    border-radius: 16px;

    background: #17233c;
}

.vision-image-section img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}

.vision-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 40px;

    background: rgba(20, 33, 61, 0.55);
}

.vision-overlay h2 {
    max-width: 850px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    line-height: 1.4;

    color: #ffffff;

    font-weight: 600;
}


/* =========================================================
   CLOSING SECTION
========================================================= */

.closing-section {
    padding: 90px 25px;

    background: #f5f8fc;

    border-top: 1px solid #e1e6ee;
}

.closing-content {
    max-width: 850px;

    margin: auto;

    text-align: center;
}

.closing-content h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    line-height: 1.35;

    color: #14213d;

    margin: 15px 0 25px;
}

.closing-content > p:last-child {
    font-family: "Times New Roman", Times, serif;

    font-size: 17px;

    line-height: 1.9;

    color: #596579;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #14213d;

    color: #ffffff;

    padding: 45px 25px 20px;
}

.footer-container {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.footer h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;

    margin-bottom: 5px;
}

.footer p {
    color: #cbd3df;

    font-size: 13px;

    letter-spacing: 1px;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #8fb4df;
}

.footer-bottom {
    max-width: 1100px;

    margin: 35px auto 0;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    text-align: center;

    color: #bfc8d5;

    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .navigation {
        gap: 25px;
    }

    .plans-hero h2 {
        font-size: 40px;
    }

    .plans-grid {
        grid-template-columns: 1fr;

        max-width: 700px;
    }

    .plan-image {
        height: 320px;
    }

    .education-section,
    .plans-introduction {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .education-number,
    .section-number {
        margin-bottom: 5px;
    }

    .education-points {
        grid-template-columns: 1fr;
    }

    .vision-image-section {
        margin-left: 20px;
        margin-right: 20px;

        width: calc(100% - 40px);
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .navigation {
        min-height: auto;

        gap: 14px;

        padding: 10px 12px;

        flex-wrap: wrap;
    }

    .navigation a {
        font-size: 11px;

        padding: 10px 2px;
    }

    .navigation a.active::after {
        bottom: 3px;
    }


    /* HERO */

    .plans-hero {
        padding: 55px 18px 50px;
    }

    .plans-hero h2 {
        font-size: 31px;
    }

    .hero-description {
        font-size: 15px;

        line-height: 1.75;
    }


    /* INTRO */

    .plans-introduction {
        padding: 60px 20px;
    }

    .intro-content h2 {
        font-size: 28px;
    }

    .intro-content p {
        font-size: 16px;

        line-height: 1.8;
    }


    /* PLANS */

    .plans-section {
        padding: 60px 15px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .plans-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .plan-card {
        padding: 20px;

        border-radius: 13px;
    }

    .plan-card h3 {
        font-size: 22px;

        line-height: 1.35;

        margin-bottom: 17px;
    }


    /* MEDIUM MOBILE IMAGES */

    .plan-image {
        width: 100%;

        height: 230px;

        margin-bottom: 20px;

        border-radius: 10px;
    }


    .plan-card > p {
        font-size: 15px;

        line-height: 1.8;

        text-align: left;
    }

    .plan-card ul {
        font-size: 15px;

        line-height: 1.7;

        padding-left: 20px;
    }


    /* EDUCATION */

    .education-section {
        padding: 60px 20px;
    }

    .education-content h2 {
        font-size: 29px;
    }

    .education-content > p {
        font-size: 16px;

        line-height: 1.8;
    }

    .education-image {
        height: 250px;

        margin: 25px auto;
    }


    /* VISION */

    .vision-image-section {
        height: 300px;

        margin: 0 15px 60px;

        width: calc(100% - 30px);

        border-radius: 12px;
    }

    .vision-overlay {
        padding: 25px;
    }

    .vision-overlay h2 {
        font-size: 26px;

        line-height: 1.4;
    }


    /* CLOSING */

    .closing-section {
        padding: 60px 20px;
    }

    .closing-content h2 {
        font-size: 29px;
    }

    .closing-content > p:last-child {
        font-size: 16px;

        line-height: 1.8;
    }


    /* FOOTER */

    .footer-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 18px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .navigation {
        gap: 9px;
    }

    .navigation a {
        font-size: 10px;
    }

    .plans-hero h2 {
        font-size: 27px;
    }

    .plan-card h3 {
        font-size: 20px;
    }

    .plan-image {
        height: 210px;
    }

    .plan-card > p {
        font-size: 14px;
    }

    .plan-card ul {
        font-size: 14px;
    }
}










/* =========================================================
   PLANS PAGE - FINAL IMAGE SIZE OVERRIDE
   THIS ONLY AFFECTS PLANS PAGE
========================================================= */

/* IMAGE BOX */
.plan-image {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;

    overflow: hidden !important;
    display: block !important;

    margin: 0 auto 28px !important;

    border-radius: 12px !important;
    background: #e5e9ee !important;
}

/* IMAGE INSIDE BOX */
.plan-image img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    min-width: 100% !important;

    max-height: none !important;
    min-height: 100% !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* REMOVE DIFFERENT IMAGE SIZING */
.plan-card img {
    width: 100% !important;
    height: 100% !important;
}

/* TEXT */
.plan-card > p {
    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto 18px !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.85 !important;

    color: #526073 !important;

    text-align: left !important;
}

/* LIST */
.plan-card ul {
    max-width: 850px !important;

    margin: 15px auto !important;

    font-size: 16px !important;
    line-height: 1.8 !important;

    color: #526073 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .plan-image {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .plan-image {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }

    .plan-card > p {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .plan-image {
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

}













/* =========================================================
   PLANS PAGE — IMAGE & TEXT FIX
   DO NOT CHANGE style.css
========================================================= */


/* =========================================================
   PLANS GRID
========================================================= */

.plans-grid {
    width: 100%;
    max-width: 1100px;

    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 35px;
}


/* =========================================================
   PLAN CARD
========================================================= */

.plan-card {
    width: 100%;

    background: #ffffff;

    padding: 30px;

    border: 1px solid #e1e5ea;

    border-radius: 12px;

    overflow: hidden;
}


/* =========================================================
   PLAN TITLE
========================================================= */

.plan-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 26px;

    line-height: 1.25;

    font-weight: 500;

    color: #071b35;

    margin: 0 0 22px;
}


/* =========================================================
   ⭐ THIS IS THE IMPORTANT PART ⭐
   EVERY PLAN IMAGE GETS EXACTLY THE SAME SIZE
========================================================= */

.plan-image {
    width: 100% !important;

    height: 320px !important;

    min-height: 320px !important;

    max-height: 320px !important;

    overflow: hidden !important;

    margin: 0 0 25px !important;

    padding: 0 !important;

    border-radius: 10px;

    background: #e8ecf1;

    display: block;
}


/* =========================================================
   EVERY IMAGE INSIDE PLAN-IMAGE
========================================================= */

.plan-image img {
    width: 100% !important;

    height: 100% !important;

    min-width: 100% !important;

    min-height: 100% !important;

    max-width: none !important;

    max-height: none !important;

    display: block !important;

    object-fit: cover !important;

    object-position: center center !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* =========================================================
   PLAN DESCRIPTION
========================================================= */

.plan-card > p {
    width: 100%;

    max-width: 850px;

    margin: 0 0 20px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.85;

    color: #526073;

    text-align: left;
}


/* =========================================================
   PLAN LIST
========================================================= */

.plan-card ul {
    width: 100%;

    max-width: 850px;

    margin: 0;

    padding-left: 22px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 14px;

    line-height: 1.8;

    color: #526073;
}

.plan-card li {
    margin-bottom: 7px;

    padding-left: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .plans-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .plan-image {
        height: 320px !important;

        min-height: 320px !important;

        max-height: 320px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .plans-grid {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-top: 35px;
    }

    .plan-card {
        padding: 22px;
    }

    .plan-card h3 {
        font-size: 23px;

        margin-bottom: 18px;
    }

    .plan-image {
        height: 240px !important;

        min-height: 240px !important;

        max-height: 240px !important;

        margin-bottom: 20px !important;
    }

    .plan-card > p {
        font-size: 14px;

        line-height: 1.8;
    }

    .plan-card ul {
        font-size: 14px;

        line-height: 1.75;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .plan-card {
        padding: 18px;
    }

    .plan-image {
        height: 210px !important;

        min-height: 210px !important;

        max-height: 210px !important;
    }

    .plan-card h3 {
        font-size: 21px;
    }

}





/* =========================================================
   PLANS PAGE IMAGE FIX
   DO NOT CHANGE style.css
========================================================= */

.plans-section {
    width: 100%;
    padding: 100px 6%;
    background: #ffffff;
}

.section-heading {
    max-width: 1100px;
    margin: 0 auto 55px;
}

.section-heading h2 {
    max-width: 750px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 500;
    color: #071b35;
}


/* PLAN GRID */

.plans-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 35px;
}


/* PLAN CARD */

.plans-grid .plan-card {
    width: 100%;
    background: #ffffff;

    border: 1px solid #dfe4ea;

    padding: 28px;

    border-radius: 4px;

    box-shadow: 0 10px 30px rgba(7, 27, 53, 0.07);
}


/* PLAN TITLE */

.plans-grid .plan-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 500;

    color: #071b35;

    margin-bottom: 22px;
}


/* =========================================================
   ⭐ THIS IS THE IMPORTANT PART ⭐
   ALL PLAN IMAGES WILL HAVE EXACTLY THE SAME SIZE
========================================================= */

.plans-grid .plan-image {
    width: 100%;

    height: 300px;

    overflow: hidden;

    margin-bottom: 25px;

    background: #eef1f4;
}


.plans-grid .plan-image img {
    width: 100% !important;

    height: 100% !important;

    max-width: none !important;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* PLAN DESCRIPTION */

.plans-grid .plan-card > p {
    max-width: 100%;

    margin: 0 0 20px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 15px;

    line-height: 1.85;

    color: #526073;

    text-align: left;
}


/* PLAN LIST */

.plans-grid .plan-card ul {
    margin: 0;

    padding-left: 20px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 14px;

    line-height: 1.8;

    color: #526073;
}


.plans-grid .plan-card li {
    margin-bottom: 7px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.plans-introduction {
    width: 100%;

    padding: 110px 8%;

    background: #f7f8fa;
}


.plans-introduction .intro-content {
    max-width: 900px;

    margin: 0 auto;
}


.plans-introduction .intro-content h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 48px;

    line-height: 1.15;

    font-weight: 500;

    color: #071b35;

    margin-bottom: 30px;
}


.plans-introduction .intro-content p {
    max-width: 820px;

    margin-bottom: 18px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 16px;

    line-height: 1.9;

    color: #526073;

    text-align: left;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .plans-section {
        padding: 75px 6%;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .plans-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .plans-grid .plan-image {
        height: 280px;
    }

    .plans-introduction {
        padding: 80px 7%;
    }

    .plans-introduction .intro-content h2 {
        font-size: 38px;
    }

}


@media (max-width: 500px) {

    .plans-section {
        padding: 60px 5%;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .plans-grid .plan-card {
        padding: 20px;
    }

    .plans-grid .plan-card h3 {
        font-size: 24px;
    }

    .plans-grid .plan-image {
        height: 230px;
    }

    .plans-grid .plan-card > p {
        font-size: 14px;
        line-height: 1.8;
    }

}






/* =========================================
   INTRODUCTION + DYNAMIC PICTURES
========================================= */

.plans-introduction {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 80px;

    padding: 120px 8%;

    background: #FAF5ED;
}


/* TEXT */

.plans-introduction .intro-content {
    max-width: 700px;
}


/* DYNAMIC IMAGE */

.dynamic-photo {
    width: 100%;
    max-width: 480px;
    height: 570px;

    margin: auto;

    overflow: hidden;
    position: relative;

    background: #eee5d8;
}

.dynamic-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    opacity: 1;
    transform: scale(1);

    transition:
        opacity 0.8s ease,
        transform 1s ease;
}


/* FADE EFFECT */

.dynamic-photo img.fade {
    opacity: 0;
    transform: scale(1.03);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .plans-introduction {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dynamic-photo {
        max-width: 500px;
        height: 550px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 550px) {

    .plans-introduction {
        padding: 80px 7%;
    }

    .dynamic-photo {
        height: 450px;
    }

}













/* =========================================
   FULL BACKGROUND DYNAMIC INTRODUCTION
========================================= */

.plans-introduction {
    position: relative;
    min-height: 720px;

    display: flex;
    align-items: center;

    padding: 120px 8%;

    overflow: hidden;
}


/* BACKGROUND IMAGES */

.intro-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.intro-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1.2s ease,
                transform 6s ease;

    transform: scale(1.04);
}

.intro-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* SOFT OVERLAY */

.intro-overlay {
    position: absolute;
    inset: 0;

    background: rgba(250, 245, 237, 0.88);

    z-index: 1;
}


/* TEXT */

.plans-introduction .intro-content {
    position: relative;

    z-index: 2;

    max-width: 820px;

    margin: 0 auto;
}


/* HEADING */

.plans-introduction h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(48px, 5vw, 78px);

    line-height: 1.05;

    font-weight: 500;

    color: #071B35;

    margin-bottom: 45px;

    max-width: 850px;
}


/* PARAGRAPHS */

.plans-introduction p {
    font-family: "DM Sans", sans-serif;

    font-size: 18px;

    line-height: 1.9;

    color: #526073;

    max-width: 780px;

    margin-bottom: 28px;
}


/* MOBILE */

@media (max-width: 700px) {

    .plans-introduction {
        min-height: auto;

        padding: 90px 7%;
    }

    .intro-overlay {
        background: rgba(250, 245, 237, 0.92);
    }

    .plans-introduction h2 {
        font-size: 45px;

        line-height: 1.08;

        margin-bottom: 30px;
    }

    .plans-introduction p {
        font-size: 16px;

        line-height: 1.8;
    }

}










