/* ============================================================
   YDC THEATRE
   HOMEPAGE CSS
   LIGHT MODERN DESIGN
   EPIC BUSINESS CHILD / BIRZBERG COMPATIBLE

   BRAND
   Green : #23b580
   Black : #000000
   Grey  : #969090
   ============================================================ */


/* ============================================================
   ROOT
   ============================================================ */

.ydc-home {
    --ydc-green: #23b580;
    --ydc-green-dark: #16865e;
    --ydc-black: #000000;
    --ydc-grey: #969090;
    --ydc-light: #f6f8f7;
    --ydc-white: #ffffff;
    --ydc-border: #e4e8e6;
    --ydc-text: #222222;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    background: var(--ydc-light);
    color: var(--ydc-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    position: relative;
    overflow: hidden;

    isolation: isolate;
}


/* ============================================================
   GLOBAL RESET
   ============================================================ */

.ydc-home *,
.ydc-home *::before,
.ydc-home *::after {
    box-sizing: border-box;
}

.ydc-home img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ydc-home a {
    text-decoration: none;
}

.ydc-home h1,
.ydc-home h2,
.ydc-home h3,
.ydc-home h4,
.ydc-home p {
    margin-top: 0;
}


/* ============================================================
   HERO
   ============================================================ */

.ydc-hero {
    width: 100%;
    min-height: 680px;

    position: relative;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(35,181,128,0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f8f6 55%,
            #eaf5f0 100%
        );
}


/* ============================================================
   HERO DECORATIVE CIRCLE
   ============================================================ */

.ydc-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border: 2px solid rgba(35,181,128,0.18);

    border-radius: 50%;

    pointer-events: none;
}

.ydc-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -150px;

    border: 2px solid rgba(150,144,144,0.16);

    border-radius: 50%;

    pointer-events: none;
}


/* ============================================================
   HERO INNER LAYOUT
   ============================================================ */

.ydc-hero-content {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 90px 7% 150px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, 0.75fr);

    align-items: center;

    gap: 70px;

    position: relative;

    z-index: 3;
}


/* ============================================================
   HERO TEXT AREA
   ============================================================ */

.ydc-hero-content > div:first-child {
    min-width: 0;
    position: relative;
    z-index: 5;
}


/* ============================================================
   EYEBROW
   ============================================================ */

.ydc-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--ydc-green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 22px;
}

.ydc-eyebrow::before {
    content: "";

    width: 42px;
    height: 2px;

    flex: 0 0 42px;

    background: var(--ydc-green);
}


/* ============================================================
   HERO HEADING
   ============================================================ */

.ydc-hero h1 {
    color: var(--ydc-black);

    font-size: clamp(48px, 6vw, 82px);

    line-height: 0.97;

    letter-spacing: -4px;

    margin: 0 0 30px;

    max-width: 850px;

    font-weight: 900;
}

.ydc-hero h1 span {
    color: var(--ydc-green);
}


/* ============================================================
   HERO DESCRIPTION
   ============================================================ */

.ydc-hero-text {
    max-width: 720px;

    font-size: 19px;

    line-height: 1.7;

    color: #555555;

    margin: 0 0 35px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.ydc-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.ydc-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 15px 28px;

    border-radius: 50px;

    font-weight: 800;

    transition:
        all 0.3s ease;

    cursor: pointer;

    position: relative;

    z-index: 5;
}

.ydc-button-primary {
    background: var(--ydc-green);

    color: #ffffff !important;

    box-shadow:
        0 10px 25px
        rgba(35,181,128,0.20);
}

.ydc-button-primary:hover {
    background: var(--ydc-black);

    color: #ffffff !important;

    transform: translateY(-3px);
}

.ydc-button-outline {
    background: #ffffff;

    color: var(--ydc-black) !important;

    border: 1px solid #dddddd;
}

.ydc-button-outline:hover {
    border-color: var(--ydc-green);

    color: var(--ydc-green) !important;

    transform: translateY(-3px);
}

.ydc-dark-button {
    background: #000000;

    color: #ffffff !important;
}

.ydc-dark-button:hover {
    background: #ffffff;

    color: #000000 !important;

    transform: translateY(-3px);
}


/* ============================================================
   HERO IMAGE
   IMPORTANT:
   NO ABSOLUTE POSITIONING
   ============================================================ */

.ydc-hero-image {
    position: relative;

    width: 100%;

    max-width: 400px;

    height: 480px;

    margin: 0 auto;

    border-radius:
        200px
        200px
        30px
        30px;

    overflow: hidden;

    border:
        3px solid
        rgba(35,181,128,0.35);

    transform: rotate(3deg);

    background: #eeeeee;

    box-shadow:
        0 25px 60px
        rgba(0,0,0,0.10);

    z-index: 2;

    flex-shrink: 0;
}


/* ============================================================
   HERO IMAGE INNER
   ============================================================ */

.ydc-hero-image img {
    width: 100% !important;

    height: 100% !important;

    max-width: none !important;

    object-fit: cover;

    object-position: center;

    display: block;
}


/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */

.ydc-image-placeholder {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #23b580,
            #dcefe7
        );

    color: #000000;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* ============================================================
   STAT BAR
   ============================================================ */

.ydc-statbar {
    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background:
        rgba(255,255,255,0.96);

    backdrop-filter: blur(15px);

    border-top:
        1px solid
        var(--ydc-border);

    z-index: 10;
}

.ydc-stat {
    padding: 24px;

    text-align: center;

    border-right:
        1px solid
        var(--ydc-border);
}

.ydc-stat:last-child {
    border-right: 0;
}

.ydc-stat strong {
    display: block;

    color: var(--ydc-green);

    font-size: 27px;

    font-weight: 900;
}

.ydc-stat span {
    color: var(--ydc-grey);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* ============================================================
   GENERAL SECTION
   ============================================================ */

.ydc-section {
    width: 100%;

    padding: 90px 7%;

    position: relative;

    background: #ffffff;
}

.ydc-section-inner {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;
}


/* ============================================================
   SECTION HEADER
   ============================================================ */

.ydc-section-header {
    margin-bottom: 50px;

    max-width: 800px;
}

.ydc-kicker {
    color: var(--ydc-green);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 13px;
}

.ydc-section-title {
    color: var(--ydc-black);

    font-size:
        clamp(34px,4vw,54px);

    line-height: 1.05;

    margin-bottom: 18px;

    letter-spacing: -2px;
}

.ydc-section-title span {
    color: var(--ydc-green);
}

.ydc-section-description {
    color: var(--ydc-grey);

    font-size: 17px;

    line-height: 1.7;

    max-width: 720px;
}


/* ============================================================
   ABOUT
   ============================================================ */

.ydc-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap: 60px;

    align-items: center;
}

.ydc-about-image {
    height: 500px;

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    background: #eeeeee;

    border:
        1px solid
        var(--ydc-border);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,0.07);
}

.ydc-about-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

.ydc-about-copy p {
    color: #555555;

    font-size: 17px;

    line-height: 1.75;
}

.ydc-highlight {
    margin-top: 30px;

    padding: 22px;

    border-left:
        4px solid
        var(--ydc-green);

    background:
        rgba(35,181,128,0.06);

    color: #555555;
}

.ydc-highlight strong {
    display: block;

    color: var(--ydc-green);

    margin-bottom: 5px;
}


/* ============================================================
   PROGRAMS
   ============================================================ */

.ydc-programs {
    background: #f6f8f7;
}

.ydc-program-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 22px;
}

.ydc-program {
    min-height: 320px;

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    padding: 32px;

    background: #ffffff;

    border:
        1px solid
        var(--ydc-border);

    transition:
        all 0.35s ease;

    box-shadow:
        0 8px 30px
        rgba(0,0,0,0.04);
}

.ydc-program::before {
    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 5px;

    height: 0;

    background: var(--ydc-green);

    transition:
        height 0.35s ease;
}

.ydc-program:hover {
    transform: translateY(-8px);

    border-color:
        rgba(35,181,128,0.40);

    box-shadow:
        0 20px 45px
        rgba(0,0,0,0.09);
}

.ydc-program:hover::before {
    height: 100%;
}

.ydc-program-number {
    color: var(--ydc-green);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 30px;
}

.ydc-program-icon {
    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(35,181,128,0.10);

    font-size: 28px;

    margin-bottom: 22px;
}

.ydc-program h3 {
    color: var(--ydc-black);

    font-size: 23px;

    margin-bottom: 12px;
}

.ydc-program p {
    color: var(--ydc-grey);

    font-size: 15px;

    line-height: 1.7;
}

.ydc-program-link {
    position: absolute;

    bottom: 25px;

    color: var(--ydc-green);

    font-weight: 800;

    font-size: 13px;
}


/* ============================================================
   THEATRE FOR CHANGE
   ============================================================ */

.ydc-change {
    background:
        linear-gradient(
            135deg,
            #edf8f3 0%,
            #ffffff 65%,
            #f5f8f7 100%
        );
}

.ydc-change-grid {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 60px;

    align-items: center;
}

.ydc-change h2 {
    color: var(--ydc-black);

    font-size:
        clamp(38px,5vw,62px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 22px;
}

.ydc-change p {
    color: #555555;

    font-size: 18px;

    line-height: 1.7;
}

.ydc-kicker-black {
    color: var(--ydc-black);
}

.ydc-change-card {
    background: #000000;

    padding: 38px;

    border-radius: 22px;

    color: #ffffff;

    box-shadow:
        0 20px 45px
        rgba(0,0,0,0.12);
}

.ydc-change-card strong {
    color: var(--ydc-green);

    font-size: 30px;

    display: block;

    margin-bottom: 8px;
}

.ydc-change-card p {
    color: #cccccc;

    font-size: 16px;

    margin-bottom: 25px;
}

.ydc-change-card p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   MOSAIC
   ============================================================ */

.ydc-mosaic {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr;

    grid-template-rows:
        240px
        240px;

    gap: 14px;
}

.ydc-mosaic-item {
    overflow: hidden;

    border-radius: 20px;

    position: relative;

    background: #eeeeee;

    border:
        1px solid
        var(--ydc-border);
}

.ydc-mosaic-item:first-child {
    grid-row: span 2;
}

.ydc-mosaic-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.ydc-mosaic-item:hover img {
    transform: scale(1.04);
}

.ydc-mosaic-label {
    position: absolute;

    bottom: 12px;

    left: 12px;

    padding:
        7px 12px;

    background:
        rgba(0,0,0,0.75);

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    border-radius: 30px;
}


/* ============================================================
   IMPACT
   ============================================================ */

.ydc-impact {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 22px;
}

.ydc-impact-card {
    padding: 35px;

    border-radius: 20px;

    background: #ffffff;

    border:
        1px solid
        var(--ydc-border);

    box-shadow:
        0 8px 30px
        rgba(0,0,0,0.04);
}

.ydc-impact-card strong {
    font-size: 42px;

    color: var(--ydc-green);

    display: block;

    margin-bottom: 10px;
}

.ydc-impact-card h3 {
    color: var(--ydc-black);

    margin-bottom: 10px;
}

.ydc-impact-card p {
    color: var(--ydc-grey);

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   FEATURED WORK
   ============================================================ */

.ydc-feature {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 25px;
}

.ydc-feature-card {
    min-height: 360px;

    padding: 38px;

    border-radius: 22px;

    background: #ffffff;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--ydc-border);

    box-shadow:
        0 10px 35px
        rgba(0,0,0,0.05);
}

.ydc-feature-card::after {
    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background: var(--ydc-green);

    opacity: 0.07;

    right: -70px;

    bottom: -70px;

    pointer-events: none;
}

.ydc-feature-card h3 {
    color: var(--ydc-black);

    font-size: 30px;

    line-height: 1.1;

    margin-bottom: 15px;
}

.ydc-feature-card p {
    color: var(--ydc-grey);

    max-width: 500px;
}


/* ============================================================
   CTA
   ============================================================ */

.ydc-cta {
    margin: 0 5% 35px;

    padding: 75px 7%;

    border-radius: 28px;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #23b580,
            #1b9d70
        );

    box-shadow:
        0 20px 50px
        rgba(35,181,128,0.18);
}

.ydc-cta h2 {
    color: #ffffff;

    font-size:
        clamp(35px,5vw,58px);

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 18px;
}

.ydc-cta p {
    max-width: 700px;

    margin:
        0 auto 30px;

    color:
        rgba(255,255,255,0.9);

    font-size: 17px;
}

.ydc-buttons-center {
    justify-content: center;
}

.ydc-cta-button {
    background: #000000;

    color: #ffffff !important;
}

.ydc-cta-button:hover {
    background: #ffffff;

    color: #000000 !important;

    transform: translateY(-3px);
}


/* ============================================================
   SOCIAL
   ============================================================ */

.ydc-social {
    text-align: center;

    padding:
        20px 20px 50px;

    color: var(--ydc-grey);
}

.ydc-social a {
    color: var(--ydc-green);

    font-weight: 800;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .ydc-hero-content {
        grid-template-columns:
            minmax(0,1fr)
            minmax(280px,0.65fr);

        gap: 45px;

        padding:
            80px 5% 150px;
    }

    .ydc-hero-image {
        max-width: 330px;

        height: 430px;
    }

    .ydc-section {
        padding:
            75px 5%;
    }

    .ydc-program-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* ============================================================
   TABLET / SMALL LAPTOP
   ============================================================ */

@media (max-width: 850px) {

    .ydc-hero {
        min-height: auto;
    }

    .ydc-hero-content {
        grid-template-columns: 1fr;

        gap: 45px;

        padding:
            70px 6% 170px;

        text-align: center;
    }

    .ydc-hero-content > div:first-child {
        width: 100%;
    }

    .ydc-eyebrow {
        justify-content: center;
    }

    .ydc-hero h1 {
        max-width: 800px;

        margin-left: auto;
        margin-right: auto;
    }

    .ydc-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .ydc-buttons {
        justify-content: center;
    }

    .ydc-hero-image {
        width: 300px;

        max-width: 80%;

        height: 400px;

        margin:
            0 auto;
    }

    .ydc-about-grid,
    .ydc-change-grid {
        grid-template-columns: 1fr;

    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .ydc-hero {
        min-height: auto;
    }

    .ydc-hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 35px;

        padding:
            60px 22px 170px;
    }

    .ydc-hero h1 {
        font-size: 49px;

        letter-spacing: -2.5px;

        line-height: 0.98;
    }

    .ydc-hero-text {
        font-size: 16px;

        line-height: 1.7;
    }

    .ydc-hero-image {
        width: 240px;

        max-width: 75%;

        height: 320px;

        transform:
            rotate(2deg);

        margin:
            0 auto;
    }

    .ydc-statbar {
        grid-template-columns:
            repeat(2,1fr);
    }

    .ydc-stat {
        padding:
            15px 8px;
    }

    .ydc-stat strong {
        font-size: 22px;
    }

    .ydc-stat span {
        font-size: 10px;
    }

    .ydc-section {
        padding:
            60px 22px;
    }

    .ydc-about-grid,
    .ydc-change-grid,
    .ydc-feature {
        grid-template-columns: 1fr;
    }

    .ydc-about-image {
        height: 350px;
    }

    .ydc-program-grid {
        grid-template-columns: 1fr;
    }

    .ydc-mosaic {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            200px
            160px
            160px;
    }

    .ydc-mosaic-item:first-child {
        grid-column: span 2;

        grid-row: span 1;
    }

    .ydc-impact {
        grid-template-columns: 1fr;
    }

    .ydc-cta {
        margin:
            0 15px 20px;

        padding:
            50px 25px;
    }

    .ydc-buttons {
        flex-direction: column;

        width: 100%;
    }

    .ydc-button {
        width: 100%;
    }

}


/* ============================================================
   VERY SMALL DEVICES
   ============================================================ */

@media (max-width: 420px) {

    .ydc-hero-content {
        padding:
            50px 18px 165px;
    }

    .ydc-hero h1 {
        font-size: 42px;

        letter-spacing: -2px;
    }

    .ydc-hero-image {
        width: 210px;

        height: 285px;
    }

    .ydc-statbar {
        grid-template-columns:
            1fr 1fr;
    }

    .ydc-mosaic {
        display: block;
    }

    .ydc-mosaic-item {
        height: 230px;

        margin-bottom: 12px;
    }

}