@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --font-main: "Jost";
    --bg-main: #404863;
    --debi-red: #c50227;
}

body {
    font-family: var(--font-main), sans-serif;
}

/*GENERAL*/

.section-padding {
    padding: 100px 0;
}

/*HEADER*/

header {
    position: absolute;
    z-index: 990;
    left: 0;
    right: 0;
    top: 0;
}

.header-top {
    background-color: var(--bg-main);
    color: #fff;
    padding: 1rem 2.25rem;
}

.header-top .header-social ul, .header-top .header-contact ul {
    display: flex;
    gap: 1.5rem;
}

.navbar-menu ul:not(.dropdown-menu) {
    display: flex;
    gap: 2rem;
}

.navbar {
    padding: 1rem 2.25rem;
    display: flex;
    justify-content: space-between;
    color: #fff;
    align-items: center;
}

.navbar .logo img {
    width: 220px;
}

.dropdown-menu {
    display: none; /* MUST be here */
}

.navbar-menu li a {
    font-size: 16px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    min-width: 200px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;

    padding: 10px 0;

    display: none;
    z-index: 50;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #fff;
    transition: background 0.25s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
}


/*FOOTER*/

footer {
    background-color: #181818;
    color: #8d8d8d;
}

.footer-top {
    padding: 60px 0;
}

.footer-bottom {
    background-color: #202020;
    padding: 30px 0;
}

.footer-social ul {
    display: flex;
    gap: 1.5rem;
    color: var(--debi-red);
}

footer .logo {
    margin-bottom: 20px;
}

.footer-top .logo img {
    width: 200px;
}

.footer-top ul li {
    margin-bottom: .5rem;
}

.footer-bottom a {
    color: #fff;
}

footer .red-line {
    height: 2px;
    background-color: var(--debi-red);
    margin: 15px 0;
}

.footer-menu h3 {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.footer-menu ul li {
    margin-bottom: .5rem;
}

/*PAGE BANNER*/

.page-banner {
    position: relative;
    height: 700px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.25) 15%,
            rgba(0, 0, 0, 0.1) 50%
    ),
    linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 20%,
            rgba(0, 0, 0, 0.1) 45%
    );
}


.page-banner-meta {
    position: relative;
    color: #fff;
    z-index: 2;
    padding-bottom: 40px;
}

.page-banner-meta h4 {
    font-size: 24px;
    margin-bottom: .35rem;
    line-height: 1;
}

.page-banner-meta h1 {
    font-size: 30px;
    font-weight: 700;
}

/*HERO*/

section.hero {

}

section.hero .swiper-slide {
    height: 100vh;
    position: relative;
    margin-top: 50px;
}

.hero-swiper video, .hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overlay-0 {
    background: rgba(0, 0, 0, 0);
}

.overlay-1 {
    background: rgba(0, 0, 0, 0.1);
}

.overlay-2 {
    background: rgba(0, 0, 0, 0.2);
}

.overlay-3 {
    background: rgba(0, 0, 0, 0.3);
}

.overlay-4 {
    background: rgba(0, 0, 0, 0.4);
}

.overlay-5 {
    background: rgba(0, 0, 0, 0.5);
}

.overlay-6 {
    background: rgba(0, 0, 0, 0.6);
}

.overlay-7 {
    background: rgba(0, 0, 0, 0.7);
}

.overlay-8 {
    background: rgba(0, 0, 0, 0.8);
}

.overlay-9 {
    background: rgba(0, 0, 0, 0.9);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px; /* pill shape */

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;
    cursor: pointer;

    transition: background 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease,
    color 0.3s ease;
}

.hero-btn:hover,
.hero-btn:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.hero-btn:active {
    transform: translateY(0);
}

.hero-meta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.hero-meta h1 {
    font-size: 35px;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    justify-content: center;
}

.hero-swiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, 0.4);

    opacity: 1;
    transition: background 0.3s ease,
    transform 0.25s ease,
    border-color 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-swiper .swiper-pagination-bullet {
    width: 28px;
    height: 6px;
    border-radius: 999px;
}

/*HOMEPAGE*/

.edu-item .edu-meta {
    padding: 30px;
    color: #fff;
}

.edu-name a {
    font-size: 14px;
}

.edu-meta h2 {
    font-weight: 700;
    font-size: 20px;
}

.edu-meta:nth-of-type(1) {
    background-color: #c50227;
}

.edu-meta:nth-of-type(2) {
    background-color: #980a25;
}

.edu-meta:nth-of-type(3) {
    background-color: #78091e;
}

.edu-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.edu-meta i {
    line-height: 1;
    font-size: 40px;
}

.education-levels {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.edu-cover {
    display: block;
    overflow: hidden;
    height: 280px;
}

.edu-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease-in-out;
}

.edu-cover:hover img {
    transform: scale(1.05);
}

.education-detail p {
    margin-bottom: 1rem;
}


.education-detail p:last-of-type {
    margin-bottom: 0;
}

.education-detail h1 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 1.25rem;
}

.education-detail ul, .education-detail ol {
    padding-left: 2.25rem;
    margin-bottom: 1rem;
}

.education-detail ul li {
    list-style: disc;
}

.education-detail ol li {
    list-style: decimal;
}

.education-detail .gallery .gallery-item {
    padding: .25rem;
}

.education-detail .gallery-item {
    overflow: hidden;
}

.education-detail .gallery-item a {
    display: block;
    overflow: hidden;
}

.education-detail .gallery-item img {
    transition: .4s ease-in-out;
}

.education-detail .gallery-item:hover img {
    filter: brightness(.75);
    transform: scale(1.05);
}


.intro-video iframe {
    width: 100%;
    height: 700px;
}

/*CONTACT*/

.contact-info {
    background-color: #161616;
    padding: 100px 0;
    color: #fff;
}

.contact-box {
    width: 33%;
    padding-inline: 10px;
}

.contact-box .icon {
    margin-bottom: 25px;
}

.contact-box .icon i {
    font-size: 40px;
    line-height: 1;
}

.contact-box h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-box p {
    font-size: 16px;
    margin-bottom: 25px;
}

.contact-box a {
    color: var(--debi-red);
    display: block;
}


.contact-form {
    background-color: #f3f3f3;
    padding: 100px 0;
    text-align: center;
}

.contact-form h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.contact-form h5 {
    font-size: 20px;
    color: #6b6b6b;
    margin-bottom: 3.25rem;
}

.contact-form form {
    margin: 0 auto;
    width: 40%;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group input, .form-group textarea {
    background-color: #fff;
    padding: 1rem;
    width: 100%;
}

.form-group textarea {
    resize: none;
    height: 130px;
}

.contact-form .submit-btn {
    background-color: var(--debi-red);
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    padding: .85rem;
    cursor: pointer;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
}

.contact-map {
    height: 550px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.map-links {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.map-links a {
    padding: 10px 16px;
    backdrop-filter: blur(10px);
    background: rgb(20 20 20 / 85%);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.map-links a:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
}

.contact-social {
    padding: 80px 0;
    background-color: #fff;
}

.contact-social ul {
    display: flex;
    gap: 2.35rem;
    justify-content: center;
}

.contact-social li {
    font-size: 21px;
}

.message {
    padding: 1rem;
    border: 1px solid #343434;
    margin-bottom: 40px;
    text-align: center;
    color: #bcbcbc;
}


/*ABOUT*/

.about h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.about .red-line {
    height: 3px;
    background-color: var(--debi-red);
    margin: 14px 0;
}

.bg-red {
    padding: 80px 0;
    background-color: var(--debi-red);
    color: #fff;
}

.about .intro {
    padding: 80px 0;
}

.about-parallax-wrapper .about-row {
    display: flex;
    min-height: 520px;
    overflow: hidden;
}

.about-parallax-wrapper .about-row.reverse {
    flex-direction: row-reverse;
}

.about-parallax-wrapper .about-text {
    width: 50%;
    padding: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-parallax-wrapper .about-text p {
    font-size: 20px;
    margin-bottom: .5rem;
}

.about-parallax-wrapper .about-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-parallax-wrapper .about-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

/* Parallax layer */
.about-parallax-wrapper .about-parallax {
    position: absolute;
    inset: -15%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Soft overlay */
.about-parallax-wrapper .about-parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.about-rest {
    padding: 80px 0;
}

.about-rest-text p {
    font-size: 20px;
    margin-bottom: .75rem;
    text-align: center;
}

.corporate p, .corporate ul, .corporate ol,
.corporate h1,
.corporate h2,
.corporate h3,
.corporate h4,
.corporate h5,
.corporate h6 {
    margin-bottom: 1rem;
}

.corporate p:last-of-type {
    margin-bottom: 0;
}

/*ACHIEVEMENTS*/
.achievements {
    padding: 80px 0;
}

.achievement-card {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.achievement-img {
    height: 370px;
    overflow: hidden;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.achievement-card:hover img {
    transform: scale(1.08);
}

.achievement-meta {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.achievement-meta h3 {
    font-size: 18px;
    font-weight: 600;
    max-width: 70%;
}

.achievement-btn {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-btn {
    background: rgba(0, 0, 0, 0.85);
}

.achievement-card {
    transition: transform .4s ease, box-shadow .4s ease;
}

.achievement-card:hover {
    transform: translateY(-6px);
}


.achievement-modal {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.achievement-modal.active {
    display: flex;
}

.achievement-modal .modal-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: modalIn 0.4s ease forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.modal-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.modal-image img {
    width: 70%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/*ANNOUNCEMENT*/
.announcement-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all .4s ease;
}

.announcement-card.has-body:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.9);
}

/* Image */
.announcement-img {
    width: 100%;
}

.announcement-img img {
    width: 100%;
    height: auto; /* IMPORTANT */
    display: block;
    transition: transform .6s ease;
}

.announcement-card:hover img {
    transform: scale(1.04);
}

/* Content */
.announcement-content {
    padding: 20px 22px 26px;
}

.announcement-date {
    font-size: 13px;
    color: #7f1d1d;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.announcement-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Button */
.announcement-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.18);
    color: #7f1d1d;
    backdrop-filter: blur(6px);
    transition: all .3s ease;
}

.announcement-card:hover .announcement-btn {
    background: rgba(185, 28, 28, 0.28);
}

/* Passive */
.announcement-label {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

#modal-image {
    width: 70%;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*LEGAL*/

section.kvkk {
    padding: 80px 0;
}

.kvkk p, .kvkk ul, .kvkk ol {
    margin-bottom: 1rem;
}

.kvkk ul, .kvkk ol {
    padding-left: 2.25rem;
}

.kvkk ul li {
    list-style: disc;
}

.kvkk ol li {
    list-style: decimal;
}

.kvkk h1,
.kvkk h2,
.kvkk h3,
.kvkk h4,
.kvkk h5,
.kvkk h6 {
    font-weight: 700;
    margin-bottom: .75rem;
}

.kvkk h1 {
    font-size: 34px;
}

.kvkk h2 {
    font-size: 28px;
}

.kvkk h3 {
    font-size: 22px;
}

.kvkk h4 {
    font-size: 18px;
}

.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 40px);
    max-width: 560px;
    background: #1f1f1f;
    color: #bebebe;
    padding: 20px;
    border-radius: 12px;
    z-index: 998;

    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.cookie-notice.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cookie-notice button {
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}

#cookie-accept {
    background: var(--debi-red);
    color: #000;
}

#cookie-reject {
    background: #444;
    color: #fff;
}


/*WORKSHOP*/

.workshop-detail p,
.workshop-detail ul,
.workshop-detail ol,
.workshop-detail h1,
.workshop-detail h2,
.workshop-detail h3,
.workshop-detail h4,
.workshop-detail h5,
.workshop-detail h6 {
    margin-bottom: 1rem;
}

.workshop-detail p:last-of-type {
    margin-bottom: 0;
}

.workshop-detail h1,
.workshop-detail h2,
.workshop-detail h3,
.workshop-detail h4,
.workshop-detail h5,
.workshop-detail h6 {
    font-weight: 700;
}

.workshop-detail ul,
.workshop-detail ol {
    padding-left: 2.25rem;
}

.workshop-detail ul li {
    list-style: disc;
}

.workshop-detail ol li {
    list-style: decimal;
}

.workshop-img {
    margin-bottom: 2rem;
}

.workshop-detail h1 {
    font-size: 35px;
}

.workshop-detail h2 {
    font-size: 30px;
}

.workshop-detail h3 {
    font-size: 27px;
}

.workshop-detail h4 {
    font-size: 22px;
}

.workshop-detail h5 {
    font-size: 18px;
}

.workshop-detail h6 {
    font-size: 16px;
}

.workshop-detail hr {
    margin-bottom: 1rem;
    color: #e3e3e3;
}

.accordion-content {
    transition: all 0.25s ease;
}

