/* Enhanced Reset & Defaults with bdapps Ignite Theme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Updated Color Theme with the requested gradient blend */
    --nav_primary: #2D1042;
    --nav_primary-dark: #1F0638;
    --Nav_primary-light: #4C2770;
    --nav_secondary: #8A2846;
    
    --footer_secondary-dark: #6A1E35;
    --primary: #903636;
    --primary-dark: #702828;
    --primary-light: #a84848;
    --secondary: #1F0638;
    --secondary-dark: #150426;
    --secondary-light: #2a084a;
    --accent: #FFB900;
    --accent-dark: #E5A800;
    --accent-light: #FFCC33;
    --neutral-900: #1A202C;
    --neutral-800: #2D3748;
    --neutral-700: #4A5568;
    --neutral-600: #718096;
    --neutral-500: #A0AEC0;
    --neutral-400: #CBD5E0;
    --neutral-300: #E2E8F0;
    --neutral-200: #EDF2F7;
    --neutral-100: #F7FAFC;
    --success: #38A169;
    --warning: #F6AD55;
    --error: #E53E3E;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Fira Code', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

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

.section-intro {
    max-width: 800px;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* Centered titles for sections */
.centered-title {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
}

.centered-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Main Navigation (bdapps Ignite Style) */
#navbar {
    background: linear-gradient(135deg, var(--nav_primary), var(--nav_secondary));
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

#navbar.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    height: 60px;
    padding: 8px 0;
}

.nav-logo-container {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 8px;
}

#navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 25px 16px;
    display: block;
    transition: all var(--transition-fast);
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

#navbar ul li a:hover, 
#navbar ul li a.active {
    color: var(--accent);
}

#navbar ul li a:hover::after,
#navbar ul li a.active::after {
    width: 60%;
}

/* Register Now Button in Nav */
.nav-cta {
    background-color: white;
    color: var(--primary) !important;
    border-radius: 50px;
    padding: 10px 24px !important;
    margin: 15px 0;
    font-weight: 700 !important;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--neutral-800) !important;
    transform: translateY(-3px);
}

.nav-cta::after {
    display: none !important;
}

/* Hero Section (bdapps Ignite Style) */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 20L20 0h20v20L20 40H0z'/%3E%3C/g%3E%3C/svg%3E");*/
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.btn-hero {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background-color: var(--accent);
    color: var(--neutral-800);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Content Sections */
.content-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.content-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.02em;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.content-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--neutral-800);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1.0625rem;
    color: var(--neutral-700);
    line-height: 1.7;
}

.content-section ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.content-section ul li {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    color: var(--neutral-700);
    position: relative;
    padding-left: 1.8em;
    line-height: 1.7;
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 16px;
    height: 16px;
    background-color: var(--primary-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.alt-bg {
    background-color: #FAF5F7;
    position: relative;
}

.alt-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23903636' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Supporters Section */
/* Supporters Section - Refined Design */
.supporters-section {
    padding: 5rem 0;
    background: #fafafa;
    position: relative;
}

.supporters-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.supporters-section .centered-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
}

.supporters-section .centered-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #2D1042;
}

/* Powered By (Robi) Section */
.supporters-logos-robi {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.supporter-logo-main {
    max-width: 360px;
    height: auto;
    transition: all 0.3s ease;
    opacity: 0.95;
}

.supporter-logo-main:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* Divider between sections */
.section-divider {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin: 3rem auto;
}

/* Supported By Section */
.supporters-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 1rem 0;
}

.supporter-logo {
    max-width: 140px;
    height: auto;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: grayscale(10%);
}

.supporter-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .supporters-section {
        padding: 4rem 0;
    }
    
    .supporter-logo-main {
        max-width: 280px;
    }
    
    .supporters-logos {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .supporter-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .supporter-logo-main {
        max-width: 240px;
    }
    
    .supporters-logos {
        gap: 30px;
    }
    
    .supporter-logo {
        max-width: 100px;
    }
    
    .supporters-section .centered-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Enhanced Prize Cards */
.prize-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.prize-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    width: calc(33.333% - 20px);
    min-width: 280px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.prize-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.prize-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--neutral-800);
}

.prize-card .prize-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.additional-prizes {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.additional-prizes h3 {
    text-align: center;
    margin-top: 0;
}

/* Enhanced Timeline Section with Better Mobile Responsiveness */
.timeline-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.timeline-section h2 {
    color: white;
}

.timeline-section h2::after {
    background: var(--accent);
}

.timeline-section .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-light));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 25px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    transition: transform var(--transition-normal);
}

.timeline-item:hover {
    transform: scale(1.03);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-marker {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 4px solid var(--accent);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -14px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -14px;
}

.timeline-item:hover .timeline-marker {
    background-color: var(--accent-light);
    transform: scale(1.2);
}

.timeline-content {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.15);
}

.timeline-content h4 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 1.3rem;
}

.timeline-content .date {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.timeline-note {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Mobile Responsiveness for Timeline */
@media (max-width: 1024px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-marker {
        left: 18px !important;
        right: auto !important;
    }
}

@media (max-width: 767px) {
    .timeline-section {
        padding: 4rem 0;
    }
    
    .timeline-container {
        margin-top: 2rem;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        padding: 15px 15px 15px 50px;
        margin-bottom: 15px;
    }
    
    .timeline-marker {
        width: 20px;
        height: 20px;
        left: 10px !important;
        top: 20px;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content .date {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-container::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: 5px !important;
        width: 18px;
        height: 18px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
}

/* Judgement Criteria Section Styling */
.judgement-criteria {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.criteria-table {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.criteria-table table {
    width: 100%;
    border-collapse: collapse;
}

.criteria-table th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    border: 1px solid var(--neutral-300);
}

.criteria-table td {
    padding: 1rem;
    border: 1px solid var(--neutral-300);
}

.criteria-table tr:nth-child(even) {
    background-color: var(--neutral-100);
}

.criteria-table tr:hover {
    background-color: var(--neutral-200);
}

.criteria-note {
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 185, 0, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
}

.criteria-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--neutral-800);
}

@media (max-width: 768px) {
    .judgement-criteria {
        padding: 1.5rem;
    }
    
    .criteria-table th,
    .criteria-table td {
        padding: 0.75rem;
    }
    
    .criteria-note p {
        font-size: 1rem;
    }
}


/* Enhanced Rules & Guidelines Section */
.rules-section {
    padding: 5rem 0;
    background-color: var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.rules-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23903636' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.rule-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rule-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.rule-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 20L20 0h20v20L20 40H0z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.rule-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    margin: 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.rule-header i {
    font-size: 1.8rem;
    color: var(--accent);
}

.rule-body {
    padding: 1.8rem;
}

.rule-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.rule-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background-color: var(--primary-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.rule-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 185, 0, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
}

.rule-note h4 {
    color: var(--accent-dark);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rule-note p {
    color: var(--neutral-700);
    margin-bottom: 0;
}

/* Registration Form */
.form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--nav_primary-dark), var(--nav_secondary));
    color: white;
}

.form-section h2 {
    color: white;
    text-align: center;
}

.form-section h2::after {
    background: var(--accent);
    left: 50%;
    transform: translateX(-50%);
}

.form-section .section-intro {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    color: var(--neutral-800);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Accessible focus styles */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(144, 54, 54, 0.15);
    background-color: white;
}

/* Enhanced labels */
.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Add description and helper text capability */
.field-description {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-weight: normal;
}

.field-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

/* Form inputs with consistent styling and better touch targets */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background-color: var(--neutral-100);
    line-height: 1.5;
}

/* Input states for validation feedback */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success);
    background-color: rgba(56, 161, 105, 0.05);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--error);
    background-color: rgba(229, 62, 62, 0.05);
}

/* Error message styling */
.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

/* Form layout improvements */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0.5rem;
}

.form-row .form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 250px;
}

fieldset {
    border: 1px solid var(--neutral-300);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
}

/* Make fieldset more distinctive on mobile */
fieldset legend {
    padding: 0 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Required field indicator */
.required {
    color: var(--primary);
}

/* Improved radio button group for touch */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    padding: 0.5rem 0;
}

/* Custom radio button styling for better visibility */
.radio-group input[type="radio"] {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    cursor: pointer;
}

/* Submit button enhancement */
.btn-submit {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    text-align: center;
    box-shadow: var(--shadow-md);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(144, 54, 54, 0.3), var(--shadow-md);
}

.btn-submit:active {
    transform: translateY(1px);
}

/* Form messages */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background-color: #ebf8f2;
    color: var(--success);
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #fdf2f3;
    color: var(--error);
    border: 1px solid #f5c6cb;
}

/* File upload styling improvement */
.file-upload-container {
    position: relative;
}

input[type="file"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background-color: var(--neutral-100);
}

small {
    display: block;
    margin-top: 0.5rem;
    color: var(--neutral-600);
    font-size: 0.85rem;
}

/* Section headings */
.form-section-heading {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-300);
}

/* Terms checkbox with better touch target */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 2rem;
}

.terms-checkbox input {
    margin-top: 5px;
    width: 20px;
    height: 20px;
}

.terms-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terms-checkbox a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Better mobile responsiveness */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        flex-basis: 100%;
        min-width: 100%;
    }
    
    fieldset {
        padding: 1rem;
    }
    
    .form-section-heading {
        font-size: 1.4rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .radio-group label {
        padding: 8px 0;
    }
    
    .btn-submit {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.25rem;
        margin-top: 2rem;
    }
    
    fieldset {
        padding: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group input[type="url"],
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .terms-checkbox {
        gap: 8px;
    }
    
    .terms-checkbox input {
        width: 18px;
        height: 18px;
    }
    
    .terms-checkbox label {
        font-size: 0.85rem;
    }
}

/* Accessibility improvements for form */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicator for keyboard navigation */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.terms-checkbox input:focus-visible,
.btn-submit:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Add optional badge for non-required fields */
.optional-badge {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--neutral-600);
    padding: 2px 6px;
    border-radius: 4px;
    background-color: var(--neutral-200);
    vertical-align: middle;
}

/* T-Shirt Size Chart Styling */
.size-chart-container {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.size-chart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.size-chart-toggle:hover {
    background-color: rgba(144, 54, 54, 0.1);
    text-decoration: underline;
}

.size-chart-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.size-chart-toggle.active i {
    transform: rotate(180deg);
}

.size-chart {
    display: none;
    margin-top: 1rem;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.size-chart.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.size-chart th,
.size-chart td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid var(--neutral-300);
}

.size-chart th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.size-chart tr:nth-child(even) {
    background-color: var(--neutral-100);
}

.size-chart tr:hover {
    background-color: var(--neutral-200);
}

/* About bdapps Section - Redesigned */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    flex: 1 1 550px;
    order: 2;
}

.about-image {
    flex: 1 1 300px;
    text-align: center;
    order: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.about-image img:hover {
    transform: scale(1.03);
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2rem 0;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1 1 150px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--neutral-700);
    font-weight: 500;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    padding: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-link i {
    margin-left: 8px;
    transition: transform var(--transition-normal);
}

.btn-link:hover {
    color: var(--secondary);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--nav_primary-dark), var(--nav_secondary));
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1 1 300px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--neutral-400);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    color: var(--neutral-400);
}

.contact-info i {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-500);
}

/* Developer credit */
.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--neutral-500);
    text-align: center;
}

.developer-credit a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.developer-credit a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid var(--neutral-200);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1001;
    transition: width 0.05s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    #navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-logo-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    
    .nav-menu-container {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .nav-menu-container.active {
        max-height: 500px;
    }
    
    #navbar ul {
        flex-direction: column;
        width: 100%;
    }
    
    #navbar ul li {
        width: 100%;
    }
    
    #navbar ul li a {
        padding: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #navbar ul li a::after {
        display: none;
    }
    
    .nav-cta {
        margin: 15px;
    }
    
    .prize-card, 
    .rule-section {
        width: 100%;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .footer-section {
        flex: 1 1 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    /* About section on mobile */
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-hero, .btn-submit {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .supporters-logos {
        gap: 20px;
    }
    
    .supporter-logo {
        max-width: 120px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    /* Template Download Button */
.download-template {
    margin-bottom: 1.5rem;
}

.template-download-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.template-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.template-download-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}
}