/* ===================================================
   INSTITUTIONAL LANDING PAGE STYLES
   =================================================== */

.page-institutional-landing {
    background: #F8F8F8;
    overflow-x: clip;
}


/* ---------------------------------------------------
   LANDING SECTIONS
--------------------------------------------------- */

.inst-landing-section {
    position: relative;
    padding: 60px 0;
}

/* Yellow gradient circle decoration via ::after */
.inst-landing-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 600px;
    background: linear-gradient(225deg, #FCE300 0%, #FFF 100%);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.inst-landing-section-right::after {
    right: -200px;
}

.inst-landing-section-left::after {
    left: -200px;
}


/* ---------------------------------------------------
   ROW LAYOUT
--------------------------------------------------- */

.inst-landing-row {
    display: flex;
    position: relative;
    z-index: 1;
}

.inst-landing-section-right .inst-landing-row {
    flex-direction: row;
}

.inst-landing-section-left .inst-landing-row {
    flex-direction: row-reverse;
}


/* ---------------------------------------------------
   COLUMNS - Equal width
--------------------------------------------------- */

.inst-landing-col-image,
.inst-landing-col-content {
    flex: 1;
}


/* ---------------------------------------------------
   IMAGE COLUMN
--------------------------------------------------- */

.inst-landing-col-image img {
    width: 100%;
    height: calc(100vh - (2 * var(--header-height)));
    display: block;
    object-fit: cover;
    object-position: top center;
}


/* ---------------------------------------------------
   CONTENT COLUMN
--------------------------------------------------- */

.inst-landing-col-content {
    display: flex;
    align-items: center;
}

.inst-landing-card {
    background: #fff;
    width: 100%;
}

.inst-landing-card-content {
    padding: 80px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------
   TYPOGRAPHY & BUTTON
--------------------------------------------------- */

.inst-landing-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #3F3F3F;
    line-height: 16px;
    margin-bottom: 20px;
}

.inst-landing-label-line {
    width: 20px;
    height: 2px;
    background: #3F3F3F;
}

.inst-landing-title {
    font-size: 48px;
    font-weight: 400;
    color: #3F3F3F;
    line-height: 56px;
    margin: 0 0 24px;
}

.inst-landing-text {
    font-size: 16px;
    font-weight: 300;
    color: #878787;
    line-height: 24px;
    margin: 0 0 40px;
}

.inst-landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    padding: 20px 28px;
    background: #000;
    border-radius: 4px;
    color: #F8F8F8;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inst-landing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #FCE300;
    transition: width 0.3s linear;
    z-index: 0;
}

.inst-landing-btn:hover::before {
    width: 100%;
}

.inst-landing-btn:hover {
    color: #000;
}

.inst-landing-btn span,
.inst-landing-btn img {
    position: relative;
    z-index: 1;
}

.inst-landing-btn:hover img {
    filter: brightness(0);
}

.inst-landing-btn img {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}


/* ---------------------------------------------------
   MOBILE RESPONSIVE
--------------------------------------------------- */

@media (max-width: 768px) {
    .inst-landing-section {
        padding: 40px 0;
    }

    /* Hide decorative circles on mobile */
    .inst-landing-section::after {
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }

    /* Stack columns vertically */
    .inst-landing-row {
        flex-direction: column !important;
    }

    /* Image adjustments */
    .inst-landing-col-image img {
        height: auto;
        min-height: 300px;
        max-height: 50vh;
    }

    /* Content padding */
    .inst-landing-card-content {
        padding: 40px 24px;
    }

    .inst-landing-card-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .inst-landing-card-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 16px;
    }

    .inst-landing-card-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .inst-landing-section {
        padding: 30px 0;
    }

    /* Further reduce decorative circles */
    .inst-landing-section::after {
        display: none;
    }

    .inst-landing-card-content {
        padding: 30px 20px;
    }

    .inst-landing-card-title {
        font-size: 24px;
        line-height: 32px;
    }
}
