:root {
    --brand-primary: #2c5aa0;
    --brand-secondary: #4caf50;
    --brand-accent: #ff9800;
    --brand-dark: #1a3a5f;
    --brand-muted: #6c757d;
    --brand-primary-600: #244d8a;
    --brand-primary-700: #1f4278;
    --surface: #ffffff;
    --surface-alt: #f8f9fa;
    --surface-elev: #ffffff;
    --text: #333333;
    --text-muted: #6c757d;
    --ring: #7ba7d7;
}

body {
    font-family: 'Avenir Next', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--brand-dark);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(44,90,160,0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(76,175,80,0.02) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: 400px 400px, 300px 300px, 200px 200px;
    background-position: 0 0, 100px 100px, 50px 50px;
    background-repeat: repeat, repeat, repeat;
}

/* Headings with DIN Condensed */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DIN Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Specific heading styles */
#hero .display-5,
.hero-title {
    font-family: 'DIN Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-title {
    font-family: 'DIN Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nomination-title,
.prize-title,
.about-club-title,
.feature-item-title {
    font-family: 'DIN Condensed', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (min-width: 992px) {
    html { font-size: 17px; }
}

.h1, .display-5 { letter-spacing: -0.02em; }

/* About section styles */
.about-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.03), rgba(76,175,80,0.01));
    border-radius: 16px;
    margin: 2rem 0;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-intro .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--brand-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.about-intro-text {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    position: relative;
    overflow: hidden;
}

.about-intro-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 20px 20px 0 0;
}

.about-intro-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    color: var(--brand-dark);
    text-align: center;
}

.about-intro-text p:last-child {
    margin-bottom: 0;
}

.about-intro-text strong {
    color: var(--brand-primary);
    font-weight: 700;
}

.feature-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 32px rgba(44,90,160,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
}

.feature-card h3 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card p {
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Heading scale and centering */
#hero .display-5,
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

.section-title {
    text-align: center;
    padding-left: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 2px;
    margin: 1rem auto 0;
}

.section-title::before {
    display: none;
}

@media (min-width: 992px) {
    #hero .display-5 { font-size: 2.75rem; }
    h2.h3 { font-size: 1.5rem; }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    background: #fff;
    border: 2px solid var(--brand-primary);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 1000;
}

.btn-primary {
    background-color: var(--brand-primary);
    background-image: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(0,0,0,0.06));
    border-color: var(--brand-primary);
    transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-primary-700);
    border-color: var(--brand-primary-600);
    transform: translateY(-1px);
}

header .navbar-brand {
    color: var(--brand-dark);
}

.nav-link { color: var(--brand-dark); opacity: .8; }
.nav-link:hover, .nav-link:focus { color: var(--brand-primary); opacity: 1; }
.nav-link.active { color: var(--brand-primary); font-weight: 600; }

#hero {
    position: relative;
}

.hero-section {
    position: relative;
    min-height: 80vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    background-image: url("../../pic/фон главная страница.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


#hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 48px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 48" preserveAspectRatio="none"><path fill="%23ffffff" d="M0,32 C240,64 480,0 720,24 C960,48 1200,0 1440,16 L1440,48 L0,48 Z"/></svg>') no-repeat center/100% 100%;
}

/* Hero header - integrated into hero section */
.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44,90,160,0.1);
    transition: all 0.3s ease;
}

.hero-header .navbar-brand {
    color: var(--brand-primary) !important;
    text-shadow: none;
}

.hero-header .nav-link {
    color: var(--brand-primary) !important;
    text-shadow: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-header .nav-link:hover,
.hero-header .nav-link:focus,
.hero-header .nav-link.active {
    color: #1f4278 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-header .btn-primary {
    background: #5a8bc7;
    border-color: #5a8bc7;
    color: #ffb74d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-header .btn-primary:hover,
.hero-header .btn-primary:focus {
    background: #4a7bb7;
    border-color: #4a7bb7;
    color: #ffb74d;
    transform: translateY(-1px);
}

/* Remove old sticky header styles */
header.sticky-top {
    display: none;
}

section { scroll-margin-top: 84px; }

/* Add padding for fixed header */
main {
    padding-top: 80px;
}
#about, #timeline, #contacts { background: var(--surface-alt); }

/* Subtle background pattern (dots) */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23d9e6ff' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px;
}

/* Section divider wave */
.section-divider {
    height: 48px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 48" preserveAspectRatio="none"><path fill="%23f8f9fa" d="M0,20 C240,52 480,-12 720,12 C960,36 1200,-12 1440,4 L1440,48 L0,48 Z"/></svg>') no-repeat center/100% 100%;
}

@media (min-width: 992px) {
    section.py-5 {
        padding-top: 5.5rem !important;
        padding-bottom: 5.5rem !important;
    }
}

footer {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

footer .h5 {
    color: #ffffff !important;
}

footer .contact-info a {
    color: #ffffff !important;
    opacity: 0.9;
}

footer .contact-info a:hover {
    color: #ffffff !important;
    opacity: 1;
}

footer .legal-info a {
    color: #ffffff !important;
    opacity: 0.9;
}

footer .legal-info a:hover {
    color: #ffffff !important;
    opacity: 1;
}

footer .small.text-muted {
    color: rgba(255,255,255,0.7) !important;
}

/* Дополнительные стили для обеспечения видимости текста */
footer .contact-info strong {
    color: #ffffff !important;
}

footer .legal-info h3 {
    color: #ffffff !important;
}

footer .contact-info,
footer .legal-info {
    color: #ffffff !important;
}

/* Contact items styling */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-item a,
.contact-item span {
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Mobile responsive for contact items */
@media (max-width: 768px) {
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .contact-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Partners Carousel */
.partners-carousel-container {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    width: 100%;
    max-width: none;
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.partner-slide {
    flex: 0 0 auto;
    width: 280px;
    height: 180px;
    object-fit: contain;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    margin: 0 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(44,90,160,0.15);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(44,90,160,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--brand-primary);
}

.carousel-btn:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(44,90,160,0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0 1rem;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44,90,160,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--brand-primary);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(44,90,160,0.5);
}

/* Auto-scroll animation */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-track.auto-scroll {
    animation: autoScroll 20s linear infinite;
}

.partners-track.auto-scroll:hover {
    animation-play-state: paused;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 4rem 0;
    }

    .hero-content {
        padding: 2rem 0 4rem 0;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }

    .hero-text {
        text-align: center;
        max-width: 95vw !important;
        width: 95vw !important;
        padding: 0 0.25rem !important;
        margin: -2rem auto 4rem auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    .hero-dates {
        align-items: center;
    }

    .date-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-header .nav {
        display: none !important;
    }

    .hero-header .btn-primary {
        display: none;
    }

    /* Mobile header adaptations */
    .hero-header {
        padding: 0.75rem 0;
    }

    .hero-header .navbar-brand {
        font-size: 0.9rem !important;
        line-height: 1.2;
        text-align: center;
        margin: 0;
        padding: 0 1rem;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-header .container {
        padding: 0 1rem;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Hide desktop nav on mobile */
    @media (max-width: 768px) {
        .hero-header .nav {
            display: none !important;
        }

        .hero-header .btn-primary {
            display: none !important;
        }
    }

    /* Hide mobile menu elements by default - outside any media query */
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Show mobile menu elements only on mobile */
    @media (max-width: 768px) {
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.98);
            z-index: 999;
            display: none;
            visibility: hidden;
            padding-top: 80px;
            overflow-y: auto;
        }

        .mobile-menu-toggle {
            display: block !important;
            visibility: visible !important;
            position: fixed;
            top: 0.75rem;
            right: 1rem;
            z-index: 1001;
            background: var(--brand-primary);
            border: none;
            border-radius: 8px;
            padding: 0.5rem;
            color: white;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(44,90,160,0.3);
        }

        .mobile-menu-toggle:hover {
            background: var(--brand-primary-700);
        }

        .mobile-menu-overlay.active {
            display: block !important;
            visibility: visible !important;
        }
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }

    .mobile-menu-nav .nav-link {
        color: var(--brand-primary) !important;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1rem;
        text-align: center;
        border-radius: 12px;
        background: rgba(44,90,160,0.05);
        border: 1px solid rgba(44,90,160,0.1);
        transition: all 0.3s ease;
    }

    .mobile-menu-nav .nav-link:hover,
    .mobile-menu-nav .nav-link.active {
        background: var(--brand-primary);
        color: white !important;
    }

    .mobile-menu-nav .btn-primary {
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Adjust main padding for mobile */
    main {
        padding-top: 70px;
    }

    /* Fix mobile container padding */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Fix mobile sections padding */
    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Remove dots from form labels in partners and form sections */
.partners-section .form-label,
.form-section .form-label {
    display: block;
}


.form-control, .form-select {
    border: 2px solid rgba(44,90,160,0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44,90,160,0.06);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(44,90,160,0.15), 0 4px 16px rgba(44,90,160,0.1);
    background: rgba(255,255,255,1);
    transform: translateY(-1px);
}

.form-control:hover, .form-select:hover {
    border-color: rgba(44,90,160,0.4);
}

/* Textarea specific */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Character counters */
[data-counter] {
    font-weight: 600;
    color: var(--brand-primary);
}

/* Checkboxes */
.form-check {
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(44,90,160,0.1);
}

.form-check.mb-0 {
    margin-bottom: 0.1rem !important;
}

.form-check:not(.mb-0) {
    margin-top: 0.1rem !important;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid rgba(44,90,160,0.3);
    border-radius: 4px;
    margin-right: 0.75rem;
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.form-check-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(44,90,160,0.2);
}

.form-check-label {
    font-weight: 500;
    color: var(--brand-dark);
    cursor: pointer;
}

/* Audience checkboxes container */
.audience-checkboxes {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.audience-checkboxes .form-check {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    margin: 0;
}

.audience-checkboxes .form-check:last-child {
    margin-bottom: 0;
}

.audience-checkboxes .form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.75rem;
}

.audience-checkboxes .form-check-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-dark);
}

/* Scrollbar for audience checkboxes */
.audience-checkboxes::-webkit-scrollbar {
    width: 6px;
}

.audience-checkboxes::-webkit-scrollbar-track {
    background: rgba(44,90,160,0.05);
    border-radius: 3px;
}

.audience-checkboxes::-webkit-scrollbar-thumb {
    background: rgba(44,90,160,0.2);
    border-radius: 3px;
}

.audience-checkboxes::-webkit-scrollbar-thumb:hover {
    background: rgba(44,90,160,0.3);
}

/* Submit button */
#submitBtn {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-700));
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(44,90,160,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#submitBtn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

#submitBtn:hover::before {
    left: 100%;
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44,90,160,0.4);
}

#submitBtn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(44,90,160,0.3);
}

#submitBtn:disabled {
    background: #6c757d;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* Form validation */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
    background-image: none;
}

.invalid-feedback {
    color: #dc3545;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #form {
        margin: 1rem 0;
        padding: 2rem 0;
    }

    .form-container {
        padding: 2rem;
    }

    fieldset {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-control, .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    #submitBtn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-transform: none;
        letter-spacing: normal;
    }

    .d-flex.align-items-center.gap-3.mt-4 {
        flex-direction: column;
        gap: 1rem;
    }

    .text-muted.small {
        text-align: center;
        font-size: 0.85rem;
    }
}

/* Nominations */
.nom-card-title { font-weight: 700; letter-spacing: -0.01em; }
.nom-card-desc { color: var(--text-muted); }
.nom-icon svg { width: 20px; height: 20px; color: var(--brand-primary); }

.nominations-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.nominations-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../../pic/7U8A1954.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.4 !important;
    pointer-events: none;
    z-index: 0;
}

.nominations-section {
    position: relative !important;
    overflow: hidden !important;
}

.nominations-section .container {
    position: relative;
    z-index: 1;
}

.nominations-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.nominations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Mobile responsive nominations */
@media (max-width: 768px) {
    .nominations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nomination-card {
        padding: 2rem;
    }

    .nomination-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nominations-container {
        padding: 2rem;
    }

    .nomination-card {
        padding: 1.5rem;
    }

    .nomination-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .nomination-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Criteria Section */
.criteria-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.criteria-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.criteria-section .container {
    position: relative;
    z-index: 1;
}

.criteria-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.criteria-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.criteria-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.criteria-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.criteria-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.criteria-content {
    flex: 1;
}

.criteria-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.3;
}

/* Mobile responsive criteria */
@media (max-width: 768px) {
    .criteria-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .criteria-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .criteria-number {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .criteria-title {
        font-size: 1rem;
    }

    .criteria-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .criteria-container {
        padding: 2rem;
    }

    .criteria-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .criteria-number {
        margin: 0 auto;
    }
}

/* Jury Section */
.jury-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.jury-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.jury-section .container {
    position: relative;
    z-index: 1;
}

.jury-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.jury-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.jury-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.jury-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.jury-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.jury-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jury-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

.jury-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.3;
}

.jury-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44,90,160,0.1);
}

/* Mobile responsive jury */
@media (max-width: 1200px) {
    .jury-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .jury-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .jury-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .jury-card {
        padding: 1.5rem;
    }

    .jury-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .jury-container {
        padding: 2rem;
    }

    .jury-card {
        padding: 1.25rem;
    }

    .jury-icon {
        width: 40px;
        height: 40px;
    }

    .jury-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* About Spiritual Pharmacy Section */
.about-club-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.about-club-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../../pic/7U8A9721.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.3 !important;
    pointer-events: none;
    z-index: 0;
}

.about-club-section .container {
    position: relative;
    z-index: 1;
}

.about-club-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.about-club-intro .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brand-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.about-club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-club-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-club-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.about-club-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.about-club-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.about-club-icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand-primary);
}

.about-club-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-club-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.about-club-features {
    margin: 3rem 0;
}

.feature-item {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44,90,160,0.1);
    border-color: rgba(44,90,160,0.2);
}

.feature-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-align: center;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.about-club-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44,90,160,0.1);
}

/* Mobile responsive about club */
@media (max-width: 768px) {
    .about-club-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-club-card {
        padding: 2rem;
    }

    .about-club-title {
        font-size: 1.1rem;
    }

    .about-club-desc {
        font-size: 0.9rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .feature-item-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-club-container {
        padding: 2rem;
    }

    .about-club-card {
        padding: 1.5rem;
    }

    .about-club-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .about-club-icon svg {
        width: 24px;
        height: 24px;
    }

    .about-club-intro .lead {
        font-size: 1rem;
    }
}

.nomination-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 50px rgba(44,90,160,0.12), 0 0 30px rgba(44,90,160,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 50px rgba(44,90,160,0.12), 0 0 30px rgba(44,90,160,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.prize-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.prize-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.prize-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.prize-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
}

.prize-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prize-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.prizes-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.prizes-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.prizes-section .container {
    position: relative;
    z-index: 1;
}

.prizes-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prizes-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44,90,160,0.1);
}

/* Mobile responsive prizes */
@media (max-width: 768px) {
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prize-card {
        padding: 2rem;
    }

    .prize-title {
        font-size: 1.1rem;
    }
}

.nomination-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.nomination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.nomination-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.nomination-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
}

.nomination-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nomination-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* CTA glow */
.btn-primary:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(44,90,160,0.35), 0 10px 24px rgba(44,90,160,0.25);
}
.btn-primary:hover {
    box-shadow: 0 10px 24px rgba(44,90,160,0.25);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,90,160,0.0) 0%, rgba(118,75,162,0.0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0 4rem 0;
    width: 100%;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.hero-content .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    margin: 1rem auto 3rem auto !important;
    max-width: 800px !important;
    text-align: center !important;
    flex: 0 0 auto !important;
}

.hero-subtitle {
    text-align: center !important;
}

.hero-subtitle a {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(44,90,160,0.4);
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.hero-subtitle a:hover {
    text-decoration-color: rgba(76,175,80,0.6);
    filter: brightness(1.1);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-tagline {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.5);
    transition: text-decoration-color 0.3s ease;
    position: relative;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-link:hover {
    text-decoration-color: #ffffff;
}

.hero-link:hover::after {
    opacity: 1;
}

.hero-link-main {
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.hero-dates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.date-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.date-badge.deadline {
    background: rgba(255,193,7,0.2);
    border-color: rgba(255,193,7,0.3);
    font-weight: 600;
}

.date-label {
    font-weight: 600;
    margin-right: 0.5rem;
    opacity: 0.9;
}

.date-value {
    font-weight: 700;
    color: #ffffff;
}

.hero-cta-section {
    margin-top: 3rem;
    text-align: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #5a8bc7;
    color: #ffb74d;
    border: none;
    border-radius: 50px;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44,90,160,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    color: #ff9800 !important;
}

.btn-hero:active {
    transform: translateY(-1px);
}

.btn-hero:active {
    transform: translateY(-1px);
}

.btn-text {
    font-weight: 700;
}

.btn-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 500;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 4rem 0;
    }

    .hero-content {
        padding: 6rem 0 6rem 0;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        margin: -2rem auto 4rem auto !important;
    }

    .hero-dates {
        align-items: center;
    }

    .date-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-header .nav {
        display: none !important;
    }

    .hero-header .btn-primary {
        display: none;
    }

    /* Mobile header adaptations */
    .hero-header {
        padding: 0.75rem 0;
    }

    .hero-header .navbar-brand {
        font-size: 0.9rem !important;
        line-height: 1.2;
        text-align: center;
        margin: 0;
        padding: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-header .container {
        padding: 0 1rem;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Hide desktop nav on mobile */
    @media (max-width: 768px) {
        .hero-header .nav {
            display: none !important;
        }

        .hero-header .btn-primary {
            display: none !important;
        }
    }

    /* Hide mobile menu elements by default - outside any media query */
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Show mobile menu elements only on mobile */
    @media (max-width: 768px) {
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.98);
            z-index: 999;
            display: none;
            visibility: hidden;
            padding-top: 80px;
            overflow-y: auto;
        }

        .mobile-menu-toggle {
            display: block !important;
            visibility: visible !important;
            position: fixed;
            top: 0.75rem;
            right: 1rem;
            z-index: 1001;
            background: var(--brand-primary);
            border: none;
            border-radius: 8px;
            padding: 0.5rem;
            color: white;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(44,90,160,0.3);
        }

        .mobile-menu-toggle:hover {
            background: var(--brand-primary-700);
        }

        .mobile-menu-overlay.active {
            display: block !important;
            visibility: visible !important;
        }
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }

    .mobile-menu-nav .nav-link {
        color: var(--brand-primary) !important;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1rem;
        text-align: center;
        border-radius: 12px;
        background: rgba(44,90,160,0.05);
        border: 1px solid rgba(44,90,160,0.1);
        transition: all 0.3s ease;
    }

    .mobile-menu-nav .nav-link:hover,
    .mobile-menu-nav .nav-link.active {
        background: var(--brand-primary);
        color: white !important;
    }

    .mobile-menu-nav .btn-primary {
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Adjust main padding for mobile */
    main {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-dates {
        gap: 0.75rem;
    }

    .date-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .date-label {
        margin-right: 0;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Partners Section */
.partners-section {
    background: linear-gradient(135deg, rgba(44,90,160,0.04), rgba(76,175,80,0.03));
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-container {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,90,160,0.1);
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.partner-category {
    display: grid;
    gap: 1.5rem;
}

.partner-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.partner-category-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

.partner-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(44,90,160,0.15);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(44,90,160,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 16px 16px 0 0;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(44,90,160,0.12);
    border-color: rgba(44,90,160,0.2);
}

.partner-logo {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo i {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.partner-logo-small {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo-small i {
    font-size: 1rem;
    color: var(--brand-primary);
}

/* Remove logo containers completely for partners section */
.partners-section .partner-logo,
.partners-section .partner-logo-small {
    display: none;
}

.partners-section .partner-info,
.partners-section .partner-info-small {
    margin-left: 0;
}

.partner-info {
    flex: 1;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.partner-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.partners-list {
    display: grid;
    gap: 1rem;
}

.partner-item {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44,90,160,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(44,90,160,0.1);
    border-color: rgba(44,90,160,0.2);
}

.partner-logo-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(44,90,160,0.1), rgba(76,175,80,0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo-small i {
    font-size: 1rem;
    color: var(--brand-primary);
}

.partner-info-small {
    flex: 1;
}

.partner-name-small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.3;
}

.partners-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44,90,160,0.1);
    text-align: center;
}

.partners-cta h3 {
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.partners-cta p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.partners-cta a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.partners-cta a:hover {
    color: var(--brand-primary-700);
    text-decoration: underline;
}

/* Mobile responsive partners */
@media (max-width: 768px) {
    .partners-container {
        padding: 2rem;
    }

    .partners-grid {
        gap: 2rem;
    }

    .partner-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .partner-logo {
        margin: 0 auto;
    }

    .partner-name {
        font-size: 1.1rem;
    }

    .partner-desc {
        font-size: 0.9rem;
    }

    .partner-item {
        padding: 1.25rem;
    }

    .partner-name-small {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .partners-container {
        padding: 1.5rem;
    }

    .partner-card {
        padding: 1.25rem;
    }

    .partner-logo {
        width: 50px;
        height: 50px;
    }

    .partner-logo i {
        font-size: 1.2rem;
    }

    .partner-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .partner-logo-small {
        width: 32px;
        height: 32px;
    }

    .partner-logo-small i {
        font-size: 0.9rem;
    }

    .partner-category-title {
        font-size: 1.1rem;
    }
}
