/* ========================================
   CBT LANDING PAGE STYLES
   ======================================== */

/* Variables */
:root {
    --primary-color: #1e5a8a;
    --primary-light: #3b82b8;
    --primary-dark: #0d3a5c;
    --accent-color: #4a9cd4;
    --background-light: #f0f7fc;
    --background-gradient: linear-gradient(135deg, #e8f4fc 0%, #f5fafd 50%, #e0f0fa 100%);
    --white: #ffffff;
    --text-dark: #1a3a52;
    --text-muted: #5a7a8a;
    --shadow-soft: 0 4px 20px rgba(30, 90, 138, 0.1);
    --shadow-medium: 0 8px 30px rgba(30, 90, 138, 0.15);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-gradient);
    min-height: 100vh;
    color: var(--text-dark);
}

/* ========================================
   WRAPPER
   ======================================== */
.cbt-landing-wrapper {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

.container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    box-shadow: rgba(59, 130, 246, 0.15) 0px 20px 60px;
    background: linear-gradient(rgb(255, 255, 255) 0%, rgb(240, 247, 255) 100%);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
}

/* ========================================
   DECORATIONS
   ======================================== */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(74, 156, 212, 0.1) 0%, rgba(30, 90, 138, 0.05) 100%);
    top: -100px;
    right: -100px;
}

.decoration-circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 90, 138, 0.08) 0%, rgba(74, 156, 212, 0.03) 100%);
    bottom: -50px;
    left: -50px;
}

.decoration-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--primary-light) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    pointer-events: none;
}

.decoration-dots-1 {
    top: 80px;
    right: 50px;
}

.decoration-dots-2 {
    bottom: 150px;
    left: 30px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.cbt-main-content {
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER
   ======================================== */
.cbt-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cbt-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cbt-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cbt-title h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.cbt-title p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.cbt-title p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}

/* ========================================
   TAGLINE
   ======================================== */
.cbt-tagline {
    margin-bottom: 40px;
}

.cbt-tagline h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.cbt-tagline p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 450px;
}

/* ========================================
   FEATURES
   ======================================== */
.cbt-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 160px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--background-light) 0%, #d4e8f7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========================================
   ILLUSTRATION WRAPPER
   ======================================== */
.cbt-illustration-wrapper {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quiz Window */
.quiz-window {
    position: absolute;
    top: 0;
    right: 20px;
    width: 160px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    z-index: 2;
}

.quiz-header {
    background: #f5f5f5;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.quiz-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.quiz-dot:first-child {
    background: #ff6b6b;
}

.quiz-dot:nth-child(2) {
    background: #ffd93d;
}

.quiz-dot:nth-child(3) {
    background: #6bcb77;
}

.quiz-content {
    padding: 15px;
}

.quiz-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #f0f7fc;
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.quiz-option.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

/* Floating Cap */
.floating-cap {
    position: absolute;
    top: 80px;
    left: 15%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-cap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Floating Timer */
.floating-timer {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.floating-timer i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.floating-timer span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Student Illustration */
.student-illustration {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin-top: 50px;
}

.student-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.cbt-footer {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-info span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3px;
}

.footer-info strong {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-university {
    text-align: left;
}

.footer-university strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.3;
}

.footer-university span {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .cbt-landing-wrapper {
        padding: 30px 0;
    }

    .cbt-header {
        margin-bottom: 30px;
    }

    .cbt-logo {
        width: 80px;
        height: 80px;
    }

    .cbt-title h1 {
        font-size: 3rem;
    }

    .cbt-title p {
        font-size: 1rem;
    }

    .cbt-tagline h2 {
        font-size: 1.5rem;
    }

    .cbt-illustration-wrapper {
        min-height: 380px;
        margin-top: 30px;
    }

    .quiz-window {
        width: 140px;
        right: 10px;
    }

    .student-illustration {
        max-width: 320px;
    }

    .floating-timer {
        right: -10px;
        padding: 12px 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cbt-landing-wrapper {
        padding: 20px 0;
    }

    .cbt-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cbt-logo {
        width: 70px;
        height: 70px;
    }

    .cbt-title h1 {
        font-size: 2.5rem;
    }

    .cbt-title p {
        padding-left: 0;
    }

    .cbt-title p::before {
        display: none;
    }

    .cbt-tagline {
        text-align: center;
    }

    .cbt-tagline h2 {
        font-size: 1.3rem;
    }

    .cbt-tagline p {
        max-width: 100%;
    }

    .cbt-features {
        justify-content: center;
    }

    .feature-card {
        min-width: 120px;
        max-width: 140px;
        padding: 20px 15px;
    }

    .cbt-illustration-wrapper {
        min-height: 320px;
    }

    .quiz-window {
        width: 120px;
        top: -10px;
        right: 0;
    }

    .quiz-content {
        padding: 12px;
    }

    .quiz-option {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .floating-cap {
        width: 50px;
        height: 50px;
        top: 60px;
    }

    .floating-timer {
        display: none;
    }

    .student-illustration {
        max-width: 280px;
        margin-top: 30px;
    }

    .cbt-footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
        text-align: center;
    }

    .footer-university {
        text-align: center;
    }

    .decoration-circle-1 {
        width: 250px;
        height: 250px;
        top: -80px;
        right: -80px;
    }

    .decoration-circle-2 {
        width: 200px;
        height: 200px;
    }

    .decoration-dots {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cbt-title h1 {
        font-size: 2rem;
    }

    .cbt-tagline h2 {
        font-size: 1.1rem;
    }

    .cbt-tagline p {
        font-size: 0.9rem;
    }

    .cbt-features {
        gap: 10px;
    }

    .feature-card {
        min-width: 100px;
        max-width: 120px;
        padding: 15px 10px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 1.1rem;
    }

    .feature-card h4 {
        font-size: 0.9rem;
    }

    .feature-card p {
        font-size: 0.7rem;
    }

    .cbt-illustration-wrapper {
        min-height: 280px;
    }

    .student-illustration {
        max-width: 240px;
    }

    .quiz-window {
        width: 100px;
    }

    .quiz-content h5 {
        font-size: 0.75rem;
    }

    .quiz-option {
        width: 25px;
        height: 25px;
        font-size: 0.65rem;
    }

    .floating-cap {
        width: 40px;
        height: 40px;
    }

    .footer-info span {
        font-size: 0.75rem;
    }

    .footer-info strong {
        font-size: 1rem;
    }

    .footer-university strong {
        font-size: 0.8rem;
    }
}