/* ===================================================
   INSTITUTIONAL PAGES STYLES
   (Mission, Vision, Values, History)
   =================================================== */

/* ---------------------------------------------------
   HERO SECTION (Card Style - like history.php)
--------------------------------------------------- */

.inst-hero {
    position: relative;
    padding: 0 clamp(24px, 5vw, 90px);
    background: #F8F8F8;
}

.inst-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: #FCE300;
    z-index: 0;
    transition: height 0.8s ease-out;
}

.inst-hero.animate-bg::before {
    height: 50vh;
}

.inst-hero-card {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    min-height: calc(80vh - var(--header-height));
    height: auto;
    overflow: hidden;
}

.inst-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.inst-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* Siyah overlay filtresi */
.inst-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.inst-hero-content {
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    bottom: 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.inst-hero-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inst-hero-title {
    font-size: 96px;
    font-weight: 200;
    color: #fff;
    text-align: center;
    letter-spacing: 4px;
    line-height: 100px;
    margin: 0;
}

/* Tab Navigation */
.inst-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.inst-tab {
    flex: 1;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

/* Dikey ayırıcı çizgiler */
.inst-tab::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.inst-tab:last-child::after {
    display: none;
}

.inst-tab:hover {
    color: #fff;
}

.inst-tab.active {
    background: transparent;
    color: #fff;
}

/* Aktif tab'ın yanında sarı nokta */
.inst-tab.active::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FCE300;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}


/* ---------------------------------------------------
   BREADCRUMB
--------------------------------------------------- */

.inst-breadcrumb {
    padding: 30px 0;
    background: #F8F8F8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-link {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #3F3F3F;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
}

.breadcrumb-separator img {
    width: 16px;
    height: 16px;
}

.breadcrumb-current {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}


/* ---------------------------------------------------
   INTRO SECTION
--------------------------------------------------- */

.inst-intro {
    padding: 40px 0;
    background: #F8F8F8;
}

.inst-intro-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.inst-intro-left {
    flex: 1;
}

.inst-intro-right {
    flex: 1;
}

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

.inst-intro-label span:first-child {
    width: 20px;
    height: 2px;
    background: #3F3F3F;
}

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

.inst-intro-text {
    font-size: 16px;
    font-weight: 300;
    color: #878787;
    line-height: 1.7;
}


/* ---------------------------------------------------
   LARGE IMAGE SECTION
--------------------------------------------------- */

.inst-large-image {
    padding: 0 0 40px;
    background: #F8F8F8;
}

.inst-large-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.inst-large-image-wrapper img {
    width: 100%;
    object-fit: cover;
}


/* ---------------------------------------------------
   FEATURE SECTION
--------------------------------------------------- */

.inst-feature {
    padding: 40px 0;
    background: #F8F8F8;
}

.inst-feature-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.inst-feature-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.inst-feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.inst-feature-content {
    flex: 1;
    position: relative;
}

.inst-feature-circle {
    position: absolute;
    top: -40px;
    right: 0;
    width: 120px;
    height: 120px;
    background: #FCE300;
    border-radius: 50%;
    z-index: 0;
}

.inst-feature-title {
    font-size: 48px;
    font-weight: 400;
    color: #3F3F3F;
    line-height: 56px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.inst-feature-title .highlight {
    color: #878787;
}

.inst-feature-text {
    font-size: 16px;
    font-weight: 300;
    color: #878787;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* ---------------------------------------------------
   HEADLINE SECTION
--------------------------------------------------- */

.inst-headline {
    padding: 50px 0;
    background: #F8F8F8;
}

.inst-headline-text {
    font-size: 96px;
    font-weight: 200;
    color: #3F3F3F;
    line-height: 104px;
    max-width: 1240px;
}




/* ---------------------------------------------------
   BOTTOM IMAGE SECTION
--------------------------------------------------- */

.inst-bottom-image {
    padding: 0 0 40px;
    background: #F8F8F8;
}

.inst-bottom-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.inst-bottom-image-wrapper img {
    width: 100%;
    object-fit: cover;
}


/* ---------------------------------------------------
   PROMO HEADLINE SECTION
--------------------------------------------------- */

.inst-promo-section {
    position: relative;
    background: #F8F8F8;
}

.inst-promo-section .container {
    position: relative;
    height: 698px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inst-promo-bg {
    position: absolute;
    top: 0;
    left: 90px;
    right: 90px;
    height: 100%;
    z-index: 1;
}

.inst-promo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inst-promo-circle {
    position: absolute;
    left: 120px;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: #FCE300;
    mix-blend-mode: multiply;
    z-index: 2;
    transition: left 0.15s ease-out;
}

.inst-promo-text {
    position: relative;
    z-index: 3;
    font-size: 96px;
    font-weight: 200;
    color: #FFFFFF;
    line-height: 104px;
    text-align: center;
    max-width: 1028px;
    margin: 0 auto;
}


/* ---------------------------------------------------
   CERTIFICATED SECTION
--------------------------------------------------- */

.inst-certificated {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.inst-certificated-label {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.inst-certificated-title {
    font-size: 48px;
    font-weight: 400;
    color: #3F3F3F;
    line-height: 56px;
    margin-bottom: 60px;
}

.inst-certificated-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.cert-logo {
    opacity: 1;
}

.cert-logo img {
    height: 50px;
    width: auto;
}


/* ---------------------------------------------------
   NEWS SECTION OVERRIDES
--------------------------------------------------- */

#inst-news {
    padding-top: 40px;
    background: #F8F8F8;
}


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

@media (max-width: 1400px) {
    .inst-promo-section .container { max-height: calc(100vh - var(--header-height)) }
    .inst-hero {
        padding: 0 60px;
    }

    .inst-promo-bg {
        left: 60px;
        right: 60px;
    }

    .inst-promo-circle {
        left: 100px;
        width: 360px;
        height: 360px;
    }

    .inst-promo-text {
        font-size: 72px;
        line-height: 80px;
        max-width: 800px;
    }
}

@media (max-width: 1200px) {
    .inst-hero {
        padding: 0 40px;
    }

    .inst-hero-title {
        font-size: 72px;
        line-height: 80px;
    }

    .inst-intro-title {
        font-size: 42px;
        line-height: 50px;
    }

    .inst-feature-title {
        font-size: 36px;
        line-height: 44px;
    }

    .inst-headline-text {
        font-size: 72px;
        line-height: 80px;
    }

    .inst-certificated-title {
        font-size: 36px;
        line-height: 44px;
    }

    .inst-promo-text {
        font-size: 56px;
        line-height: 64px;
    }

    .inst-promo-circle {
        width: 300px;
        height: 300px;
        left: 60px;
    }
}

@media (max-width: 992px) {
    .inst-hero {
        padding: 0 20px;
    }

    .inst-hero-title {
        font-size: 56px;
        line-height: 64px;
    }

    .inst-hero-content {
        padding: 30px;
        gap: 20px;
    }

    .inst-intro-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .inst-feature-wrapper {
        flex-direction: column;
    }

    .inst-headline-text {
        font-size: 56px;
        line-height: 64px;
    }

    .inst-promo-section {
        height: 500px;
    }

    .inst-promo-bg {
        left: 40px;
        right: 40px;
    }

    .inst-promo-text {
        font-size: 40px;
        line-height: 48px;
    }

    .inst-promo-circle {
        width: 200px;
        height: 200px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .inst-hero {
        padding: 0 15px;
    }

    .inst-hero.animate-bg::before {
        height: 40vh;
    }

    .inst-hero-card {
        height: calc(100vh - 70px);
    }

    .inst-hero-title {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: 2px;
    }

    .inst-hero-content {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .inst-intro-title {
        font-size: 32px;
        line-height: 40px;
    }

    .inst-feature-title {
        font-size: 28px;
        line-height: 36px;
    }

    .inst-headline-text {
        font-size: 40px;
        line-height: 48px;
    }

    .inst-certificated-title {
        font-size: 28px;
        line-height: 36px;
    }

    .inst-tabs {
        flex-wrap: wrap;
    }

    .inst-tab {
        padding: 12px 10px;
        font-size: 11px;
    }

    .inst-tab.active::before {
        width: 6px;
        height: 6px;
        margin-right: 6px;
    }

    .inst-promo-section {
        height: 400px;
    }

    .inst-promo-bg {
        left: 20px;
        right: 20px;
    }

    .inst-promo-text {
        font-size: 28px;
        line-height: 36px;
        padding: 0 20px;
    }

    .inst-promo-circle {
        display: none;
    }
}
