/* =====================================================================
   modern.css v2 — bold site-wide refresh (2026)
   Loaded after site.css + page styles. Override layer; markup untouched
   except the stylesheet/font links in the layouts.
   Kept: brand blue, İSTEK rainbow line, Atatürk corner. Dropped: doodle
   background, two-row header, boxed rainbow title underline.
   ===================================================================== */

:root {
    --ib-navy: #0b2e4f;
    --ib-navy-deep: #07203a;
    --ib-blue: #1268ac;
    --ib-blue-deep: #0d5290;
    --ib-sky: #37a6e0;
    --ib-sun: #f5b400;
    --ib-ink: #14263a;
    --ib-text: #33445a;
    --ib-muted: #6a7a8f;
    --ib-line: #e1e8f0;
    --ib-surface: #f3f7fb;
    --ib-surface-2: #e9f1f8;
    --ib-white: #ffffff;
    --ib-rainbow: repeating-linear-gradient(to right, #c4e17f 0 50px, #f7fdca 50px 100px, #fad071 100px 150px, #f0766b 150px 200px, #db9dbe 200px 250px, #c49cdf 250px 300px, #6599e2 300px 350px, #61c2e4 350px 400px);
    --ib-radius-xl: 24px;
    --ib-radius-lg: 18px;
    --ib-radius: 12px;
    --ib-radius-sm: 8px;
    --ib-shadow: 0 16px 40px rgba(11, 46, 79, 0.08);
    --ib-shadow-sm: 0 6px 18px rgba(11, 46, 79, 0.06);
    --ib-font-display: 'Montserrat', 'Poppins', sans-serif;
    --ib-font-body: 'Poppins', sans-serif;
    --ib-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ib-page-pad: 2.75rem;
}

/* ---------- Base ---------- */
html {
    background: var(--ib-surface);
}

body {
    color: var(--ib-text);
    background-color: var(--ib-surface);
    background-image: none;
    background-attachment: scroll;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ib-font-display);
    color: var(--ib-ink);
    letter-spacing: -0.015em;
}

a {
    color: var(--ib-blue);
}

    a:hover {
        color: var(--ib-blue-deep);
    }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(55, 166, 224, 0.55);
    outline-offset: 2px;
}

::selection {
    background: rgba(245, 180, 0, 0.35);
}

/* ---------- Utility strip (Atatürk köşesi, quick links, social) ---------- */
.top-header {
    height: 52px;
    min-height: 0;
    padding: 0 2.5rem 0 0;
    justify-content: space-between;
    background: var(--ib-navy-deep);
    border-bottom: 0;
    color: #fff;
}

/* Atatürk köşesi: the image fills its whole slot, edge to edge */
.header-left {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

    .header-left .top-header-link {
        display: block;
        height: 100%;
        border-bottom: 0;
    }

        .header-left .top-header-link:hover {
            background: transparent;
            border-bottom: 0;
        }

.top-header-img {
    display: block;
    height: 52px;
    width: 220px;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.top-header .top-header-icon-link i,
.top-header .top-header-icon-link i.fa-instagram,
.top-header .top-header-icon-link i.fa-facebook,
.top-header .top-header-icon-link i.fa-linkedin,
.top-header .top-header-icon-link i.fa-youtube {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
}

.top-header .top-header-icon-link:hover i,
.top-header .top-header-icon-link:hover i.fa-instagram,
.top-header .top-header-icon-link:hover i.fa-facebook,
.top-header .top-header-icon-link:hover i.fa-linkedin,
.top-header .top-header-icon-link:hover i.fa-youtube {
    color: #fff;
}

/* the same link classes are reused on the contact page's social card */
.contact-social .top-header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0.35rem !important;
    border-radius: 999px;
    background: var(--ib-surface);
    transition: background-color 0.2s var(--ib-ease), transform 0.2s var(--ib-ease);
}

    .contact-social .top-header-icon-link i {
        font-size: 22px;
    }

    .contact-social .top-header-icon-link:hover {
        background: var(--ib-surface-2);
        transform: translateY(-2px);
        border-bottom: 2px solid transparent;
    }

.contact-social .social > .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0 0;
}

.header-right-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.top-header-link-s {
    margin: 0;
    padding: 0.35rem 0.7rem;
    font-family: var(--ib-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    background: transparent;
    transition: background-color 0.2s var(--ib-ease), color 0.2s var(--ib-ease);
}

    .top-header-link-s:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        border: 0;
    }

    .top-header-link-s:last-child {
        color: var(--ib-navy-deep);
        background: var(--ib-sun);
        margin-left: 0.4rem;
    }

        .top-header-link-s:last-child:hover {
            background: #ffc72c;
            color: var(--ib-navy-deep);
        }

        .top-header-link-s:last-child .blue-icon {
            color: var(--ib-navy-deep);
        }

.blue-icon {
    color: var(--ib-sky);
    margin-right: 0.2rem;
}

.top-header-link:hover .blue-icon {
    color: var(--ib-sky);
}

/* ---------- Main navigation: menus left, logo centre, menus right ---------- */
#main-header {
    background: var(--ib-white);
    border-bottom: 0;
    box-shadow: 0 2px 0 rgba(11, 46, 79, 0.04);
}

.sticky-header {
    background-color: rgba(255, 255, 255, 0.96) !important;
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 10px 30px rgba(11, 46, 79, 0.1) !important;
    animation-duration: 0.25s;
}

#main-nav.navbar {
    padding: 0;
}

#main-nav .full-width-menu.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0.55rem 2.5rem;
    min-height: 82px;
}

    #main-nav .full-width-menu.row > * {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding: 0;
    }

.left-menu-bar {
    order: 0;
    flex: 1 1 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
}

.center-menu-bar {
    order: 1;
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem !important;
}

.right-menu-bar {
    order: 2;
    flex: 1 1 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0;
}

.brand-logo {
    width: 200px;
    top: 0;
}

.header-link {
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ib-ink);
    padding: 0.55rem 0.8rem;
    border: 0;
    border-top: 0;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.2s var(--ib-ease), color 0.2s var(--ib-ease);
}

    .header-link:hover,
    .dropdown:hover > .header-link {
        color: var(--ib-blue);
        background-color: var(--ib-surface-2);
        border: 0;
        border-top: 0;
        border-radius: 999px;
    }

.header-arrow-icon {
    font-size: 9px;
    opacity: 0.55;
    margin-left: 0.3rem;
}

.navbar-toggler {
    background-color: var(--ib-navy);
    border: 0;
    border-radius: 12px;
    padding: 0.55rem 0.7rem !important;
    box-shadow: none;
}

    .navbar-toggler-icon i {
        color: #fff !important;
        font-size: 20px;
    }

/* Dropdown panels */
.dropdown-menu {
    background-color: var(--ib-white);
    border: 1px solid var(--ib-line);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(11, 46, 79, 0.16);
    padding: 0.6rem;
    width: 300px;
    margin-top: 0 !important;
    top: 100%;
}

/* no dead zone between the menu label and its panel: hover must not drop */
.dropdown {
    padding-bottom: 0;
}

    .dropdown > .header-link {
        margin-bottom: 0;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        display: block !important;
    }

    .dropdown-menu::before {
        content: "";
        display: block;
        height: 4px;
        margin: -0.6rem -0.6rem 0.5rem;
        border-radius: 16px 16px 0 0;
        background: var(--ib-rainbow);
        background-size: 400px 4px;
    }

    .dropdown-menu a,
    .dropdown-menu .dropdown-link {
        width: 100%;
        color: var(--ib-ink);
        font-size: 13.5px;
        font-weight: 500;
        text-transform: none;
        padding: 0.6rem 0.9rem;
        border-radius: 10px;
        transition: background-color 0.15s var(--ib-ease), color 0.15s var(--ib-ease), padding-left 0.15s var(--ib-ease);
    }

        .dropdown-menu a:hover,
        .dropdown-menu .dropdown-link:hover {
            color: var(--ib-blue);
            background-color: var(--ib-surface);
            padding-left: 1.1rem;
        }

/* site.css paints every `header ul li a` white with !important; restate. */
header .dropdown-menu ul li a,
header ul li .dropdown-menu a {
    color: var(--ib-ink) !important;
    font-size: 13.5px;
    font-weight: 500;
    margin: 0;
    padding: 0.6rem 0.9rem;
}

    header .dropdown-menu ul li a:hover,
    header ul li .dropdown-menu a:hover {
        color: var(--ib-blue) !important;
        animation: none;
    }

    header .dropdown-menu ul li a::after,
    header ul li .dropdown-menu a::after {
        display: none;
    }

/* Mobile collapse menu */
.navbar-collapse {
    order: 3;
    flex-basis: 100% !important;
    width: 100% !important;
}

@media screen and (max-width: 775px) {
    .navbar-collapse {
        background-color: var(--ib-navy) !important;
        border-radius: 16px;
        padding: 0.75rem;
        margin-top: 0.75rem !important;
    }

        .navbar-collapse .header-link {
            color: #fff;
            padding: 0.75rem 0.9rem;
            border-radius: 10px;
        }

            .navbar-collapse .header-link:hover {
                color: #fff;
                background-color: rgba(255, 255, 255, 0.1);
            }

        .navbar-collapse .dropdown {
            flex-direction: column;
            align-items: stretch;
        }

        .navbar-collapse .dropdown-menu {
            position: static !important;
            width: 100%;
            margin: 0.25rem 0 0.5rem !important;
            padding: 0.4rem;
            background: #fff;
            border: 0;
            box-shadow: none;
        }

            .navbar-collapse .dropdown-menu a,
            .navbar-collapse .dropdown-menu .dropdown-link {
                color: var(--ib-ink) !important;
                font-size: 14px !important;
                padding: 0.65rem 0.9rem;
            }

                .navbar-collapse .dropdown-menu a:hover,
                .navbar-collapse .dropdown-menu .dropdown-link:hover {
                    color: var(--ib-blue) !important;
                    background: var(--ib-surface);
                }
}

/* ---------- Inner page: navy title band + content ---------- */
.page-wrapper {
    margin-top: 1.75rem;
    padding-bottom: 3rem;
    background: transparent;
}

.page {
    background: var(--ib-white);
    border: 0;
    border-radius: var(--ib-radius-xl);
    box-shadow: var(--ib-shadow);
    padding: var(--ib-page-pad);
    overflow: hidden;
}

/* breadcrumb strip lives inside the band */
.page > .page-header-container-references {
    margin: calc(-1 * var(--ib-page-pad)) calc(-1 * var(--ib-page-pad)) 0;
    max-width: none;
    width: auto;
    padding: 1.6rem var(--ib-page-pad) 0 !important;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #1c5984 0%, var(--ib-sky) 100%);
}

.breadcrumb-container {
    padding: 0;
}

.page-header-sub-header {
    display: inline-block;
    width: auto;
    padding: 0;
    margin-bottom: 0.35rem;
    font-family: var(--ib-font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ib-sun);
    box-shadow: none;
}

.breadcrumb-list {
    flex-wrap: wrap;
}

    .breadcrumb-list li {
        padding: 0;
    }

.breadcrumb-list a {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.15rem 0.35rem 0.15rem 0;
}

    .breadcrumb-list a:hover {
        color: #fff;
    }

    .breadcrumb-list li:last-child a {
        color: #fff;
        font-weight: 600;
    }

.breadcrumb-list i {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 0.35rem;
}

/* the title: big, left, white, ends with the rainbow line */
.page > .page-header {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 calc(-1 * var(--ib-page-pad)) 2.25rem;
    padding: 0.9rem var(--ib-page-pad) 2.2rem;
    font-family: var(--ib-font-display);
    font-size: 42px !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
    text-align: left;
    color: #fff;
    background-color: var(--ib-navy);
    background-image: linear-gradient(90deg, #1c5984 0%, var(--ib-sky) 100%);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 0 0;
    border-radius: 0;
    position: relative;
}

    .page > .page-header::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 6px;
        background: var(--ib-rainbow);
        background-size: 400px 6px;
    }

    .page > .page-header:first-child {
        margin-top: calc(-1 * var(--ib-page-pad));
        padding-top: 2.5rem;
    }

/* Left sub-navigation */
.inside-nav-header {
    width: auto;
    margin-bottom: 0.75rem;
    font-family: var(--ib-font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--ib-muted);
}

.page-inside-nav {
    gap: 2px;
    padding-right: 1.5rem !important;
}

.inside-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ib-text);
    padding: 0.6rem 0.9rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
    border-radius: 0 10px 10px 0;
    transition: background-color 0.2s var(--ib-ease), color 0.2s var(--ib-ease), border-color 0.2s var(--ib-ease);
}

    .inside-nav-link:hover {
        background: var(--ib-surface);
        color: var(--ib-blue) !important;
        padding-left: 0.9rem;
        border-left-color: var(--ib-sky);
    }

.active-inside-link,
.active-inside-link:hover {
    background: var(--ib-surface-2);
    color: var(--ib-navy) !important;
    font-weight: 700;
    padding-left: 0.9rem;
    border-left: 3px solid var(--ib-sun);
    border-radius: 0 10px 10px 0;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
}

    .page-content h2, .page-content h3, .page-content h4,
    .page-content .h-font {
        font-family: var(--ib-font-display);
        font-weight: 800;
        color: var(--ib-navy);
    }

.school-photo,
.ata-entry-image,
.page-inside-image {
    border: 0;
    padding: 0;
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
}

.school-photo {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.ata-entry-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    aspect-ratio: 11 / 10;
    object-fit: cover;
}

/* ---------- Buttons ---------- */
.read-more,
.home-section-btn,
.swiper-link,
.link-btn,
.inside-page-link,
.login-form-submit,
.blog-search-btn,
.view-event-link,
.next-button,
.previous-button,
.home-products-bottom-link,
.k-btn,
.ks-btn,
.kt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    padding: 0.7rem 1.5rem;
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #fff;
    background: var(--ib-blue);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(18, 104, 172, 0.25);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ib-ease), transform 0.2s var(--ib-ease), box-shadow 0.2s var(--ib-ease), color 0.2s var(--ib-ease);
}

    .read-more:hover,
    .home-section-btn:hover,
    .swiper-link:hover,
    .link-btn:hover,
    .inside-page-link:hover,
    .login-form-submit:hover,
    .blog-search-btn:hover,
    .view-event-link:hover,
    .next-button:hover,
    .previous-button:hover,
    .home-products-bottom-link:hover,
    .k-btn:hover,
    .ks-btn:hover,
    .kt-btn:hover {
        color: #fff;
        background: var(--ib-navy);
        border: 0;
        box-shadow: 0 12px 24px rgba(11, 46, 79, 0.28);
        transform: translateY(-2px);
    }

.read-more i,
.home-section-btn i {
    margin: 0;
}

.login-form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.inside-page-link {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
}

.news-read-more,
.see-more,
.all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.3rem;
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ib-blue);
    background: var(--ib-white);
    border: 2px solid var(--ib-surface-2);
    border-radius: 999px;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 0.2s var(--ib-ease), color 0.2s var(--ib-ease), border-color 0.2s var(--ib-ease);
}

    .news-read-more:hover,
    .see-more:hover,
    .all-link:hover {
        color: #fff;
        background: var(--ib-blue);
        border-color: var(--ib-blue);
        box-shadow: none;
        filter: none;
    }

/* hero slides reuse .news-read-more as a wrapper; keep it invisible there */
.homeSwiper .swiper-slide > .news-read-more {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* ---------- Forms ---------- */
.login-form-input,
.k-inpt,
.search-input,
.search-inpt,
.form-control {
    padding: 0.7rem 1rem;
    font-size: 14px;
    color: var(--ib-ink);
    background: var(--ib-white);
    border: 1.5px solid #d3dde8;
    border-radius: 12px;
    transition: border-color 0.2s var(--ib-ease), box-shadow 0.2s var(--ib-ease);
}

    .login-form-input:focus,
    .k-inpt:focus,
    .search-input:focus,
    .search-inpt:focus,
    .form-control:focus {
        border: 1.5px solid var(--ib-sky) !important;
        box-shadow: 0 0 0 4px rgba(55, 166, 224, 0.18);
        background: var(--ib-white);
    }

    .login-form-input::placeholder,
    .form-control::placeholder {
        color: #9aa9bb;
    }

.x-lbl-sm,
.k-lbl-sm,
.login-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ib-ink);
    margin-bottom: 0.3rem;
}

.field-validation-error,
.text-danger {
    font-size: 12px;
}

.contact-section {
    background: var(--ib-white);
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow-sm);
}

.contact-header {
    font-family: var(--ib-font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--ib-navy) !important;
}

.contact-info-table td,
.contact-info-table th {
    border-color: var(--ib-line);
    vertical-align: middle;
    font-size: 14px;
}

/* ---------- Home ---------- */
.vertical-watermark {
    display: none;
}

.home-section {
    width: 100%;
    margin-top: 2.5rem;
    margin-bottom: 0;
    padding: 3rem;
    background: var(--ib-white);
    border: 0;
    border-radius: var(--ib-radius-xl);
    box-shadow: var(--ib-shadow);
}

    .home-section:last-child {
        margin-bottom: 3.5rem;
    }

.icon-presentation-header-wrapper {
    margin-bottom: 1.75rem;
}

.media-header,
.l-media-header {
    font-family: var(--ib-font-display);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--ib-navy);
}

    .media-header::after,
    .l-media-header::after {
        content: "";
        display: block;
        width: 56px;
        height: 5px;
        margin-top: 0.6rem;
        border-radius: 3px;
        background: linear-gradient(90deg, #1c5984, var(--ib-sky));
    }

.l-media-header {
    color: #fff;
}

.media-sub-header,
.l-media-sub-header {
    text-align: left;
    font-size: 15px;
    color: var(--ib-muted);
    margin-top: 0.5rem;
}

.l-media-sub-header {
    color: rgba(255, 255, 255, 0.75);
}

/* Okulumuz */
.icon-list ul {
    align-items: stretch;
    padding-right: 1.25rem;
    gap: 0.35rem;
}

.icon-list li {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
}

.home-section-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 0.9rem;
    color: var(--ib-ink);
    background: var(--ib-surface);
    border-radius: 12px;
    transition: background-color 0.2s var(--ib-ease), color 0.2s var(--ib-ease), transform 0.2s var(--ib-ease);
}

    .home-section-link:hover {
        color: #fff;
        background: var(--ib-blue);
        padding-left: 0.9rem;
        transform: translateX(4px);
    }

.icon-class {
    font-size: 18px;
    margin-right: 0;
}

.school-image {
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
}

/* Başarılarımız */
.successes-section {
    background: linear-gradient(135deg, #1c5984, var(--ib-sky));
    border: 0;
}

.success-items {
    gap: 1rem;
    justify-content: center;
}

.success-item {
    display: flex;
    flex-direction: column;
    height: auto;
    width: calc(33.333% - 0.7rem);
    max-width: 350px;
    min-width: 240px;
    border-radius: var(--ib-radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.success-image {
    height: 200px;
    border-radius: 12px;
}

.success-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    gap: 0.25rem;
}

    .success-info h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-top: 0.75rem;
        color: var(--ib-navy);
    }

    .success-info p {
        font-size: 13px;
        font-weight: 500;
        color: var(--ib-muted);
    }

    .success-info .read-more {
        align-self: flex-start;
        margin-top: auto;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

.see-all-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.65rem 1.6rem;
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ib-navy-deep);
    background: var(--ib-sun);
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s var(--ib-ease), box-shadow 0.2s var(--ib-ease);
}

    .see-all-link:hover {
        color: var(--ib-navy-deep);
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

/* icon cards */
.icon-presentation-row {
    gap: 1.25rem;
    justify-content: flex-start;
}

.icon-presentation-col {
    flex: 0 1 auto;
    width: calc(33.333% - 0.85rem);
    max-width: 420px;
    margin: 0;
    background: var(--ib-surface);
    border: 0;
    border-radius: var(--ib-radius-lg);
    overflow: hidden;
    transition: transform 0.25s var(--ib-ease), box-shadow 0.25s var(--ib-ease);
}

.icon-presentation-link:hover .icon-presentation-col {
    border: 0;
    box-shadow: var(--ib-shadow);
    transform: translateY(-4px);
}

.icon-presentation-image {
    width: 160px;
    height: 160px;
    transition: transform 0.35s var(--ib-ease);
}

.icon-presentation-link:hover .icon-presentation-image {
    transform: scale(1.06);
}

.icon-presentation-header {
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    height: 54px;
    color: #fff;
    background: var(--ib-navy);
    border-radius: 0;
    transition: background-color 0.25s var(--ib-ease), color 0.25s var(--ib-ease);
}

.icon-presentation-link {
    transition: opacity 0.25s var(--ib-ease);
}

.icon-presentation-link:hover .icon-presentation-header {
    background: var(--ib-blue);
}

/* Duyurular / Etkinlikler */
.interactive-header {
    font-family: var(--ib-font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--ib-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .interactive-header i {
        color: var(--ib-sky);
        font-size: 20px;
    }

.event-calendar-link {
    margin-left: 0.5rem;
    padding: 0.25rem 0.7rem;
    font-family: var(--ib-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--ib-blue);
    background: var(--ib-surface-2);
    border-radius: 999px;
    text-decoration: none;
}

.interactive-item {
    border: 0;
    background: var(--ib-surface);
    border-radius: var(--ib-radius-lg);
    box-shadow: none;
    padding: 1.25rem;
}

    .interactive-item h5 {
        font-family: var(--ib-font-display);
        font-size: 20px;
        font-weight: 800;
        color: var(--ib-navy);
    }

    .interactive-item > p:not(.announcement-date) {
        color: var(--ib-muted);
        font-size: 14px;
    }

.announcement-date,
.event-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--ib-muted);
    padding-right: 0;
    padding-bottom: 0.6rem;
}

.interactive-image {
    border: 0;
    border-radius: 12px;
    background: #fff;
}

.announcement-swiper .swiper-button-next, .announcement-swiper .swiper-button-prev,
.event-swiper .swiper-button-next, .event-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--ib-navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 46, 79, 0.25);
}

    .announcement-swiper .swiper-button-next::after, .announcement-swiper .swiper-button-prev::after,
    .event-swiper .swiper-button-next::after, .event-swiper .swiper-button-prev::after {
        font-size: 13px;
        font-weight: 800;
    }

/* Eğitim grupları */
.home-section-col {
    padding: 0.75rem;
}

    .home-section-col .h-font {
        font-family: var(--ib-font-display);
        font-size: 24px;
        font-weight: 800;
        color: var(--ib-navy);
        margin-bottom: 1rem !important;
    }

.h-font {
    font-family: var(--ib-font-display);
    font-weight: 800;
    color: var(--ib-navy);
}

.home-section-image {
    border-radius: var(--ib-radius-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--ib-shadow-sm);
}

.home-section-paragraph {
    text-align: left;
    color: var(--ib-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* hero */
.swiper-content {
    background: linear-gradient(to top, rgba(7, 32, 58, 0.55), rgba(7, 32, 58, 0) 60%);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6) !important;
}

.swiper-pagination-bullet-active {
    background: var(--ib-sun) !important;
    width: 26px;
    border-radius: 6px;
}

/* ---------- News, announcements, events, galleries ---------- */
.announcement-item,
.event-item {
    background: var(--ib-surface);
    border-left: 4px solid var(--ib-sky);
    border-radius: var(--ib-radius);
    padding: 1.25rem 1.5rem;
}

    .event-item h3 {
        color: var(--ib-navy);
        font-size: 20px;
    }

.news-image,
.gallery-image,
.success-detail-image,
.successes-detail-image-inside {
    border-radius: 12px;
}

.news-header {
    font-family: var(--ib-font-display);
    font-weight: 800;
    color: var(--ib-navy);
}

/* detail & list pages (haberler, duyurular, etkinlikler, basarilar, basinda biz) */
.content {
    font-size: 16px;
    line-height: 1.8;
}

.detail-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem !important;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--ib-surface-2);
    color: var(--ib-navy);
    font-family: var(--ib-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

    .detail-date i {
        color: var(--ib-sky);
        font-size: 12px;
    }

.detail-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--ib-navy);
    line-height: 1.6;
    margin-bottom: 1rem !important;
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ib-text);
}

    .detail-body p {
        margin-bottom: 0.9rem !important;
    }

    .detail-body h1, .detail-body h2, .detail-body h3, .detail-body h4, .detail-body h5 {
        font-size: 18px;
        font-weight: 700;
        color: var(--ib-navy);
        margin: 1rem 0 0.5rem;
    }

    .detail-body img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

.detail-meta {
    font-size: 14px;
    color: var(--ib-muted);
    margin-top: 0.5rem;
}

.content hr {
    margin: 1.25rem 0 0.75rem;
    opacity: 0.15;
}

    .content hr ~ p {
        font-size: 13px;
        color: var(--ib-muted);
        margin-bottom: 0.2rem !important;
    }

.content .read-more {
    margin-top: 0.75rem;
}

.image-container-event,
.image-container-announcement {
    margin-bottom: 0.5rem;
}

.successes-detail-image-inside {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
}

.success-wrapper {
    gap: 1rem;
}

.event-item,
.announcement-item {
    max-width: 100%;
}

    .event-item h3,
    .announcement-item h3 {
        margin: 0.75rem 0 0.35rem !important;
        line-height: 1.35;
    }

    .event-item > p,
    .announcement-item > p,
    .event-item .detail-body,
    .announcement-item .detail-body {
        font-size: 15px;
        line-height: 1.7;
    }

    .event-item .detail-date,
    .announcement-item .detail-date {
        margin-bottom: 0.75rem !important;
    }

.success-detail-image,
.list-item-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0;
}

.pagination .page-link {
    color: var(--ib-blue);
    border-color: var(--ib-line);
    font-size: 14px;
}

.pagination .page-item.active .page-link {
    background: var(--ib-navy);
    border-color: var(--ib-navy);
    color: #fff;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 3px rgba(55, 166, 224, 0.2);
}

/* ---------- Management team (Yönetim Kadromuz) ---------- */
.academic-wrapper {
    width: 100%;
    background: var(--ib-white);
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s var(--ib-ease), box-shadow 0.3s var(--ib-ease);
}

    .academic-wrapper:hover {
        transform: translateY(-4px);
        box-shadow: var(--ib-shadow);
    }

.academic-image,
.academic-image-m {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 0;
}

.academic-title,
.academic-title-m {
    font-family: var(--ib-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ib-navy);
    padding: 1rem 1rem 0.25rem;
}

.academic-field,
.academic-sub-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ib-blue);
    padding-bottom: 1rem;
    margin-bottom: 0;
}

/* Academic staff (Akademik Kadro) tweaks on top of site.css .staff-* block */
.staff-section-title {
    font-weight: 800;
    color: var(--ib-navy);
}

.staff-section-header::after {
    background: linear-gradient(90deg, #1c5984, var(--ib-sky));
}

.staff-section-count {
    display: none;
}

.staff-card {
    border: 0;
    background: var(--ib-surface);
}

    .staff-card:hover {
        box-shadow: var(--ib-shadow);
    }

.staff-card-name {
    font-weight: 700;
    color: var(--ib-navy);
}

/* ---------- Footer ---------- */
.footer-container {
    padding: 3.25rem 1rem 1.5rem;
    box-shadow: none;
    background-color: var(--ib-navy-deep);
    border-top: 6px solid;
    border-image: var(--ib-rainbow) 1;
}

    .footer-container > .section-division:first-child {
        display: none;
    }

.footer-header {
    margin-left: 0;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

    .footer-header a {
        font-family: var(--ib-font-display);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.16em;
        color: var(--ib-sun);
    }

.footer-container ul li,
.footer-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    padding: 0.4rem 0.5rem;
    border-bottom: 0;
}

    .footer-link:hover {
        color: #fff;
        padding-left: 0.9rem;
        border-bottom: 0;
    }

.footer-logo {
    margin-top: 0;
    padding: 0.75rem;
    background: var(--ib-white);
    border-radius: var(--ib-radius-lg);
    box-shadow: none;
}

.section-division {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.copyright-text,
.policy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

    .policy:hover {
        color: #fff;
        border-bottom: 1px solid transparent;
    }

/* ---------- Cookie bar ---------- */
.cookie-consent-container {
    left: 50%;
    bottom: 1rem;
    width: calc(100% - 2rem);
    max-width: 1100px;
    transform: translateX(-50%);
    border-radius: 20px;
    background-color: var(--ib-navy-deep);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-header {
    font-family: var(--ib-font-display);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.cookie-left {
    font-size: 13px;
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
}

.cookie-consent-container .dropdown-link {
    color: var(--ib-sun);
}

.accept-cookie-policy {
    padding: 0.65rem 1.5rem;
    font-family: var(--ib-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ib-navy-deep);
    background: var(--ib-sun);
    border-radius: 999px;
}

    .accept-cookie-policy:hover {
        background: #ffc72c;
    }

/* ---------- Back to top ---------- */
#top-btn {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 46px;
    height: 46px;
    padding: 0;
    text-align: center;
    line-height: 46px;
    font-size: 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ib-navy);
    box-shadow: 0 10px 24px rgba(11, 46, 79, 0.3);
}

    #top-btn:hover {
        background: var(--ib-blue);
        border: 0;
    }

    #top-btn i {
        line-height: inherit;
        vertical-align: middle;
    }

/* ---------- Responsive ---------- */
@media screen and (max-width: 1200px) {
    .header-link {
        font-size: 12px;
        padding: 0.5rem 0.6rem;
    }

    .brand-logo {
        width: 170px;
    }

    #main-nav .full-width-menu.row {
        padding: 0.5rem 1.25rem;
    }
}

@media screen and (max-width: 992px) {
    .header-link {
        font-size: 11px;
        padding: 0.45rem 0.45rem;
    }

    .right-menu-bar {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }

    .brand-logo {
        width: 150px !important;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --ib-page-pad: 1.25rem;
    }

    .top-header {
        height: 40px;
        padding: 0 0.75rem 0 0;
    }

    .top-header-img {
        height: 40px;
        width: 130px !important;
        max-width: none;
    }

    .header-right {
        gap: 0.5rem;
    }

    .header-center {
        display: none;
    }

    .header-right-links {
        flex-wrap: nowrap;
        gap: 0;
    }

        .header-right-links a:nth-child(-n+3) {
            display: none;
        }

    .top-header-link-s {
        white-space: nowrap;
    }

    .top-header-link-s {
        padding: 0.3rem 0.5rem;
        font-size: 10px;
    }

    #main-nav .full-width-menu.row {
        padding: 0.5rem 1rem;
        min-height: 64px;
    }

    .center-menu-bar {
        flex: 1 1 100% !important;
        width: 100% !important;
        justify-content: space-between;
        padding: 0 !important;
    }

    .page {
        border-radius: 18px;
        padding: var(--ib-page-pad) !important; /* contact.css / pages.css zero it out on small screens */
    }

    .contact-section {
        padding: 1rem !important;
    }

    .contact-social {
        margin-top: 1rem;
    }

    .contact-info-table td,
    .contact-info-table th {
        font-size: 13px;
        padding: 0.5rem 0.4rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .contact-info-table .wrap {
        display: table-cell;
        width: auto;
        overflow: visible;
        word-break: break-all;
    }

    .page > .page-header-container-references {
        padding-top: 1.1rem !important;
    }

    .page > .page-header {
        font-size: 26px !important;
        padding-bottom: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .page-inside-nav {
        padding-right: 0 !important;
        margin-bottom: 1.75rem !important;
    }

    .home-section {
        padding: 1.5rem;
        border-radius: 18px;
        margin-top: 1.5rem;
    }

    .media-header,
    .l-media-header {
        font-size: 26px;
    }

    .icon-presentation-col {
        width: 100%;
        max-width: 100%;
    }

    .icon-list ul {
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .cookie-consent-container {
        bottom: 0.5rem;
        width: calc(100% - 1rem);
    }

    #top-btn {
        right: 1rem;
        bottom: 1rem;
    }

    /* inner pages: tighter padding, smaller type, no justified text */
    .page-content,
    .page-section,
    .page-right-content,
    .content,
    .detail-body {
        font-size: 15px;
        line-height: 1.7;
    }

    .page-content {
        padding: 0;
    }

    .page-section {
        margin-top: 1.75rem;
    }

    .page-right-content {
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .text-justify {
        text-align: left;
    }

    .page-content h2,
    .page-content .h-font {
        font-size: 22px;
    }

    .page-content h3 {
        font-size: 19px;
    }

    .page-content h4 {
        font-size: 17px;
    }

    .h-spc-btt {
        margin-bottom: 1rem !important;
    }

    .inside-nav-header {
        margin-top: 0.25rem;
    }

    .content .p-3 {
        padding: 0.5rem 0 !important;
    }

    .detail-lead {
        font-size: 16px;
    }

    .success-wrapper {
        gap: 0.75rem;
    }

    .event-item,
    .announcement-item {
        width: 100%;
        padding: 1rem 1.1rem;
    }

        .event-item h3,
        .announcement-item h3 {
            font-size: 18px;
        }

    .success-detail-image,
    .list-item-image {
        width: 100%;
        height: 200px;
    }

    .successes-detail-image-inside {
        width: 100%;
        height: auto;
        max-height: 340px;
    }

    .news-image {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --ib-page-pad: 1rem;
    }

    .page-wrapper {
        margin-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .page {
        border-radius: 14px;
    }

    .page > .page-header {
        font-size: 22px !important;
        padding-bottom: 1.3rem;
        margin-bottom: 1.1rem;
    }

    .breadcrumb-list li,
    .breadcrumb-list a {
        font-size: 11px;
    }

    .page-content,
    .page-section,
    .page-right-content,
    .content,
    .detail-body,
    .event-item > p,
    .announcement-item > p,
    .event-item .detail-body,
    .announcement-item .detail-body {
        font-size: 14.5px;
        line-height: 1.65;
    }

    .page-section {
        margin-top: 1.4rem;
    }

    .page-content h2,
    .page-content .h-font {
        font-size: 20px;
    }

    .page-content h3 {
        font-size: 18px;
    }

    .media-header,
    .l-media-header {
        font-size: 22px;
    }

    .detail-date {
        font-size: 11px;
        padding: 0.3rem 0.7rem;
    }

    .event-item,
    .announcement-item {
        padding: 0.9rem 1rem;
    }

    .success-detail-image,
    .list-item-image {
        height: 180px;
    }

    .successes-detail-image-inside {
        max-height: 280px;
    }
}

/* No prefers-reduced-motion override on purpose: animations always run. */
