/* ==========================================================================
   Dörtrenk Kolej | Eğitim Modeli
   Yol: css/egitim-modeli.css
   ========================================================================== */

:root {
    --c-primary: #0c5adb;
    --c-primary-dark: #093b8f;
    --c-primary-soft: #eaf2ff;

    --c-dark: #091224;
    --c-dark-soft: #162033;
    --c-text: #64748b;
    --c-bg: #f6f9ff;
    --c-white: #ffffff;

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-xl: 42px;

    --shadow-soft: 0 12px 40px -14px rgba(8, 40, 92, 0.10);
    --shadow-float: 0 22px 50px -18px rgba(12, 90, 219, 0.22);
    --shadow-glass: 0 8px 32px 0 rgba(8, 40, 92, 0.08);
    --shadow-card: 0 24px 60px -24px rgba(8, 40, 92, 0.16);

    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-edu-page {
    position: relative;
    padding-bottom: 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(75,141,255,0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(12,90,219,0.06), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.dr-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.dr-mesh-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(9,18,36,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.35;
}

.dr-mesh-blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.36;
}

.blob-edu-1 {
    width: 620px;
    height: 620px;
    background: var(--c-primary);
    top: -100px;
    right: -150px;
    animation: pulse 10s infinite alternate;
}

.blob-edu-2 {
    width: 520px;
    height: 520px;
    background: #dbeafe;
    top: 40%;
    left: -100px;
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(28px, 28px); }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.dr-edu-hero {
    padding: 120px 0 80px;
    display: flex;
    justify-content: center;
}

.dr-hero-content {
    max-width: 940px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dr-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 28px;
    box-shadow: var(--shadow-glass);
}

.dr-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--c-primary);
    border-radius: 50%;
}

.pulse-anim {
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(12,90,219,0.35); }
    70% { box-shadow: 0 0 0 10px rgba(12,90,219,0); }
    100% { box-shadow: 0 0 0 0 rgba(12,90,219,0); }
}

.dr-title-massive {
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.04;
    margin-bottom: 24px;
    color: var(--c-dark);
}

.dr-text-gradient {
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dr-hero-desc {
    font-size: 19px;
    color: var(--c-text);
    max-width: 760px;
    line-height: 1.8;
    margin-bottom: 46px;
}

.dr-hero-stats {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}

.dr-stat-glass {
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.85);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

.dr-stat-glass strong {
    font-size: 26px;
    font-weight: 900;
    color: var(--c-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.dr-stat-glass span {
    font-size: 12px;
    font-weight: 800;
    color: var(--c-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   STICKY SECTION
   ========================================================================== */

.dr-sticky-methodology {
    padding: 60px 0 100px;
}

.dr-sticky-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.dr-sticky-visual {
    flex: 0 0 45%;
    position: sticky;
    top: 120px;
}

.dr-glass-card-large {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.9);
}

.sticky-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #eef4ff 0%, #dbeafe 100%);
}

.dr-floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: var(--c-dark);
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255,255,255,0.5);
}

.top-right {
    top: 36px;
    right: -20px;
    animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dr-scrolling-content {
    flex: 1;
    padding-bottom: 100px;
}

.dr-section-head {
    margin-bottom: 56px;
}

.dr-section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--c-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.dr-section-head h2 {
    font-size: 46px;
    font-weight: 900;
    color: var(--c-dark);
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0;
}

.dr-method-block {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.96) 100%);
    padding: 38px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(12,90,219,0.08);
    margin-bottom: 26px;
    transition: transform 0.35s var(--bezier), box-shadow 0.35s var(--bezier), border-color 0.35s var(--bezier);
}

.dr-method-block:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--c-primary);
    box-shadow: var(--shadow-card);
}

.method-icon {
    font-size: 30px;
    margin-bottom: 16px;
    background: rgba(12,90,219,0.10);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.dr-method-block h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--c-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.dr-method-block p {
    font-size: 16px;
    color: var(--c-text);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   PILLARS
   ========================================================================== */

.dr-edu-pillars {
    padding: 60px 0 100px;
}

.dr-pillars-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.dr-bento-pillar {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.96) 100%);
    padding: 38px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(12,90,219,0.08);
    transition: all 0.4s var(--bezier);
    position: relative;
    overflow: hidden;
}

.dr-bento-pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12,90,219,0.06) 0%, transparent 100%);
    opacity: 0;
    transition: 0.4s;
    z-index: 1;
}

.dr-bento-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.dr-bento-pillar:hover::before {
    opacity: 1;
}

.pillar-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.p-icon {
    font-size: 34px;
    background: var(--c-primary-soft);
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: 0.3s;
}

.dr-bento-pillar:hover .p-icon {
    background: rgba(12,90,219,0.14);
    transform: rotate(-8deg);
}

.pillar-top h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--c-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.dr-bento-pillar p {
    font-size: 16px;
    color: var(--c-text);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   FOREIGN LANGUAGE BLOCK
   ========================================================================== */

.dr-lang-immersive {
    padding: 40px 0 100px;
}

.dr-lang-wrapper {
    background: linear-gradient(135deg, #091224 0%, #0d1f3a 55%, #08285c 100%);
    border-radius: var(--radius-lg);
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(9,18,36,0.22);
}

.dr-lang-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(12,90,219,0.24) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.dr-lang-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.dr-badge-dark {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: #93c5fd;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    border: 1px solid rgba(147,197,253,0.18);
}

.dr-lang-content h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.dr-lang-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.72);
    line-height: 1.85;
    margin-bottom: 30px;
}

.dr-lang-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dr-lang-features span {
    color: var(--c-white);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dr-lang-bubbles {
    flex: 0 0 350px;
    position: relative;
    height: 300px;
    z-index: 2;
}

.bubble {
    position: absolute;
    background: var(--c-white);
    color: var(--c-dark);
    padding: 15px 22px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(0,0,0,0.24);
    animation: floatBubble 6s ease-in-out infinite;
}

.b-1 {
    top: 0;
    left: 0;
    border-bottom-left-radius: 8px;
}

.b-2 {
    top: 45%;
    right: 0;
    background: #dbeafe;
    border-bottom-right-radius: 8px;
    animation-delay: 1.5s;
}

.b-3 {
    bottom: 0;
    left: 10%;
    border-top-left-radius: 8px;
    animation-delay: 3s;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   CTA
   ========================================================================== */

.dr-cta {
    padding: 40px 0 100px;
}

.dr-cta-box {
    background: linear-gradient(135deg, #0d4fc0 0%, #0a419d 46%, #08285c 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-float);
    gap: 24px;
}

.dr-cta-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--c-white);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.dr-cta-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    max-width: 560px;
    line-height: 1.7;
}

.dr-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition:
        transform 0.28s var(--bezier),
        box-shadow 0.28s var(--bezier),
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.dr-btn:hover {
    transform: translateY(-2px);
}

.dr-btn-white {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fd 100%);
    color: var(--c-dark);
    border: 1px solid rgba(255,255,255,0.42);
    box-shadow: 0 12px 24px -18px rgba(255,255,255,0.62);
}

.dr-btn-white:hover {
    box-shadow: 0 16px 30px -18px rgba(255,255,255,0.76);
}

.dr-btn-dark {
    background: #0c5adb;
    color: var(--c-white);
    border-color: rgba(12, 90, 219, 0.14);
    box-shadow: 0 12px 26px -18px rgba(12, 90, 219, 0.34);
}

.dr-btn-dark:hover {
    background: #093b8f;
    box-shadow: 0 16px 30px -18px rgba(12, 90, 219, 0.42);
}

/* ==========================================================================
   REVEAL
   ========================================================================== */

.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--bezier);
}

.reveal-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--bezier), transform 0.8s var(--bezier);
}

.reveal-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .dr-sticky-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .dr-sticky-visual {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .dr-glass-card-large {
        aspect-ratio: 16/10;
    }

    .dr-scrolling-content {
        padding-bottom: 0;
    }

    .dr-lang-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 40px;
    }

    .dr-lang-features {
        justify-content: center;
    }

    .dr-lang-bubbles {
        width: 100%;
        height: 250px;
    }

    .dr-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 30px;
    }

    .dr-cta-text p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .dr-pillars-bento {
        grid-template-columns: 1fr;
    }

    .dr-title-massive {
        font-size: 40px;
    }

    .dr-hero-stats {
        flex-direction: column;
        width: 100%;
    }

    .dr-stat-glass {
        width: 100%;
    }

    .dr-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .dr-btn {
        width: 100%;
    }

    .dr-section-head h2 {
        font-size: 36px;
    }

    .dr-lang-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .dr-btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    .bubble {
        font-size: 14px;
        padding: 12px 16px;
    }
}