/* Modern Variables - BLUE THEME */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1565C0;
    --accent-color: #00D9FF;
    --dark-bg: #0A1E3D;
    --darker-bg: #050F1E;
    --light-text: #ffffff;
    --gray-text: #b8c5d6;
    --card-bg: rgba(33, 150, 243, 0.08);
    --gradient-1: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
    --gradient-2: linear-gradient(135deg, #03A9F4 0%, #0D47A1 100%);
    --gradient-3: linear-gradient(135deg, #00BCD4 0%, #00D9FF 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 30, 61, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(33, 150, 243, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1600;
}

.logo {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1600;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 61, 0.85) 0%, rgba(33, 150, 243, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.countdown-wrapper {
    margin-bottom: 3rem;
}

.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.1);
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-sub {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item span {
    font-size: 1.1rem;
    color: var(--gray-text);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-1);
    color: var(--light-text);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-text);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: 8rem 0;
    position: relative;
}

.dark-section {
    background: rgba(33, 150, 243, 0.03);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-text);
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    filter: drop-shadow(0 0 50px rgba(33, 150, 243, 0.4));
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.3) 0%, transparent 70%);
    z-index: -1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(.22, 1, .36, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 150, 243, 0.24);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(.22, 1, .36, 1);
    z-index: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Themes Section */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.theme-card {
    position: relative;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(33, 150, 243, 0.3);
}

.theme-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.theme-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.theme-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-card:hover .card-glow {
    opacity: 1;
}

/* Speakers Section */
.speakers-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.speaker-card {
    background: var(--card-bg);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 350px;
    flex-shrink: 0;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.3);
}

.speaker-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.speaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 150, 243, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.speaker-info {
    padding: 2rem;
}

.speaker-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Timeline Section */
.timeline-container {
    text-align: center;
    padding: 2rem;
}

.timeline-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(33, 150, 243, 0.4));
}

/* Sponsors Section */
.sponsors-container h3 {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: var(--gray-text);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    min-height: 150px;
}

.coming-soon {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-text);
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 60px;
}

.footer-logo p {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Speaker Reveal Ribbon & Blur */
.speaker-card.reveal-soon {
    position: relative;
    overflow: hidden;
}

.speaker-card.reveal-soon .speaker-image img,
.speaker-card.reveal-soon .speaker-info {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.ribbon {
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--gradient-1);
    color: #fff;
    padding: 8px 50px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Timeline */
/* Modern Vertical Timeline */
.timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.4);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(33, 150, 243, 0.2);
}

.timeline-date {
    font-family: 'Protest Guerrilla', sans-serif;
    color: var(--accent-color);
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin: 0;
}

.timeline-content p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.5;
}

/* Timeline Countdown Styles */
.timeline-countdown-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-countdown-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.timeline-countdown-display {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 1.5rem;
        text-align: left !important;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
        right: auto;
    }

    .timeline-content {
        align-items: flex-start;
    }
}


.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(33, 150, 243, 0.2);
    color: var(--gray-text);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Protest Guerrilla Font */
.protest-guerrilla {
    font-family: 'Protest Guerrilla', sans-serif;
    letter-spacing: 1px;
}

.codebits-logo .white {
    color: #fff;
}

.codebits-logo .blue {
    color: #0778DB;
}

.logo-text.protest-guerrilla {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-title.protest-guerrilla {
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.95;
    margin: 1rem 0 2rem 0;
    letter-spacing: 0.13em;
}

.codebits-logo {
    letter-spacing: 0.12em;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 44, 102, 0.85);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, #2196F3 0%, #0778DB 100%);
    box-shadow: 0 4px 32px rgba(7, 120, 219, 0.25);
    border-radius: 18px;
    padding: 2.5rem 2.3rem 1.8rem;
    color: #fff;
    text-align: center;
    min-width: 290px;
    max-width: 90vw;
    animation: popIn 0.24s cubic-bezier(.31, 1.57, .59, .98);
}

@keyframes popIn {
    0% {
        transform: scale(0.72);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-box h2 {
    margin-bottom: 0.6rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 1px;
}

.modal-box p {
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
    letter-spacing: 0.02em;
}

.modal-close {
    background: #fff;
    color: #0778DB;
    border: none;
    padding: 0.6rem 1.9rem;
    border-radius: 22px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(7, 120, 219, 0.07);
    transition: background 0.18s, color 0.18s, transform 0.18s;
}

.modal-close:hover {
    background: #0778DB;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* ============================================
   RESPONSIVE DESIGN - COMPLETE SOLUTION
   ============================================ */

/* Large Tablets & Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .themes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .speakers-grid {
        gap: 2rem;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: rgba(10, 30, 61, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        transition: left 0.3s ease;
        z-index: 1500;
        box-shadow: 2px 0 24px 0 rgba(7, 120, 219, 0.3);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text.protest-guerrilla {
        font-size: 1.3rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title.protest-guerrilla {
        font-size: 2.2rem;
    }

    .title-line {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .title-sub {
        font-size: 1.4rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 85px;
        padding: 1rem 1.2rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
    }

    .stat-item {
        justify-content: center;
    }

    .stat-item i {
        font-size: 1.5rem;
    }

    .stat-item span {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-tag {
        font-size: 0.85rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Themes */
    .themes-grid {
        grid-template-columns: 1fr;
    }

    .theme-card {
        padding: 2.5rem 1.5rem;
    }

    .theme-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    /* Speakers */
    .speakers-grid {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .speaker-card {
        width: 100%;
        max-width: 400px;
    }

    /* About */
    .about-content {
        padding: 1rem;
    }

    .about-features {
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.2rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-logo img {
        width: 50px;
    }

    .footer-logo p {
        font-size: 1.3rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        width: 80%;
        max-width: none;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .logo-text.protest-guerrilla {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-content {
        padding: 1rem;
    }

    .hero-title.protest-guerrilla {
        font-size: 1.8rem;
    }

    .title-line {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 75px;
        padding: 0.8rem 1rem;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .hero-stats {
        gap: 1.2rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        gap: 0.7rem;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    /* Themes */
    .theme-card {
        padding: 2rem 1.2rem;
    }

    .theme-card h3 {
        font-size: 1.3rem;
    }

    .theme-card p {
        font-size: 0.95rem;
    }

    /* Speakers */
    .speaker-card {
        max-width: 100%;
    }

    .speaker-info {
        padding: 1.5rem;
    }

    .speaker-info h3 {
        font-size: 1.3rem;
    }

    .speaker-title {
        font-size: 0.95rem;
    }

    .speaker-bio {
        font-size: 0.9rem;
    }

    /* About */
    .about-text {
        font-size: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-social {
        gap: 0.8rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1rem;
    }

    /* Modal */
    .modal-box {
        padding: 2rem 1.5rem 1.5rem;
        min-width: 260px;
    }

    .modal-box h2 {
        font-size: 1.6rem;
    }

    .modal-box p {
        font-size: 1rem;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .hero-title.protest-guerrilla {
        font-size: 1.5rem;
    }

    .title-line {
        font-size: 0.85rem;
    }

    .title-sub {
        font-size: 1rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.7rem 0.8rem;
    }

    .countdown-value {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 4rem;
    }

    .countdown-wrapper {
        margin-bottom: 2rem;
    }

    .hero-title {
        margin: 1rem 0;
    }

    .hero-stats {
        margin: 2rem 0;
    }

    .scroll-indicator {
        display: none;
    }
}