/* ===== GENERAL RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A0A28;
    color: #fff;
    overflow-x: hidden;
}


/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 40, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* ===== NAV CONTAINER ===== */

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* === LOGO === */

.logo {
    height: 50px;
    cursor: pointer;
}


/* === NAV LINKS === */

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7B61FF;
}


/* === REGISTER BUTTON === */

.btn-register {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.btn-register:hover {
    opacity: 0.8;
}


/* === BURGER ICON === */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #B794F4;
    border-radius: 5px;
    transition: all 0.3s ease;
}


/* ===== MOBILE MENU ===== */

@media (max-width: 900px) {
    .nav-container {
        justify-content: space-between;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 40, 0.95);
        backdrop-filter: blur(8px);
        opacity: 0;
        transform: translateY(-30px);
        pointer-events: none;
        transition: all 0.5s ease;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    nav.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        padding: 1.5rem 0 2rem;
    }
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    .logo {
    height: 60px;
    cursor: pointer;
}
    .btn-register {
        margin-top: 1rem;
        display: inline-block;
    }
    /* === BURGER ANIMATION === */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(7px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }
}


/* ===== HERO SECTION (Cinematic Slideshow) ===== */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 15s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 40, 0.8), rgba(10, 10, 40, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 2rem;
    color: #fff;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary,
.btn-outline {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    color: white;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #0A0A28;
}


/* ===== FEATURED HIGHLIGHTS ===== */


/* ===== ABOUT SECTION ===== */

.about {
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    padding: 6rem 2rem;
    color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 50%;
    text-align: left;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #B794F4;
}

.about-text p {
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image {
    flex: 1 1 45%;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #B794F4;
    color: #B794F4;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    color: #fff;
    border: none;
}


/* ===== HIGHLIGHTS ===== */

.highlights {
    padding: 6rem 2rem;
    text-align: center;
    background-color: #0A0A28;
}

.highlights h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: #fff;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.highlight-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.highlight-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.highlight-card:hover img {
    transform: scale(1.1);
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 40, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover .highlight-overlay {
    opacity: 1;
}

.highlight-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.highlight-overlay p {
    font-size: 1rem;
    color: #B794F4;
}


/* ===== MOBILE OPTIMIZATION ===== */

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        order: 2;
        flex: 1 1 100%;
    }
    .about-image {
        order: 1;
        flex: 1 1 100%;
    }
    .about-text h2 {
        font-size: 1.9rem;
    }
    .about-text p {
        font-size: 1rem;
    }
    .about-image img {
        max-width: 90%;
    }
    .highlight-overlay h3 {
        font-size: 1.2rem;
    }
    .highlight-overlay p {
        font-size: 0.9rem;
    }
    .highlights h2 {
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .about {
        padding: 4rem 1.5rem;
    }
    .about-text h2 {
        font-size: 1.7rem;
    }
    .about-text p {
        font-size: 0.95rem;
    }
    .highlights {
        padding: 4rem 1.5rem;
    }
    .highlight-grid {
        gap: 1.2rem;
    }
}


/* ===== PAGEANT CATEGORIES & SPONSORS ===== */

.categories-section {
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    padding: 6rem 2rem;
    text-align: center;
    color: #fff;
}

.categories-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.categories-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #B794F4;
    margin-bottom: 1rem;
}

.categories-section .intro {
    color: #ccc;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(123, 97, 255, 0.3);
}

.category-card i {
    font-size: 2rem;
    color: #B794F4;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.cosmic-section {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0d0d1a, #141432);
    color: #fff;
    overflow: hidden;
}

.cosmic-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, #4628a0 0%, transparent 70%), radial-gradient(circle at 80% 70%, #2a6dd3 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.cosmic-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #b9a8ff;
    margin-bottom: 1rem;
}

.intro {
    color: #d3d3ff;
    margin-bottom: 2.5rem;
}


/* Accordion */

.accordion {
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-header i {
    color: #b9a8ff;
    margin-right: 10px;
}

.accordion-body {
    display: none;
    padding: 0 1.5rem 1rem;
    color: #ccc;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}


/* Sponsors Zone */

.sponsor-zone {
    text-align: center;
    margin-top: 3rem;
}

.sponsor-zone h2 {
    font-size: 1.8rem;
    color: #a4b8ff;
}

.sponsor-zone p {
    color: #c4c4ff;
    margin-bottom: 2rem;
}

.benefit-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-icons div {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-sponsor {
    background: linear-gradient(90deg, #7449ff, #9b4eff);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sponsor:hover {
    background: linear-gradient(90deg, #9b4eff, #7449ff);
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== COUNTDOWN SECTION ===== */

.countdown-section {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0A0A28, #3d3d6e, #0A0A28);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    text-align: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.countdown-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.countdown-timer div {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    min-width: 90px;
}

.countdown-timer span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #B794F4;
}

.countdown-timer p {
    color: #fff;
    font-size: 0.9rem;
}

.sponsors {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.sponsors img {
    height: 75px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.sponsors img:hover {
    opacity: 1;
}


/* ===== COUNTDOWN SECTION (MOBILE OPTIMIZATION) ===== */

@media (max-width: 768px) {
    .countdown-section {
        padding: 4rem 1.5rem;
    }
    .countdown-container h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .countdown-timer div {
        min-width: 75px;
        padding: 0.8rem 1rem;
    }
    .countdown-timer span {
        font-size: 1.6rem;
    }
    .countdown-timer p {
        font-size: 0.8rem;
    }
    .sponsors {
        gap: 1rem;
        margin-top: 2rem;
    }
    .sponsors img {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .countdown-container h2 {
        font-size: 1.4rem;
    }
    .countdown-timer div {
        min-width: 60px;
        padding: 0.6rem 0.8rem;
    }
    .countdown-timer span {
        font-size: 1.4rem;
    }
    .sponsors img {
        height: 60px;
    }
}


/* ===== ABOUT SECTION ===== */

.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    color: white;
    text-decoration: none;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.2);
}


/* ===== WHY ENTER SECTION ===== */

.why-enter {
    background: linear-gradient(180deg, #ffffff, #f9f9ff, #fff);
    padding: 6rem 2rem;
    text-align: center;
}

.why-enter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #0A0A28;
    margin-bottom: 1rem;
}

.why-enter .intro-text {
    font-family: 'Poppins', sans-serif;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reason-card {
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.reason-card h3 {
    color: #6C63FF;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.reason-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.why-enter .btn-primary {
    background: #0A0A28;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.why-enter .btn-primary:hover {
    background: #6C63FF;
}

.reason-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reason-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reason-card i {
    font-size: 2.2rem;
    color: #6C63FF;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.reason-card:hover i {
    color: #0A0A28;
    transform: scale(1.1);
}


/* ===== ABOUT PAGE STYLES ===== */

.about-hero {
    position: relative;
    height: 70vh;
    background: url('../images/about-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 40, 0.75);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 2rem;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-hero p {
    color: #B794F4;
    font-size: 1.2rem;
    font-weight: 400;
}


/* ===== STORY SECTION ===== */

.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    text-align: center;
}

.about-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}


/* ===== MISSION & VISION - Modern Cinematic Style ===== */

.mission-vision {
    background: linear-gradient(180deg, #0A0A28 0%, #12123A 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #B794F4;
    font-size: 2.3rem;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    position: relative;
}

.mv-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.mv-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(183, 148, 244, 0.1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(183, 148, 244, 0.25);
    border-color: rgba(183, 148, 244, 0.4);
}

.mv-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(183, 148, 244, 0.2), rgba(183, 148, 244, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #B794F4;
    box-shadow: 0 0 15px rgba(183, 148, 244, 0.3);
}

.mv-content h3 {
    font-family: 'Playfair Display', serif;
    color: #B794F4;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.mv-content p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.8;
}


/* Animation */

.mv-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.mv-item:nth-child(1) {
    animation-delay: 0.2s;
}

.mv-item:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== TEAM SECTION ===== */

.team {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    text-align: center;
}

.team h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    color: #fff;
}


/* Director Highlight */

.director-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 300px;
    margin: 0 auto 4rem auto;
    box-shadow: 0 8px 25px rgba(123, 97, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3);
}

.director-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.director-card h4 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.director-card p {
    color: #B794F4;
    font-size: 1rem;
}


/* Team Grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3);
}

.member img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(123, 97, 255, 0.2);
}

.member h4 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.member p {
    color: #B794F4;
    font-size: 0.95rem;
}


/* ===== GALLERY FILTER ===== */

.gallery-filter {
    text-align: center;
    background: #0A0A28;
    padding: 4rem 2rem 2rem;
}

.filter-container {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid #B794F4;
    color: #B794F4;
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    color: #fff;
    border: none;
}


/* ===== GALLERY GRID ===== */

.gallery-section {
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    padding: 5rem 2rem;
}

.gallery-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 40, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #B794F4;
}


/* ===== MEDIA HUB TAB STYLES ===== */

.media-tabs {
    text-align: center;
    background: linear-gradient(135deg, #0A0A28, #1A1A40);
    padding: 2.5rem 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.media-tab {
    background: transparent;
    border: 2px solid #B794F4;
    color: #B794F4;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-tab:hover,
.media-tab.active {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    color: #fff;
    border: none;
}


/* ===== TAB CONTENT SECTIONS ===== */

.media-section {
    display: none;
    animation: fadeIn 0.6s ease;
}

.media-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== CTA SECTION ===== */

.cta-section {
    background: linear-gradient(135deg, #0A0A28, #3d3d6e, #0A0A28);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    text-align: center;
    padding: 6rem 2rem;
    color: #fff;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    color: #ddd;
}


/* ===== VOTE PAGE ===== */

.vote-hero {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    color: #111;
    text-align: center;
    padding: 8rem 2rem;
}

.vote-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
}

.vote-hero .hero-content {
    position: relative;
    z-index: 2;
}

.vote-hero h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.vote-hero p {
    font-size: 1.1rem;
    color: #333;
}

.contestants {
    padding: 5rem 2rem;
    background: #fafafa;
    text-align: center;
}

.contestants h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtext {
    color: #777;
    margin-bottom: 2rem;
}

.contestant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contestant-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contestant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contestant-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contestant-card h4 {
    font-size: 1.1rem;
    color: #222;
}

.contestant-card p {
    color: #777;
    margin-bottom: 1rem;
}

.btn-vote {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: not-allowed;
    opacity: 0.6;
}


/* ===== NEWS PAGE ===== */

.news-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0f2c, #162a46);
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    overflow: hidden;
}

.news-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.news-hero .hero-content {
    position: relative;
    z-index: 2;
}

.news-hero h1 {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
}

.news-hero p {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 700px;
    margin: 1rem auto 0;
}


/* News Grid */

.news-section {
    background: #fff;
    padding: 5rem 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #162a46;
}

.news-content p {
    font-size: 0.95rem;
    color: #555;
}

.news-content .date {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
}


/* Social Follow Section */

.follow-section {
    background: linear-gradient(135deg, #0a0f2c, #122a52);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.follow-section h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.follow-section p {
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
    filter: brightness(0.8) invert(1);
}

.news-content i {
    color: #6C63FF;
    margin-right: 10px;
    font-size: 1.2rem;
}


/* ===== REGISTRATION SECTION ===== */

.registration {
    padding: 8rem 2rem 5rem;
    background: linear-gradient(135deg, #0A0A28, #1A1A40);
    min-height: 100vh;
}

.registration .container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.registration h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.registration h1 i {
    color: #B794F4;
    margin-right: 0.5rem;
}

.registration .intro {
    text-align: center;
    color: #ccc;
    margin-bottom: 2rem;
}


/* ===== FORM STYLES ===== */

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.registration-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #B794F4;
    margin-bottom: 1rem;
    border-left: 4px solid #7B61FF;
    padding-left: 0.8rem;
}


/* Grid layout */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem 2rem;
}


/* Labels and Inputs */

label {
    display: flex;
    flex-direction: column;
    color: #ddd;
    font-size: 0.95rem;
    font-weight: 500;
}

input,
textarea {
    margin-top: 0.4rem;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px #7B61FF;
}


/* Textarea */

textarea {
    resize: vertical;
}


/* File Inputs */

input[type="file"] {
    background: transparent;
    padding: 0.3rem 0;
    color: #B794F4;
}


/* Checkboxes */

label input[type="checkbox"] {
    margin-right: 0.6rem;
    accent-color: #7B61FF;
}


/* Notes */

.note {
    font-size: 0.9rem;
    color: #bbb;
    text-align: center;
}


/* Submit Button */

.btn-submit {
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.4);
}


/* ===== FOOTER ===== */

footer {
    background: #0A0A28;
    color: #aaa;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer a {
    color: #B794F4;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* ===== NEWS PAGE ===== */

.news-hero {
    position: relative;
    height: 60vh;
    background: url('../assets/news-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 40, 0.75);
}

.news-hero h1 {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 1px;
    color: #B794F4;
}


/* ===== NEWS GRID ===== */

.news-section {
    background: linear-gradient(135deg, #0E0E2F, #1A1A40);
    padding: 6rem 2rem;
}

.news-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(123, 97, 255, 0.4);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: #B794F4;
    font-family: 'Playfair Display', serif;
}

.news-content p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

.news-meta span {
    display: inline-block;
}

.news-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(45deg, #7B61FF, #B794F4);
    color: white;
    transition: all 0.3s ease;
}

.news-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(183, 148, 244, 0.4);
}


/* ===== FEATURED ARTICLE ===== */

.featured-article {
    background: radial-gradient(circle at top, rgba(123, 97, 255, 0.15), #0A0A28 70%);
    padding: 6rem 2rem;
    text-align: center;
}

.featured-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.featured-article p {
    color: #ccc;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.featured-article img {
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(123, 97, 255, 0.3);
    margin-bottom: 2rem;
}


/* ===== ANIMATED ARTICLE HOVER EFFECT ===== */

.news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(123, 97, 255, 0.15), rgba(183, 148, 244, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover::before {
    opacity: 1;
}


/* ===== FOOTER ===== */

.footer {
    text-align: center;
    padding: 2rem;
    background: #0A0A28;
    color: #aaa;
    font-size: 0.9rem;
}

.footer a {
    color: #7B61FF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}