/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

img {
    max-width: 100%;
    height: auto;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}
/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
}

/* SABİT YÜKSEKLİK - logo boyutundan bağımsız */
.navbar.sticky-top {
    min-height: 120px;              /* CCforSEN benzeri kalınlık */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* SAĞ/SOL BOŞLUK - kenarlardan içeri çek */
    padding-left: 10rem !important;
    padding-right: 10rem !important;
}

/* Brand alanı - navbar içinde dikeyde ortala */
.navbar-light .navbar-brand {
    min-height: 0;
    padding: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo navbar'ı büyütmesin - yüksekliği sınırla */
.navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* Marka başlığı */
.brand-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--dark);
}

.brand-title .brand-code {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #6c757d;
    letter-spacing: 0.3px;
    margin-top: 3px;
}

/* Navbar içindeki menü grubu tam dikeyde ortalı */
.navbar-collapse {
    height: 100%;
}

.navbar-nav {
    height: 100%;
    align-items: center;
}

/* Linkler */
.navbar-light .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 0;                 /* dikey padding kaldırıldı - navbar sabit yükseklik */
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    outline: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Tablet - biraz daha az kenar boşluğu */
@media (max-width: 1399.98px) {
    .navbar.sticky-top {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}
/* 1200px - 1399.98px arası: navbar sıkışıklığını çöz */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar.sticky-top {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        min-height: 100px;
    }

    /* Logo'yu biraz küçült */
    .navbar-brand img {
        max-height: 50px;
    }

    /* Brand title'ı küçült - iki satır title zaten var (title + code) */
    .brand-title {
        font-size: 1.1rem;
        line-height: 1.2;
        max-width: 320px;   /* uzun başlığı sarmala */
    }

    .brand-title .brand-code {
        font-size: 0.68rem;
        margin-top: 2px;
    }

    /* Logo container shrink olmasın, text container esneyebilsin */
    .navbar-brand .logo-container {
        flex-shrink: 0;
    }

    .navbar-brand .text-container {
        min-width: 0;
    }

    /* Nav-link'leri sıkıştır */
    .navbar-light .navbar-nav .nav-link {
        margin-right: 14px;
        font-size: 14px;
    }
}
/* MEVCUT 1199.98px kuralına EKLE / GÜNCELLE */
@media (max-width: 1199.98px) {
    .navbar.sticky-top {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        min-height: 90px;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .brand-title {
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .brand-title .brand-code {
        font-size: 0.65rem;
        margin-top: 2px;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 10px;
        font-size: 13px;
    }
}

/* Logo container'ının shrink olmasını engelle - logo daima görünür kalsın */
.navbar-brand .logo-container {
    flex-shrink: 0;
}

.navbar-brand .text-container {
    min-width: 0; /* text-container'ın taşmasını engelle */
}

/* Mobil - navbar yüksekliği serbest kalsın (menü açılınca uzuyor) */
@media (max-width: 991.98px) {
    .navbar.sticky-top {
        height: auto;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-collapse,
    .navbar-nav {
        height: auto;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        height: auto;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar-brand img {
        max-height: 45px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-title .brand-code {
        font-size: 0.65rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/* 575.98px altı: küçük mobil ekranlar */
@media (max-width: 575.98px) {
    .navbar.sticky-top {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Logo'yu belirgin şekilde küçült */
    .navbar-brand img {
        max-height: 36px;
    }

    .navbar-brand .logo-container {
        flex-shrink: 0;
        margin-right: 0.5rem !important;  /* me-3 override */
    }

    /* Text container esneyebilsin ve taşmayı engelle */
    .navbar-brand .text-container {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    /* Brand title kompakt */
    .brand-title {
        font-size: 0.82rem;
        line-height: 1.15;
        white-space: normal;
        word-break: break-word;
    }

    /* Uzun proje kodunu kırılabilir yap */
    .brand-title .brand-code {
        font-size: 0.6rem;
        margin-top: 2px;
        word-break: break-all;   /* uzun kod satırı kırılsın */
        line-height: 1.2;
    }

    /* Toggler butonu daha az yer kaplasın */
    .navbar-toggler {
        margin-right: 0 !important;  /* me-4 override */
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
}

/* 400px altı: çok dar ekranlar (iPhone SE 1st gen, küçük Android) */
@media (max-width: 400px) {
    .navbar-brand img {
        max-height: 32px;
    }

    .brand-title {
        font-size: 0.72rem;
    }

    .brand-title .brand-code {
        font-size: 0.55rem;
    }
}

/* 340px altı: extreme dar (Galaxy Fold kapalı vb.) */
@media (max-width: 340px) {
    /* Kod satırını tamamen gizle - başlık zaten yeterli bilgi veriyor */
    .brand-title .brand-code {
        display: none;
    }

    .navbar-brand img {
        max-height: 28px;
    }
}
/*** Hero Section (CCforSEN style) ***/
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(110deg, #ffffff 0%, #f6fafc0c 48%, #fcfdfd21 100%);
}

.hero-section .container {
    position: relative;
}

.hero-row {
    min-height: 500px;
}

/* Sol taraf: metin */
.hero-content {
    position: relative;
    z-index: 3;                    /* resmin ÜSTÜNDE kalsın */
    padding-top: 60px;
    padding-bottom: 60px;
    padding-right: 30px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin: 0;
    letter-spacing: -1px;
}

.hero-logo {
    max-width: 80px;
    height: auto;
    flex-shrink: 0;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(34, 34, 34, 0.836);
    font-weight: 200;
    margin-top: 50px;
    max-width: 560px;
}

/* Sağ taraf: resim - ABSOLUTE, sağdan taşar, tüm yüksekliği kaplar */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: -3%;
    bottom: 0;
    width: 58%;
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 0;            
    mask-image: linear-gradient(to right, transparent 0%, rgb(0, 0, 0) 15%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, rgb(0, 0, 0) 100%);
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 0;
    }
    .hero-row {
        min-height: 0;
    }
    .hero-content {
        padding-right: 0;
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }
    .hero-title-wrapper {
        justify-content: center;
    }
    .hero-description {
        margin: 0 auto;
    }
    /* Mobilde/tablette: resmi absolute'tan çıkar, normal akışa döndür */
    .hero-image-wrapper {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
    }
    .hero-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .hero-logo {
        max-width: 60px;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-image {
        max-height: 280px;
    }
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

@media (max-width: 767px) {
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

/*** Service ***//*
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/*** Categories & Courses ***//*
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

/*** Testimonial ***//*
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 100px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 150px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 767px) {
    .testimonial-item {
        padding: 0 15px;
        text-align: center;
    }
    
    .testimonial-item img {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 10px !important;
    }
    
    .testimonial-item h5 {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    .testimonial-carousel .owl-dots {
        margin-top: 15px;
    }
}
*/
/*** Explore Cards (CCforSEN style) ***/
.explore-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    transition: transform .4s ease, box-shadow .4s ease;
    box-shadow: 0 8px 25px rgba(24, 29, 56, 0.08);
}

.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(194, 201, 241, 0.18);
    text-decoration: none;
}

/* Arka plan resmi (varsa) */
.explore-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .6s ease;
}

.explore-card:hover .explore-card-bg {
    transform: scale(1.06);
}

/* Overlay katmanı - resmin üstünde okunabilirlik için */
.explore-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}
.explore-card.staff::before {
    background: linear-gradient(
        135deg,
        rgb(181, 240, 235) 0%,
        rgba(120, 251, 255, 0.315) 100%
    );
}
.explore-card.partnerscard::before {
    background: linear-gradient(
        135deg,
        rgba(232, 246, 250, 0.562) 0%,
        rgba(210, 234, 243, 0.151) 100%
    );
}
/* KOYU kart - lacivert gradient overlay */
/*
.explore-card-dark::before {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 60, 0.92) 0%,
        rgba(24, 29, 90, 0.85) 60%,
        rgba(24, 29, 90, 0.65) 100%
    );
}*/
.explore-card-dark {
    color: #ffffff;
}

/* AÇIK kart - açık mavimsi overlay *//*
.explore-card-light::before {
    background: linear-gradient(
        135deg,
        rgba(232, 241, 250, 0.94) 0%,
        rgba(210, 226, 243, 0.315) 100%
    );
}
.explore-card-light {
    color: var(--dark, #181d38);
}*/

/* Resimsiz "solid" kartlar - saf renk */
.explore-card-solid.explore-card-dark {
    background: linear-gradient(160deg, #0f173c 0%, #1a2358 100%);
}
.explore-card-solid.explore-card-light {
    background: linear-gradient(160deg, #eaf2fa21 0%, #d5e4f33a 100%);
}
.explore-card-solid::before { display: none; }
.explore-card-solid.explore-card-dark:hover{
    color: #ffffff !important;

}

/* İç içerik */
.explore-card-body {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
}
.explore-card-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--dark);
}

.explore-card-dark .explore-card-kicker {
    color:var(--dark);
}

.explore-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: inherit;
}

.explore-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.92;
}

.explore-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.explore-card-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    font-weight: 500;
}
.explore-card-list li:last-child { border-bottom: none; }

.explore-card-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.explore-card-info li {
    font-size: 0.9rem;
    padding: 4px 0;
    color: inherit;
}

.explore-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(24, 29, 56, 0.1);
}

/* Buton - kartın altına yaslı */
.explore-card-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all .3s ease;
    background: #ffffff7c;
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.863);
}
.explore-card-btn:hover{
    background: rgba(255, 255, 255, 0.945);
}
/*
.explore-card-dark .explore-card-btn {
    background: #ffffff7c;
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.863);
}*/
/*
.explore-card-dark:hover .explore-card-btn {
    background: rgba(255, 255, 255, 0.945);
}*/
.explore-card,
.explore-card:hover,
.explore-card-dark:hover .explore-card-title,
.explore-card:hover .explore-card-text,
.explore-card-dark:hover .explore-card-list li,
.explore-card-dark:hover .explore-card-body {
    color:var(--dark)!important;
}/*
.explore-card-light .explore-card-btn {
    background: var(--primary);
    color: #ffffff;
}
.explore-card-light:hover .explore-card-btn {
    background: var(--dark, #181d38);
    color: #ffffff;
}*/
.explore-card-dark{
    background: rgb(181, 240, 235) !important;
}
.explore-card.news .explore-card-kicker,
.explore-card.news .explore-card-title,
.explore-card.news .explore-card-text {
    color: whitesmoke !important;
}

/* NEWS kartı - hover hali (istersen aynı renk kalsın) */
.explore-card.news:hover .explore-card-kicker,
.explore-card.news:hover .explore-card-title,
.explore-card.news:hover .explore-card-text {
    color: whitesmoke !important;
}
/* Mobil */
@media (max-width: 767.98px) {
    .explore-card { min-height: 340px; }
    .explore-card-body { padding: 26px 22px; }
    .explore-card-title { font-size: 1.2rem; }
}
/*** WP Output Rows (CCforSEN style) ***/
/* =========================================
   WORKPACKAGES - MOCKUP STYLE
   ========================================= */

.cc-wp-page {
    background: #ffffff;
}

.cc-wp2-showcase {
    background: linear-gradient(180deg, #eef7ff 0%, #f5fbff 100%);
    border: 1px solid #e4eef7;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(23, 43, 85, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.cc-wp2-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 100px;
    align-items: center;
    margin-bottom: 28px;
}

.cc-wp2-book img {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}
.cc-wp2-math-decor {
    position: absolute;
    top: 35px;
    right: 28px;
    width: 120px;
    height: 320px;
    z-index: 1;
    pointer-events: none;
}

.cc-wp2-math-decor span {
    position: absolute;
    font-family: "Cambria Math", "STIX Two Math", "DejaVu Sans", "Times New Roman", serif;
    font-weight: 300;
    color: rgba(83, 148, 220, 0.16);
    user-select: none;
    line-height: 1;
}

.cc-wp2-math-decor span:nth-child(1) {
    top: 0;
    right: 128px;
    font-size: 68px;
}

.cc-wp2-math-decor span:nth-child(2) {
    top: 52px;
    left: 62px;
    font-size: 54px;
}

.cc-wp2-math-decor span:nth-child(3) {
    top: 122px;
    left: 18px;
    font-size: 50px;
}

.cc-wp2-math-decor span:nth-child(4) {
    top: 192px;
    left: 48px;
    font-size: 104px;
}

.cc-wp2-math-decor span:nth-child(5) {
    top: 302px;
    left: 40px;
    font-size: 62px;
}
.cc-wp2-info {
    min-width: 0;
}

.cc-wp2-label {
    color: #15bfd0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.cc-wp2-title {
    color: #172b55;
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 14px;
    max-width: 780px;
}

.cc-wp2-desc {
    color: #596b86;
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 760px;
}

.cc-wp2-highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dbe8f3;
    border-radius: 14px;
    padding: 16px 18px;
    max-width: 560px;
}

.cc-wp2-highlight-qr {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d8e4ef;
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.cc-wp2-highlight-text h3 {
    margin: 0 0 8px;
    color: #172b55;
    font-size: 1.05rem;
    font-weight: 700;
}

.cc-wp2-highlight-text p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* languages */
.cc-wp2-languages-title {
    color: #172b55;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.cc-wp2-language-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.cc-lang-card {
    background: #ffffff;
    border: 1px solid #e4edf5;
    border-radius: 16px;
    padding: 16px 14px;
    box-shadow: 0 6px 18px rgba(23, 43, 85, 0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 100%;
}

.cc-lang-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
}

.cc-lang-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #dce7f0;
}

.cc-lang-title {
    color: #172b55;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.cc-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cc-lang-btn.primary {
    background: #15bfd0;
    color: #fff;
}

.cc-lang-btn.primary:hover {
    background: #10adbd;
    color: #fff;
}

.cc-lang-btn.secondary {
    background: #eef8fb;
    color: #159eae;
    border: 1px solid #cdebf0;
}

.cc-lang-btn.secondary:hover {
    background: #def4f7;
    color: #117d89;
}

.cc-lang-qr-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.cc-lang-qr {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border: 1px solid #dce7f0;
    border-radius: 10px;
    padding: 4px;
    background: #fff;
}

/* WP3 / WP4 */
.cc-wp-inline-card {
    background: #ffffff;
    border: 1px solid #e3ebf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(23, 43, 85, 0.04);
    margin-bottom: 24px;
}

.cc-wp-inline-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 28px;
    background: #f8fbfe;
    border-bottom: 1px solid #e3ebf3;
}

.cc-wp-inline-number {
    color: #15bfd0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 4px;
    flex-shrink: 0;
}

.cc-wp-inline-header h2 {
    margin: 0;
    color: #172b55;
    font-size: 1.45rem;
    line-height: 1.4;
    font-weight: 600;
}

.cc-wp-inline-body {
    padding: 24px 28px;
    color: #61718b;
    font-size: 1rem;
    line-height: 1.7;
}
/* ============= WP4 Resource Bank ============= */

.cc-wp4-section .cc-wp-inline-body {
    padding: 28px;
}

.cc-wp4-intro {
    max-width: 900px;
    color: #61718b;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 22px;
}

/* Language tabs (küçük, ikincil) */
.cc-wp4-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #dbe8f3;
}

.cc-wp4-lang-tab {
    border: 1px solid #dbe8f3;
    background: #ffffff;
    color: #172b55;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cc-wp4-lang-tab:hover:not(:disabled) {
    background: #eef8fb;
    border-color: #cdebf0;
}

.cc-wp4-lang-tab.is-active {
    background: #15bfd0;
    color: #ffffff;
    border-color: #15bfd0;
}

.cc-wp4-lang-tab:disabled,
.cc-wp4-lang-tab.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Grade tabs (birincil, büyük) */
.cc-wp4-grade-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.cc-wp4-grade-tab {
    border: 1px solid #dbe8f3;
    background: #ffffff;
    color: #172b55;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cc-wp4-grade-tab:hover {
    background: #eef8fb;
    border-color: #cdebf0;
    color: #159eae;
}

.cc-wp4-grade-tab.is-active {
    background: #15bfd0;
    border-color: #15bfd0;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(21, 191, 208, 0.25);
}

/* Panels */
.cc-wp4-panel {
    display: none;
}

.cc-wp4-panel.is-active {
    display: block;
    animation: wp4FadeIn 0.25s ease;
}

@keyframes wp4FadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: none; }
}

/* Grid */
.cc-wp4-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

/* Card - WP2 kartları ile aynı dil */
.cc-wp4-card {
    background: #ffffff;
    border: 1px solid #e4edf5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(23, 43, 85, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc-wp4-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(23, 43, 85, 0.09);
}

.cc-wp4-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fbfe;
    border-bottom: 1px solid #e3ebf3;
}

.cc-wp4-badge {
    color: #172b55;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cc-wp4-badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #15bfd0;
    margin-right: 8px;
    vertical-align: middle;
}

/* Embed - Wordwall'un 500x380 oranı korunur */
.cc-wp4-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 500 / 380;
    background: #f4f7fb;
}

.cc-wp4-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ============= WP4 · Subsections (Part 1 / 2 / 3) ============= */

.cc-wp4-subsection {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px dashed #dbe8f3;
}

.cc-wp4-subsection:first-of-type {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
}

.cc-wp4-sub-head {
    margin-bottom: 22px;
}

.cc-wp4-sub-eyebrow {
    display: inline-block;
    color: #15bfd0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cc-wp4-sub-title {
    color: #172b55;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.cc-wp4-sub-desc {
    color: #61718b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    max-width: 780px;
}

/* --- Part 1: Lesson Plans language grid --- */
.cc-wp4-lang-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.cc-wp4-lang-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 12px;
    background: #ffffff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(23, 43, 85, 0.04);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cc-wp4-lang-card:hover {
    transform: translateY(-3px);
    border-color: #cdebf0;
    box-shadow: 0 12px 24px rgba(23, 43, 85, 0.09);
    text-decoration: none;
}

.cc-wp4-lang-flag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #dce7f0;
}

.cc-wp4-lang-name {
    color: #172b55;
    font-size: 0.95rem;
    font-weight: 700;
}

.cc-wp4-lang-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef8fb;
    color: #159eae;
    border: 1px solid #cdebf0;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.cc-wp4-lang-card:hover .cc-wp4-lang-cta {
    background: #15bfd0;
    color: #ffffff;
    border-color: #15bfd0;
}

/* --- Part 3: Worksheets rows --- */
.cc-wp4-worksheet-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-wp4-worksheet-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(23, 43, 85, 0.04);
}

.cc-wp4-worksheet-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cc-wp4-worksheet-grade {
    color: #172b55;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.cc-wp4-worksheet-grade::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #15bfd0;
    margin-right: 8px;
    vertical-align: middle;
}

.cc-wp4-worksheet-sub {
    color: #8695ac;
    font-size: 0.82rem;
    font-weight: 500;
}

.cc-wp4-worksheet-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-wp4-pdf-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #eef8fb;
    color: #159eae;
    border: 1px solid #cdebf0;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cc-wp4-pdf-chip img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #dce7f0;
}

.cc-wp4-pdf-chip:hover {
    background: #15bfd0;
    color: #ffffff;
    border-color: #15bfd0;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .cc-wp4-lang-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cc-wp4-worksheet-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
}

@media (max-width: 575.98px) {
    .cc-wp4-lang-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-wp4-sub-title {
        font-size: 1.25rem;
    }
}
/* ============= WP3 CTA ============= */

.cc-wp3-cta {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 24px 26px;
    background: linear-gradient(135deg, #eef8fb 0%, #f5fbff 100%);
    border: 1px solid #cdebf0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(23, 43, 85, 0.04);
}

.cc-wp3-cta-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #cdebf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #15bfd0;
    font-size: 32px;
    flex-shrink: 0;
}

.cc-wp3-cta-title {
    color: #172b55;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.cc-wp3-cta-desc {
    color: #61718b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.cc-wp3-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #15bfd0;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(21, 191, 208, 0.28);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cc-wp3-cta-btn:hover {
    background: #10adbd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(21, 191, 208, 0.35);
    text-decoration: none;
}

.cc-wp3-cta-btn i {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .cc-wp3-cta {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        padding: 22px 18px;
    }

    .cc-wp3-cta-icon {
        margin: 0 auto;
    }

    .cc-wp3-cta-btn {
        justify-content: center;
    }
}
/* Responsive */
@media (max-width: 575.98px) {
    .cc-wp4-section .cc-wp-inline-body {
        padding: 18px;
    }

    .cc-wp4-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cc-wp4-grade-tab {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
        padding: 9px 12px;
        font-size: 0.9rem;
    }
}
/* responsive */
@media (max-width: 1399.98px) {
    .cc-wp2-language-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1199.98px) {
    .cc-wp2-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cc-wp2-book img {
        max-width: 480px;
        margin: 0 auto;
    }

    .cc-wp2-title {
        font-size: 2rem;
    }

    /* Math dekor bu boyutta çakışıyor - gizle */
    .cc-wp2-math-decor {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .cc-wp2-top {
        grid-template-columns: 1fr;
    }

    .cc-wp2-title {
        font-size: 2rem;
    }

    .cc-wp2-language-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .cc-wp2-showcase {
        padding: 16px;
    }

    .cc-wp2-title {
        font-size: 1.55rem;
    }

    .cc-wp2-desc {
        font-size: 0.96rem;
    }

    .cc-wp2-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .cc-wp2-language-row {
        grid-template-columns: 1fr;
    }

    .cc-wp-inline-header,
    .cc-wp-inline-body {
        padding: 18px;
    }

    .cc-wp-inline-header h2 {
        font-size: 1.15rem;
    }
}
/* =========================================
   USER GUIDE SECTION
   ========================================= */

.user-guides-section {
  background: #f5f8fc;
  padding: 90px 0 100px;
}

.user-guides-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/*
.user-guides-header {
  max-width: 650px;
  margin: 0 auto 48px;
  text-align: center;
}

.user-guides-label {
  display: inline-block;
  color: #09b8d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.user-guides-header h1 {
  color: #17203d;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  margin: 0 0 15px;
}

.user-guides-header p {
  color: #6b778b;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}*/
/* ============ USER GUIDES HEADER ============ */
.user-guides-header {
  position: relative;
  display: flex;              /* grid yerine flex */
  align-items: center;
  min-height: 340px;          /* görselin nefes alması için */
  padding: 60px 50px;
  margin-bottom: 50px;
  border-radius: 20px;
  overflow: hidden;

  background-color: #eaf3fb;
  background-image: url("../img/ChatGPT Image Sep 14, 2026, 03_55_27 PM.png");
  background-size: cover;
  background-position: right center;  /* kitaplar sağda kalsın */
  background-repeat: no-repeat;
}

/* Sol taraf yazılar için beyaz gradient */
.user-guides-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.7) 40%,
    rgba(255, 255, 255, 0) 65%
  );
  z-index: 0;
}

.user-guides-header-text {
  position: relative;
  z-index: 1;
  max-width: 45%;             /* yazılar sola sıkışsın, sağ tarafı görsele bırak */
}

.user-guides-header-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #0b3d67;
  margin: 0 0 15px 0;
  white-space: nowrap;        /* "User Guides" tek satırda kalsın */
}

.user-guides-header-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* Mobil */
@media (max-width: 768px) {
  .user-guides-header {
    min-height: 260px;
    padding: 30px 25px;
  }
  .user-guides-header-text { max-width: 100%; }
  .user-guides-header-text h1 { font-size: 2rem; white-space: normal; }
  .user-guides-header::before {
    background: rgba(255, 255, 255, 0.8);
  }
}
/* Cards */

.user-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.user-guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5ebf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 50, 85, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.user-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20, 50, 85, 0.12);
}

/* Card top */

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 0;
}

.guide-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  background: #edf6fa;
  color: #123c69;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.guide-pdf-badge {
  background: #fff0f0;
  color: #d94242;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 5px;
}

/* CSS PDF preview */

.guide-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 225px;
  padding: 24px 20px 0;
  background: #ffffff;
}

.guide-document {
  position: relative;
  width: 155px;
  height: 195px;
  background: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 3px;
  box-shadow: 8px 9px 0 #eef3f8,
              0 10px 25px rgba(30, 60, 90, 0.08);
  padding: 26px 18px;
  overflow: hidden;
}

.guide-document::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    #f5f9fd 50%,
    #dce9f3 50%
  );
}

.guide-document-icon {
  position: absolute;
  top: 17px;
  right: 13px;
  color: #d94242;
  font-size: 9px;
  font-weight: 800;
  z-index: 1;
}

.guide-document-title {
  color: #123b6a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 10px;
}

.guide-document-line {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #14b9d8;
  margin-top: 12px;
}

.guide-document-line.short {
  width: 18px;
  height: 2px;
  background: #dce8f1;
  margin-top: 6px;
}

.guide-document-lines {
  width: 75px;
  height: 30px;
  margin-top: 15px;
  opacity: 0.7;
  background: repeating-linear-gradient(
    to bottom,
    #b8ccdf 0,
    #b8ccdf 2px,
    transparent 2px,
    transparent 9px
  );
}
.guide-language-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.guide-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Bottom wave */

.guide-document-wave {
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 155px;
  height: 66px;
  background: #0c3969;
  clip-path: polygon(0 0, 35% 24%, 70% 72%, 100% 100%, 0 100%);
}

.guide-document-wave::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -8px;
  width: 110px;
  height: 65px;
  background: #19bedb;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 30% 50%);
}

/* Card content */

.guide-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
  border-top: 1px solid #edf1f5;
}

.guide-language-name {
  color: #17203d;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.guide-card-content p {
  color: #7b8799;
  font-size: 13px;
  margin: 0 0 22px;
}

.guide-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.guide-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 42px;
  padding: 10px 12px;
  background: #123b6a;
  color: #ffffff;
  border: 1px solid #123b6a;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.guide-view-btn:hover {
  background: #0b2a4d;
  color: #ffffff;
}

.guide-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #eaf9fc;
  color: #079dbd;
  border: 1px solid #d4f0f6;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.guide-download-btn:hover {
  background: #d5f3f9;
  color: #087f9b;
}

/* Responsive */

@media (max-width: 991px) {
  .user-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-guides-section {
    padding: 65px 0 75px;
  }
    .user-guides-header {
    grid-template-columns: 1fr;
    padding: 40px 25px;
    text-align: center;
  }
  .user-guides-header-text p { margin-left: auto; margin-right: auto; }
  .user-guides-header-visual { justify-content: center; margin-top: 20px; }
  .user-guides-header-text h1 { font-size: 2.2rem; }
}


@media (max-width: 575px) {
  .user-guides-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .user-guides-section .container {
    padding: 0 18px;
  }

  .user-guides-header {
    margin-bottom: 32px;
  }

  .user-guides-header h1 {
    font-size: 32px;
  }

  .guide-preview {
    height: 215px;
  }
}
/*** Footer — FINAL COMPACT ***/
.footer {
    padding: 20px 0 0 !important;
    color: rgba(255, 255, 255, 0.76);
}

.footer .container {
    max-width: 1180px;
}

/* ÜST SATIR */
.footer .footer-top-row {
    align-items: flex-start;
    margin-bottom: -20px !important;
}

/* Kolonlar — dikey padding sıfırlanıyor */
.footer .footer-col {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Başlıklar */
.footer h4 {
    margin: 0 0 8px !important;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 2!important;
}

/* ---- MAIN MENU LINKLERI — sıkı aralık ---- */
.footer .btn.btn-link {
    display: block;
    width: fit-content;
    margin: 0 !important;
    padding: 1px 0 !important;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 0 !important;
    text-transform: capitalize;
    text-align: left;
    transition: color .25s, transform .25s;
}

.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    opacity: 0.7;
}

.footer .btn.btn-link:hover {
    color: #fff;
    transform: translateX(3px);
    letter-spacing: normal;
    box-shadow: none;
}

/* İletişim paragrafları */
.footer p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.4 !important;
    margin: 0 0 4px !important;
}

.footer p i {
    opacity: 0.75;
}

/* Sosyal ikonlar */
.footer .footer-socials {
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.footer .btn.btn-social {
    width: 32px !important;
    height: 32px !important;
    margin-right: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    font-size: 0.78rem;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: #fff;
}

/* Dil butonları — kompakt */
.footer .footer-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
    max-width: 320px;
}

.footer .footer-language-grid .lang-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background .25s, color .25s;
    white-space: nowrap;
    line-height: 1.2;
}

.footer .footer-language-grid .lang-option span {
    opacity: 0.75;
}

.footer .footer-language-grid .lang-option:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Alt disclaimer + logolar */
.footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer .footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.footer .footer-partner-logo {
    max-height: 80px;
    width: auto;
    background: #fff;
    padding: 4px 7px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer .footer-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    line-height: 1.45;
    max-width: 640px;
}

.footer .footer-cofunded {
    max-width: 170px;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 7px 10px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Copyright */
.footer .copyright {
    padding: 8px 0 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    text-align: center;
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer .copyright a:hover {
    color: #fff;
}

.footer .footer-menu {
    display: none !important;
}



/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
    .footer .footer-language-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .footer-cofunded {
        align-self: flex-start;
    }
}

/* ---------- Mobil ---------- */
@media (max-width: 767.98px) {
    .footer {
        padding-top: 18px !important;
    }

    .footer h4 {
        font-size: 0.78rem;
    }

    .footer .btn.btn-link,
    .footer p {
        font-size: 0.76rem;
    }

    .footer .footer-language-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer .footer-bottom-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .footer-partner-logo {
        max-height: 45px;
    }

    .footer .footer-cofunded {
        max-width: 150px;
        align-self: center;
    }

    .footer .copyright {
        font-size: 0.68rem;
    }
}

/* ===== CCforSEN FOOTER - COMPACT HEIGHT ===== */

.footer {
    padding: 14px 0 0 !important;
}

/* Üst bölüm */
.footer .footer-top-row {
    margin-bottom: 0 !important;
    row-gap: 14px !important;
}

/* Başlıklar */
.footer h4 {
    margin-bottom: 5px !important;
    line-height: 1.4 !important;
}

/* Menü bağlantıları */
.footer .btn.btn-link {
    padding: 2px 0 !important;
    line-height: 1.35 !important;
}

/* İletişim alanı */
.footer p {
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
}

/* Sosyal medya ikonları */
.footer .footer-socials {
    margin-top: 5px;
    gap: 5px;
}

.footer .btn.btn-social {
    width: 29px !important;
    height: 29px !important;
    font-size: 0.72rem;
}

/* Dil butonları */
.footer .footer-language-grid {
    gap: 4px 6px;
}

.footer .footer-language-grid .lang-option {
    padding: 4px 6px;
    font-size: 0.7rem;
}

/* Alt bölüm */
.footer .footer-bottom {
    margin-top: 10px;
    padding: 8px 0;
    gap: 12px;
}

/* LSPA logosu */
.footer .footer-partner-logo {
    max-height: 50px;
    padding: 3px 5px;
    border-radius: 6px;
}

/* Disclaimer */
.footer .footer-disclaimer {
    font-size: 0.64rem;
    line-height: 1.3;
}

/* Avrupa Birliği logosu */
.footer .footer-cofunded {
    max-width: 135px;
    padding: 5px 7px;
    border-radius: 6px;
}

/* Copyright */
.footer .copyright {
    padding: 6px 0 8px !important;
    line-height: 1.4;
    font-size: 0.68rem;
}

/* ===== MAIN MENU - VERTICAL SPACING FIX ===== */

/* Main Menu kolonunun kendi dikey boşlukları */
.footer .footer-col-menu {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Main Menu başlığı */
.footer .footer-col-menu h4 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

/* Menü bağlantıları arasındaki boşluğu azalt */
.footer .footer-col-menu a.btn.btn-link {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.35 !important;
}

/* Son bağlantının altında boşluk bırakma */
.footer .footer-col-menu a.btn.btn-link:last-child {
    margin-bottom: 0 !important;
}
/*** General Mobile Improvements ***/
@media (max-width: 767px) {
    .container-xxl.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .wow.fadeInUp {
        margin-bottom: 1.5rem !important;
    }
    
    .course-item {
        margin-bottom: 1.5rem;
    }
    
    h1.mb-5 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/*** Course Items ***/
.course-item {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .course-item {
        margin-bottom: 20px;
    }
    
    .course-item .text-center {
        padding: 15px;
    }
    
    .course-item h5 {
        font-size: 1rem;
    }
    
    .course-item p {
        font-size: 0.9rem;
    }
    
    .w-10.d-flex {
        margin-top: 10px;
    }
}

