/* ================= GLOBAL ================= */
body {
    font-family: 'Poppins', sans-serif;
}

.section {
    padding: 70px 0;
}

hr {
    border-top: 1px dashed #ddd;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.85)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ================= HERO TITLE + LOGO (ONLY SYSTEM) ================= */
.hero-heading-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap; /* 🔥 NEVER STACK */
}

/* Title text */
.hero-heading-text {
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1.15;   /* ✅ FIXED LINE HEIGHT */
    color: #ffffff;
}

.hero-heading-text div {
    display: block;
}

.hero-heading-text .year {
    color: #f15922;
}

/* Logo */
.hero-heading-logo img {
    width: 200px;
    height: auto;
    flex-shrink: 0; /* 🔥 prevents drop */
}

/* Desktop */
@media (min-width: 992px) {
    .hero-heading-text {
        font-size: 3.6rem;
    }

    .hero-heading-logo img {
        width: 340px;
    }
}

/* Mobile (SIDE-BY-SIDE STILL) */
@media (max-width: 576px) {
    .hero-heading-wrapper {
        gap: 14px;
    }

    .hero-heading-text {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-heading-logo img {
        width: 150px;
    }
}

/* ================= FORM CARD ================= */
.card-primary.card-outline {
    border-top: 4px solid #ff9800;
    border-radius: 14px;
}

.card-body {
    padding: 25px;
}

.card-body h4 {
    letter-spacing: 0.3px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #333;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 0.15rem rgba(255,152,0,0.25);
}

/* Child rows */
.child-row {
    background: #f9fafb;
    padding: 6px;
    border-radius: 10px;
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 600;
}

.bg-gradient-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    font-size: 1.1rem;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bg-gradient-success:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
}

/* ================= ABOUT ================= */
.bg-wrl-orange {
    background: linear-gradient(135deg, #f15922, #e04f1f);
    color: #fff;
}

.bg-wrl-orange p {
    max-width: 700px;
    margin: auto;
}

/* ================= VISION & MISSION ================= */
.vm-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.vision-card {
    border-left: 6px solid #f15922;
}

.mission-card {
    border-left: 6px solid #0d6efd;
}

.vm-icon {
    width: 55px;
    height: 55px;
    background: #f15922;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
}

.mission-card .vm-icon {
    background: #0d6efd;
}

/* ================= TECHNOLOGIES ================= */
.tech-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.tech-card img {
    width: 80px;
    margin-bottom: 12px;
}

.tech-card p {
    font-weight: 600;
    margin-bottom: 0;
}

/* ================= COMPETITIONS ================= */
.competitions-section {
    background: linear-gradient(135deg, #111, #1c1c1c);
}

.competition-card {
    background: #1f1f1f;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}

.comp-icon {
    width: 60px;
    height: 60px;
    background: #f15922;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}
/* ================= COMPETITIONS TEXT FIX ================= */
.competitions-section h2,
.competitions-section h5,
.competitions-section p {
    color: #ffffff !important;
}

/* Sub text slightly muted */
.competitions-section p {
    opacity: 0.85;
}


/* ================= VISUAL SECTION ================= */
.visual-section {
    background: #f9fafb;
}

.visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visual-card:hover img {
    transform: scale(1.08);
}

/* ================= FOOTER ================= */
.footer {
    background: #000;
    color: #ccc;
    padding: 35px 0;
    border-top: 1px solid #1f1f1f;
}

.footer-title {
    color: #fff;
    font-weight: 600;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer-contact i {
    color: #f15922;
    margin-right: 8px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #1c1c1c;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.social-icons a:hover {
    background: #f15922;
    box-shadow: 0 0 12px rgba(241,89,34,0.6);
}

/* ================= MOBILE TWEAKS ================= */
@media (max-width: 576px) {
    .section {
        padding: 60px 15px;
    }

    .card-body {
        padding: 18px;
    }

    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}


/* ================= WRL 2025 HIGHLIGHTS ================= */

.highlights-section {
    background: #ffffff;
}

.highlight-video-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.highlight-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

.highlight-video-card iframe,
.highlight-video-card video {
    border-radius: 15px;
}

/* ================= ULTIMATE TECH BATTLE ================= */

.ultimate-battle-section {
    background: linear-gradient(135deg, #fff7f2, #ffffff);
}

.ultimate-battle-section h2 {
    color: #111;
}

.ultimate-battle-section p {
    color: #444;
}

.battle-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.battle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.prize-card {
    border-left: 6px solid #f15922;
}

.rules-card {
    border-left: 6px solid #0d6efd;
}

.battle-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.battle-card .amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f15922;
}

.battle-card ul {
    padding-left: 18px;
}

.battle-card ul li {
    margin-bottom: 8px;
    color: #333;
}
