:root {
    --primary-color: #001c45;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #555555;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #eeeeee;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 45px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    height: 200px;
    margin-bottom: 20px;
    animation: loaderPulse 2s infinite ease-in-out;
}

.loader-line {
    width: 150px;
    height: 3px;
    background: #f0f2f5;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: "";
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: loaderLine 1.5s infinite ease-in-out;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes loaderLine {
    0% {
        left: -100%;
    }

    50% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

[class*="reveal-"] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-fade.active {
    opacity: 1;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    transform: scale(0.95);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.grade-card,
.update-card,
.blog-card,
.admin-card {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grade-card.active,
.update-card.active,
.blog-card.active,
.admin-card.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header.main-header {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 325px;
}

.main-nav ul {
    display: flex;
    gap: 10px;
}

.main-nav ul li a {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.main-nav ul li a:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.main-nav ul li:nth-child(1) a {
    color: var(--primary-color);
}

.main-nav ul li:nth-child(1) a:hover,
.main-nav ul li:nth-child(1) a.active {
    background: rgb(0 28 69 / 10%);
}

.main-nav ul li:nth-child(2) a {
    color: #8d887f;
}

.main-nav ul li:nth-child(2) a:hover,
.main-nav ul li:nth-child(2) a.active {
    background: rgba(141, 136, 127, 0.1);
}

.main-nav ul li:nth-child(3) a {
    color: #b08d57;
}

.main-nav ul li:nth-child(3) a:hover,
.main-nav ul li:nth-child(3) a.active {
    background: rgba(176, 141, 87, 0.1);
}

.main-nav ul li:nth-child(4) a {
    color: #1a2a44;
}

.main-nav ul li:nth-child(4) a:hover,
.main-nav ul li:nth-child(4) a.active {
    background: rgba(26, 42, 68, 0.1);
}

.main-nav ul li:nth-child(5) a {
    color: #6c5ce7;
}

.main-nav ul li:nth-child(5) a:hover,
.main-nav ul li:nth-child(5) a.active {
    background: rgba(108, 92, 231, 0.1);
}

.main-nav ul li:nth-child(6) a {
    color: #3498db;
}

.main-nav ul li:nth-child(6) a:hover,
.main-nav ul li:nth-child(6) a.active {
    background: rgb(52 152 219 / 10%);
}

.main-nav ul li a.active {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 25px;
    height: 20px;
    position: relative;
    z-index: 1001;
    margin-left: 10px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    display: block;
    background: var(--primary-color);
    height: 2px;
    width: 100%;
    position: absolute;
    transition: var(--transition);
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    top: -7px;
}

.nav-toggle-label span::after {
    bottom: -7px;
}

.nav-toggle:checked~.header-actions .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked~.header-actions .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle:checked~.header-actions .nav-toggle-label span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-menu-header,
.mobile-menu-footer {
    display: none;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 12px;
    padding: 5px 12px;
    transition: var(--transition);
    border: 1px solid transparent;
    width: 220px;
}

.search-box:focus-within {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
    width: 260px;
}

.search-box input {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    width: 100%;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    padding-left: 10px;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #0d1a2d;
    transform: translateY(-2px);
}

.hero-bg {
    height: 600px;
    background-image: url('../images/slayt.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 30px;
    margin: 20px auto 60px;
    max-width: 1400px;
    overflow: hidden;
}

/* Page Banner */
.page-banner {
    height: 300px;
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 30px;
    margin: 20px auto 40px;
    max-width: 1400px;
    overflow: hidden;
    color: white;
}

.page-banner .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.page-banner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/slayt.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    text-align: left;
    width: 100%;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.banner-breadcrumb {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-weight: 500;
}

.banner-breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.banner-breadcrumb a:hover {
    color: var(--accent-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .page-banner {
        height: 220px;
        border-radius: 0;
        margin-top: 0;
    }

    .banner-content {
        padding: 0 20px;
        text-align: left;
        width: 100%;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-breadcrumb {
        justify-content: flex-start;
    }
}




.hero-slogan-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-slogan {
    max-width: 500px;
    color: white;
    text-align: left;
}

.hero-slogan h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #001c45;
    text-shadow: none;
}

.hero-slogan h1 span {
    color: var(--accent-color);
}

.hero-slogan p {
    font-size: 1.2rem;
    color: #333;
    opacity: 0.9;
    text-shadow: none;
}

@media (max-width: 768px) {
    .hero-bg {
        height: 400px;
        border-radius: 0;
        margin: 0;
    }

    .hero-slogan h1 {
        font-size: 2.5rem;
    }



    .hero-slogan {
        text-align: center;
        margin: 0 auto;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: #f5f5f7;
    border-radius: 50px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.view-all:hover {
    background: #0071e3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.2);
    border-color: #0071e3;
}

.view-all i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(4px);
}

.grade-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.grade-card {
    background: #f4f3f1;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: bottom -20px right -20px;
    background-size: 200px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.grade-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.grade-card:nth-child(1):hover {
    border-color: #8d887f;
}

.grade-card:nth-child(2):hover {
    border-color: #b08d57;
}

.grade-card:nth-child(3):hover {
    border-color: #1a2a44;
}

.grade-card:nth-child(4):hover {
    border-color: #6c5ce7;
}

.grade-card:nth-child(1):hover .card-arrow {
    background: #8d887f;
}

.grade-card:nth-child(2):hover .card-arrow {
    background: #b08d57;
}

.grade-card:nth-child(3):hover .card-arrow {
    background: #1a2a44;
}

.grade-card:nth-child(4):hover .card-arrow {
    background: #6c5ce7;
}

.grade-card:hover .card-arrow {
    transform: translateX(5px) scale(1.1);
}


.grade-card:hover .grade-num {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.grade-card:nth-child(1) {
    background-color: rgb(244 244 243);
    backdrop-filter: blur(8px);
}

.grade-card:nth-child(2) {
    background-color: rgba(246, 241, 236);
    backdrop-filter: blur(8px);
}

.grade-card:nth-child(3) {
    background-color: rgba(244, 244, 245);
    backdrop-filter: blur(8px);
}

.grade-card:nth-child(4) {
    background-color: rgba(242, 241, 243);
    backdrop-filter: blur(8px);
}

.grade-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: -5px;
    transition: var(--transition);
}

.grade-card:nth-child(1) .grade-num,
.grade-card:nth-child(1) .grade-tag {
    color: #8d887f;
}

.grade-card:nth-child(2) .grade-num,
.grade-card:nth-child(2) .grade-tag {
    color: #b08d57;
}

.grade-card:nth-child(3) .grade-num,
.grade-card:nth-child(3) .grade-tag {
    color: #192a44;
}

.grade-card:nth-child(4) .grade-num,
.grade-card:nth-child(4) .grade-tag {
    color: #6d5ce7;
}

.grade-tag {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.grade-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.grade-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.grade-features li {
    font-size: 0.85rem;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.grade-features li i {
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.grade-features li:hover {
    transform: translateX(6px);
    background: #ffffff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.9);
}

.grade-card:nth-child(1) .grade-features li i {
    color: #8d887f;
}

.grade-card:nth-child(1) .grade-features li:hover {
    color: #8d887f;
    border-color: rgba(141, 136, 127, 0.25);
}

.grade-card:nth-child(1) .grade-features li:hover i {
    background: #8d887f;
    color: #ffffff;
}

.grade-card:nth-child(2) .grade-features li i {
    color: #b08d57;
}

.grade-card:nth-child(2) .grade-features li:hover {
    color: #b08d57;
    border-color: rgba(176, 141, 87, 0.25);
}

.grade-card:nth-child(2) .grade-features li:hover i {
    background: #b08d57;
    color: #ffffff;
}

.grade-card:nth-child(3) .grade-features li i {
    color: #1a2a44;
}

.grade-card:nth-child(3) .grade-features li:hover {
    color: #1a2a44;
    border-color: rgba(26, 42, 68, 0.25);
}

.grade-card:nth-child(3) .grade-features li:hover i {
    background: #1a2a44;
    color: #ffffff;
}

.grade-card:nth-child(4) .grade-features li i {
    color: #6c5ce7;
}

.grade-card:nth-child(4) .grade-features li:hover {
    color: #6c5ce7;
    border-color: rgba(108, 92, 231, 0.25);
}

.grade-card:nth-child(4) .grade-features li:hover i {
    background: #6c5ce7;
    color: #ffffff;
}

.grade-num,
.grade-tag {
    position: relative;
    z-index: 1;
}

.card-arrow {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.grade-card:nth-child(1) .card-arrow {
    color: #f4f3f1;
    background-color: #8d887f;
}

.grade-card:nth-child(2) .card-arrow {
    background: #b08d57;
}

.grade-card:nth-child(3) .card-arrow {
    background: #1a2a44;
}

.grade-card:nth-child(4) .card-arrow {
    background: #6c5ce7;
}



.feature-bar {
    background: var(--primary-color);
    padding: 40px 0;
    border-radius: 20px;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.feature-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.latest-updates {
    margin-bottom: 60px;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.update-col {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.update-col:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.update-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.grade-9-bg {
    background-color: #8d887f;
}

.grade-10-bg {
    background-color: #b08d57;
}

.grade-11-bg {
    background-color: #1a2a44;
}

.grade-12-bg {
    background-color: #6c5ce7;
}

.update-list {
    padding: 10px 0;
}

.update-list li a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.update-list li:last-child a {
    border-bottom: none;
}

.update-list li a:hover {
    background-color: #ffffff;
    padding-left: 28px;
}

.update-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--grade-hover);
    transition: all 0.3s ease;
}

.update-list li a:hover::before {
    width: 4px;
}

.update-tag {
    background: var(--grade-hover, #f5f5f7);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    width: fit-content;
}

.update-title {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.update-list li a:hover .update-title {
    color: var(--grade-hover);
}

.update-date {
    font-size: 12px;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.update-date::before {
    content: "\f017";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 11px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1d1d1f;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover h3 {
    color: #0071e3;
}

.blog-content p {
    font-size: 0.95rem;
    color: #86868b;
    margin-bottom: 25px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1d1d1f;
    font-weight: 600;
}

.blog-footer span {
    font-size: 14px;
    letter-spacing: -0.01em;
}

.footer-arrow {
    width: 32px;
    height: 32px;
    background: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-card:hover .footer-arrow {
    background: #0071e3;
    color: white;
    transform: rotate(-45deg);
}

.footer-arrow i {
    font-size: 12px;
}

.newsletter {
    background: linear-gradient(135deg, #0d1a2d 0%, #1a2a44 100%);
    padding: 80px 0;
    color: white;
    border-radius: 30px;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    align-items: center;
    padding: 0 80px;
    gap: 40px;
}

.newsletter-quote {
    max-width: 400px;
}

.newsletter-quote blockquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.newsletter-quote cite {
    font-size: 1.1rem;
    opacity: 0.8;
    font-style: normal;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.social-connect {
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.social-btn:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.admins-section {
    margin-bottom: 80px;
}

.admins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.admin-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.admin-img {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.admin-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.admin-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.admin-info span {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.admin-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.admin-socials {
    display: flex;
    gap: 15px;
}

.admin-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.admin-socials a.li:hover {
    background: #0077b5;
    color: white;
}

.admin-socials a.ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.admin-socials a.wa:hover {
    background: #25d366;
    color: white;
}

.admin-socials a.em:hover {
    background: #ea4335;
    color: white;
}

.main-footer {
    padding: 80px 0 40px;
    background-color: #ffffff;
    border-top: 6px solid var(--primary-color);
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-brand {
    height: 120px;
    margin-bottom: 25px;
    filter: none;
}

.footer-col.about p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h4 i {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 1.05rem;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.footer-col ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px 0 15px;
    }

    .hero-container {
        padding: 100px 30px;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-slogan h1 {
        font-size: 3.5rem;
    }

    .updates-grid,
    .grade-grid,
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    .feature-item:nth-child(even) {
        border-right: none;
    }

    .newsletter-container {
        padding: 0 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo img {
        height: auto;
        max-height: 55px;
        width: auto;
        max-width: 220px;
    }

    .nav-toggle-label {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px 30px;
        transition: 0.6s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-logo {
        height: 140px;
    }

    .mobile-close-btn {
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 40px 0;
    }

    .main-nav ul li a {
        font-size: 1.6rem;
        padding: 10px 20px;
        color: var(--primary-color);
        justify-content: center;
    }

    .mobile-menu-footer {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .mobile-search-area {
        width: 100%;
        display: flex;
        background: #f0f2f5;
        border-radius: 50px;
        padding: 10px 20px;
    }

    .mobile-search-area input {
        flex: 1;
        background: none;
        border: none;
        outline: none;
        font-size: 1rem;
    }

    .mobile-search-area button {
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .mobile-socials {
        display: flex;
        gap: 20px;
    }

    .mobile-social-btn {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
    }

    .mobile-social-btn.inst {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .mobile-social-btn.wp {
        background: #25d366;
    }

    .nav-toggle:checked~.main-nav {
        left: 0;
    }

    .nav-toggle:checked~.header-actions {
        opacity: 0;
    }

    .search-box {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-slogan {
        padding-left: 0;
        margin: 0 auto;
    }

    .hero-slogan h1 {
        font-size: 3rem;
    }

    .hero-illustration {
        max-width: 80%;
        margin: 0 auto;
    }

    .admins-grid {
        grid-template-columns: 1fr;
    }

    .admin-card {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .newsletter-quote {
        max-width: 100%;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo,
    .social-connect {
        justify-self: center;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-col h4 {
        display: block;
    }

    .footer-col h4 i {
        display: none;
    }

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

@media (max-width: 480px) {
    .hero-slogan h1 {
        font-size: 2.2rem;
    }

    .hero-slogan p {
        font-size: 1rem;
    }

    .updates-grid,
    .grade-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .newsletter-quote blockquote {
        font-size: 1.6rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-brand {
        height: 80px;
    }
}

[class*="reveal-"] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-fade.active {
    opacity: 1;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    transform: scale(0.95);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.grade-card,
.update-card,
.blog-card,
.admin-card {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grade-card.active,
.update-card.active,
.blog-card.active,
.admin-card.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.h5p-iframe-wrapper,
.h5p-content,
.h5p-container {
    margin: 32px 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e5e5ea !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    max-width: 100% !important;
    width: 100% !important;
}

.wp-block-column .h5p-iframe-wrapper,
.wp-block-column .h5p-content {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 768px) {

    .h5p-iframe-wrapper,
    .h5p-content {
        margin: 20px 0 !important;
        border-radius: 10px !important;
    }
}

iframe.h5p-iframe {
    width: 100% !important;
    min-width: 100% !important;
    border: none !important;
    display: block !important;
}

.update-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.update-list {
    flex-grow: 1;
}

.update-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    margin: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.update-view-all:hover {
    background: var(--grade-hover, #1d1d1f);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--grade-hover, #1d1d1f);
}

.update-view-all i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.update-view-all:hover i {
    transform: translateX(3px);
}

.single-post-wrapper {
    background: #ffffff;
    padding-bottom: 100px;
}

.post-hero {
    height: 40vh;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #1d1d1f;
}



.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 0 40px;
}

.post-hero-content .container {
    max-width: 1000px;
}

.post-category-tag {
    display: inline-block;
    background: #0071e3;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-hero-content h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.post-meta-v2 {
    display: flex;
    gap: 30px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.post-meta-v2 span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-layout-container {
    padding: 20px 0 0;
    background: #ffffff;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.post-grid.no-sidebar {
    grid-template-columns: 1fr;
    margin: 0 auto;
}

.post-main-content {
    min-width: 0;
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #f8f8fa;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1d1d1f;
    padding-bottom: 10px;
    border-bottom: 3px solid #0071e3;
    display: inline-block;
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
}

.sidebar-post-img {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.sidebar-post-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 5px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-item:hover h4 {
    color: #0071e3;
}

.sidebar-post-info span {
    font-size: 0.8rem;
    color: #86868b;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1d1d1f;
}

.post-article-content p {
    margin-bottom: 30px;
}

.post-article-content h2,
.post-article-content h3 {
    margin: 50px 0 25px 0;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.post-article-content img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .post-sidebar {
        position: static;
    }
}

.post-footer-actions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Social Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.post-share span {
    font-weight: 700;
    color: #1d1d1f;
    font-size: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-btn.fb {
    background: #1877f2;
}

.share-btn.tw {
    background: #000000;
}

.share-btn.ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.share-btn.wp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-navigation {
    background: #f8f8fa;
    border-radius: 24px;
    padding: 30px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-prev,
.nav-next {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
    justify-content: flex-end;
}

.nav-info {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #86868b;
    margin-bottom: 4px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.nav-prev:hover .nav-title,
.nav-next:hover .nav-title {
    color: #0071e3;
}

.nav-prev i,
.nav-next i {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-prev:hover i {
    transform: translateX(-5px);
    background: #0071e3;
    color: white;
}

.nav-next:hover i {
    transform: translateX(5px);
    background: #0071e3;
    color: white;
}

@media (max-width: 600px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
}

.post-article-content .wp-block-list {
    padding-left: 0;
    list-style: none;
    margin: 30px 0;
}

.post-article-content .wp-block-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #1d1d1f;
}

.post-article-content .wp-block-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #0071e3;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.post-article-content .wp-block-list li:hover::before {
    transform: scale(1.2);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination-wrapper .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination-wrapper .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover {
    background: #e8e8ed;
    transform: translateY(-2px);
}

.pagination-wrapper .page-numbers.current {
    background: #0071e3;
    color: #ffffff;
}

.pagination-wrapper .page-numbers.dots {
    background: transparent;
}

.wp-block-separator {
    margin-bottom: 40px !important;
}

.hero-slider-wrapper {
    max-width: 1400px;
    margin: 20px auto 45px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #f5f5f7;
    height: auto;
}

.hero-slider-container {
    width: 100%;
    position: relative;
}

.hero-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-slider-track::-webkit-scrollbar {
    display: none;
}

.slide-item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.active {
    background: #ffffff;
    width: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        margin: 15px 15px 40px;
        border-radius: 20px;
    }
}

/* Gutenberg block editor genişlik kısıtlamalarını sıfırla */
.post-article-content .is-layout-constrained>*,
.post-article-content .is-layout-constrained,
.post-article-content .wp-block-post-content,
.post-article-content .wp-block-group,
.post-article-content .wp-block-group__inner-container,
.post-article-content figure,
.post-article-content .wp-block-image,
.post-article-content .wp-block-embed {
    max-width: 100% !important;
    width: 100% !important;
}

/* =========================================
   Quick Links 3-Sütun Section — Bold Gradient Design
   ========================================= */
.qlc-section {
    margin: 30px 0 60px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
    border-radius: 28px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Large decorative circle — bottom right */
.quick-link-card::after {
    content: '';
    position: absolute;
    right: -55px;
    bottom: -65px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    transition: transform 0.5s ease;
    pointer-events: none;
}

/* Small decorative circle */
.quick-link-card::before {
    content: '';
    position: absolute;
    right: 60px;
    bottom: 65px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.quick-link-card:hover {
    transform: translateY(-10px);
}

.quick-link-card:hover::after {
    transform: scale(1.15) rotate(12deg);
}

/* --- Sınavlara Hazırlık --- */
.qlc-exam {
    background: linear-gradient(145deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.40);
}

.qlc-exam:hover {
    box-shadow: 0 28px 60px rgba(52, 152, 219, 0.55);
}

/* --- Deyimler ve Atasözleri --- */
.qlc-idioms {
    background: linear-gradient(145deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.40);
}

.qlc-idioms:hover {
    box-shadow: 0 28px 60px rgba(245, 158, 11, 0.55);
}

/* --- Öğretmen Evrakları --- */
.qlc-teacher {
    background: linear-gradient(145deg, #0D9488 0%, #0a7069 100%);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.38);
}

.qlc-teacher:hover {
    box-shadow: 0 28px 60px rgba(13, 148, 136, 0.52);
}

/* --- Top row: icon + tag --- */
.qlc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.qlc-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    transition: transform 0.35s ease, background 0.35s ease;
    flex-shrink: 0;
}

.quick-link-card:hover .qlc-icon {
    transform: rotate(-8deg) scale(1.12);
    background: rgba(255, 255, 255, 0.30);
}

.qlc-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- Body --- */
.qlc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.qlc-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.qlc-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* --- Footer / CTA --- */
.qlc-footer {
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.qlc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.30);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.quick-link-card:hover .qlc-cta {
    background: rgba(255, 255, 255, 0.30);
    gap: 16px;
    padding-right: 28px;
}

.qlc-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .qlc-cta i {
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quick-link-card {
        min-height: auto;
        padding: 32px 28px;
    }
}

/* ===== YUKARI ÇIK BUTONU ===== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5d87c3, #456f9d);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(93, 135, 195, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 135, 195, 0.5);
    background: linear-gradient(135deg, #456f9d, #32557a);
}

.scroll-to-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}