﻿/* Global Styles */
:root {
    --primary-color: #1a4a5f;
    --secondary-color: #2d4b4d;
    --accent-color: #c41e3a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --military-green: #2c3639;
    --military-brown: #594545;
    --military-accent: #815b5b;
    --military-light: #dcd7c9;
    --gradient-start: #1a4a5f;
    --gradient-end: #2d4b4d;
    --gradient-overlay: linear-gradient( 45deg, rgba(44, 54, 57, 0.9), rgba(89, 69, 69, 0.85) );
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #f5f7fa;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    background: url("../images/qk5-building.webp") center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-8%);
}

.anniversary-text {
    font-size: 3.2rem;
    color: #ffc857;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleFadeIn 1.5s ease-out;
    position: relative;
    top: -60px;
}

.title-ctn {
    position: relative;
    bottom: -37px;
}

.hero-title {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleFadeIn 1.5s ease-out;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: subtitleSlideUp 1.5s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* Main Content Section */
.main-content {
    /* padding: 5rem 0; */
    background: white;
}

.content-block {
    margin-bottom: 5rem;
    position: relative;
}

    .content-block:last-child {
        margin-bottom: 0;
    }

.intro-block {
    position: relative;
    /* padding: 2rem; */
    border-radius: 20px;
    background: white;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
}

.intro-text {
    /* padding-right: 2rem; */
}

    .intro-text p {
        margin-bottom: 1.5rem;
    }

        .intro-text p:last-child {
            margin-bottom: 0;
        }

.introduce-ctn {
    transform: translateY(-23%);
    /* position: absolute;
  top: -23%; */
    z-index: 2;
    padding-bottom: 20px;
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    /* margin-bottom: 3rem; */
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.underline--center::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* Rules Block */
.rule-ctn {
    /* margin-top: -10%; */
}

.rules-block {
    padding: 2rem 0;
}

    .rules-block .card {
        max-width: 600px;
        margin: 0 auto;
    }

/* Countdown Styles */
.countdown-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: countdownFadeIn 2s ease-out;
    max-width: 550px;
    margin: 1rem auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem;
    margin: 0.3rem;
    min-width: 80px;
    transition: all 0.3s ease;
    text-align: center;
}

    .countdown-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.2);
    }

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-size: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Guide Section */
.guide-block {
    padding: 3rem 0;
    background: linear-gradient( to bottom, rgba(255, 255, 255, 0), var(--light-bg) );
    border-radius: 20px;
}

.guide-item {
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .guide-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .guide-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

        .guide-item:hover::before {
            opacity: 1;
        }

    .guide-item.featured {
        background: linear-gradient(145deg, #ffffff, var(--light-bg));
        border: 2px solid var(--primary-color);
    }

.guide-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-item:hover .guide-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.guide-icon i {
    color: white;
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.guide-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.guide-item p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
        border-color: transparent;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

    .video-overlay:hover {
        background: rgba(0, 0, 0, 0.6);
    }

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #e74c3c);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

    .play-button:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .play-button i {
        color: white;
        font-size: 2.5rem;
        margin-left: 8px;
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
    }
/* Ranking  */
.ranking-ctn {
    margin-top: -5%;
}

.top-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    margin: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.medal-img {
    width: 32px;
}

.medal {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.name {
    font-weight: bold;
    font-size: 1.1rem;
}

.score {
    color: #555;
    font-size: 0.95rem;
}

.top-1 {
    transform: translateY(-20px);
}

@media (max-width: 769px) {
    .top-three-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 auto;
    }

    .top-item {
        width: 100% !important;
        margin: 5px auto !important;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left !important;
        padding: 0.5rem 1rem;
    }

        .top-item .avatar-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
        }

        .top-item .medal {
            order: -1;
        }

        .top-item .score {
            order: 3;
            margin-left: auto;
        }

        .top-item .name,
        .top-item .score {
            font-size: 1rem;
        }

    .top-1 {
        order: 1;
        transform: none;
    }

    .top-2 {
        order: 2;
    }

    .top-3 {
        order: 3;
    }
}
/* Rules Card */
.card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    }

.card-body {
    padding: 2.5rem;
}

.rules-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

    .rules-icon:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .rules-icon i {
        color: white;
        font-size: 3.5rem;
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
    }

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        background: linear-gradient( 135deg, var(--gradient-end), var(--gradient-start) );
    }

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-text {
    margin: 0;
    opacity: 0.9;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: var(--accent-color);
    }

/* List Styles */
.list-unstyled li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

    .list-unstyled li i {
        color: var(--accent-color);
        width: 20px;
        text-align: center;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section,
.guide-section {
    animation: fadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countdownFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 1.5rem;
    }

    .hero-content {
        padding: 0.8rem;
    }

    .anniversary-text {
        font-size: 3rem;
        margin-bottom: 0.3rem;
        top: -80px;
    }

    .title-ctn {
        bottom: 0px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .countdown-container {
        padding: 0.8rem;
        margin-top: 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .intro-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .content-block {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .introduce-ctn {
        transform: translateY(-35%);
        z-index: 2;
        padding-bottom: 20px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

        .play-button i {
            font-size: 2rem;
        }

    .rules-icon {
        width: 100px;
        height: 100px;
    }

        .rules-icon i {
            font-size: 3rem;
        }

    .card-body {
        padding: 1.5rem;
    }

    .countdown-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-item {
        min-width: 100px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .guide-block {
        padding: 2rem 0;
    }

    .guide-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .guide-icon {
        width: 70px;
        height: 70px;
    }

        .guide-icon i {
            font-size: 2rem;
        }

    .guide-item h3 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 1rem 0;
        font-size: 0.8rem;
    }

    .footer-text {
        padding: 0 1rem;
        line-height: 1.6;
    }

    .ranking-ctn {
        margin-top: -20%;
    }
}

@media (max-width: 620px) {
    .anniversary-text {
        font-size: 2rem;
        margin-bottom: 0.3rem;
        top: -60px;
    }

    .title-ctn {
        bottom: -10px;
    }
}

@media (max-width: 450px) {
    .hero-section {
        align-items: flex-start;
        padding-top: 3rem;
    }

    .anniversary-text {
        top: 0px;
        font-size: 1rem;
    }

    .title-ctn {
        bottom: 0px;
    }

    .introduce-ctn {
        transform: translateY(-95%);
    }

    .ranking-ctn {
        margin-top: -75%;
    }

    .cta-button {
        padding: 0.8rem 1rem !important;
        font-size: 1rem !important;
        margin-top: 0.8rem;
    }
}

/* Prize List Styles */
.prize-list {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.prize-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .prize-item:hover {
        transform: translateX(5px);
    }

    .prize-item:last-child {
        margin-bottom: 0;
    }

.prize-rank {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.prize-content {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Button Size */
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Guide Section Styles */
.guide-section {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.guide-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.guide-steps {
    display: flex;
    /* flex-direction: column; */
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1 !important;
    background: #f8f9fa;
}

.step-wrapper {
    position: relative;
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: border 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .step-wrapper::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150%;
        height: 2px;
        background-color: #ccc;
        z-index: 0 !important;
    }

    .step-wrapper:last-child::before {
        display: none !important;
    }

    .step-wrapper:hover {
        border: 2px solid #c41e3a;
        cursor: pointer;
        transform: translateY(-5px);
    }

        .step-wrapper:hover::before,
        .step-wrapper:hover .step-number {
            background-color: #c41e3a;
        }

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 3;
    position: absolute;
    left: 50%;
    top: -15%;
    transform: translateX(-50%);
}

.step-content {
    flex: 1;
    padding-top: 20px;
}

    .step-content h4 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        text-align: center;
    }

    .step-content p {
        margin-bottom: 0;
        color: #666;
    }

.guide-content {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

    .guide-content h4 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .guide-content p {
        color: #666;
        margin-bottom: 0;
    }

@media (max-width: 991px) {
    .guide-steps {
        flex-direction: column;
    }

    .step-wrapper::before {
        display: none;
    }

    .step-item {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .step-number {
        position: static !important;
        transform: none;
    }

    .step-content h4 {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .guide-section {
        padding: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        margin-bottom: 0.5rem;
    }
}

/* CTA Button */
.cta-button-ctn {
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: #c41e3a;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        background: #d42e4a;
        color: #ffffff;
    }

/* Add hover effect for links */
a {
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--accent-color);
    }

/* Registration Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.25);
    }

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        background: #5a6268;
    }

.invalid-feedback {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.was-validated .form-control:invalid {
    border-color: var(--accent-color);
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

@media (max-width: 768px) {
    .card {
        margin: 1rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

        .btn-lg + .btn-lg {
            margin-left: 0 !important;
        }
}

/* Modern Registration Form Styles */
.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

    .registration-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient( 90deg, var(--gradient-start), var(--gradient-end) );
    }

    .registration-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    }

.registration-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.registration-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

    .registration-icon i {
        font-size: 1.5rem;
        color: white;
    }

.registration-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.registration-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .input-group:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.1);
    }

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
}

.form-control {
    border: none;
    background: transparent;
    padding: 0.8rem 0.8rem;
    font-size: 1rem;
}

    .form-control::placeholder {
        color: #adb5bd;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-register,
.btn-back {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-register {
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    color: white;
    border: none;
    font-weight: 500;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        color: white;
    }

.btn-back {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
}

    .btn-back:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

@media (max-width: 768px) {
    .registration-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .registration-header h2 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-register,
    .btn-back {
        width: 100%;
    }
}

/* Registration Section */
.registration-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

    .registration-section .container {
        position: relative;
        z-index: 1;
    }

    .registration-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("../images/qk5-building.webp") center/cover no-repeat;
        opacity: 0.1;
        z-index: 0;
    }

@media (max-width: 768px) {
    .registration-section {
        padding: 3rem 0;
    }
}

.exam-info {
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .exam-info p {
        margin: 0.8rem 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .exam-info i {
        font-size: 1.2rem;
        color: #ffc857;
    }

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .input-group:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.1);
    }

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
}

.form-control {
    border: none;
    background: transparent;
    padding: 0.8rem 0.8rem;
    font-size: 1rem;
}

    .form-control::placeholder {
        color: #adb5bd;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-register,
.btn-back {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-register {
    background: linear-gradient( 135deg, var(--gradient-start), var(--gradient-end) );
    color: white;
    border: none;
    font-weight: 500;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        color: white;
    }

.btn-back {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
}

    .btn-back:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

@media (max-width: 768px) {
    .exam-info {
        padding: 1rem;
    }

        .exam-info p {
            font-size: 0.9rem;
        }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-register,
    .btn-back {
        width: 100%;
    }
}
