/* Neo-Brutalist Root Variables */
:root {
    --bg-main: #f4f4f0;
    --text-main: #000000;
    --border-main: 4px solid #000;
    --shadow-main: 6px 6px 0px #000;
    --shadow-hover: 8px 8px 0px #000;
    --shadow-active: 0px 0px 0px #000;
    
    /* Vibrant Palette */
    --brutal-yellow: #ffde59;
    --brutal-pink: #ffb1d9;
    --brutal-blue: #a3c4ff;
    --brutal-lime: #ccff00;
    --brutal-lavender: #e6d5ff;
    --brutal-orange: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-main);
    overflow-x: hidden;
    /* Dotted background effect typical in Brutalism */
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-main); border-left: var(--border-main); }
::-webkit-scrollbar-thumb { background: var(--brutal-orange); border: 2px solid #000; }

/* Utility Classes */
.brutal-card {
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    transition: all 0.2s ease;
    border-radius: 0; /* Hard corners */
    color: var(--text-main);
}
.brutal-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.brutal-border { border: var(--border-main); }
.brutal-badge {
    background: var(--text-main);
    color: #fff;
    padding: 0.2rem 0.5rem;
    font-weight: bold;
    border: 2px solid #000;
}

/* Background Color Utilities */
.bg-yellow { background-color: var(--brutal-yellow); }
.bg-pink { background-color: var(--brutal-pink); }
.bg-blue { background-color: var(--brutal-blue); }
.bg-lime { background-color: var(--brutal-lime); }
.bg-lavender { background-color: var(--brutal-lavender); }
.bg-orange { background-color: var(--brutal-orange); }

/* Typography */
h1, h2, h3, h4, h5 { font-family: 'Orbitron', 'Space Grotesk', sans-serif; font-weight: 900; text-transform: uppercase; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-main);
    border-bottom: var(--border-main);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.navbar.scrolled {
    background: var(--brutal-yellow);
    box-shadow: 0px 4px 0px #000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 3px solid #000;
    background: #fff;
    box-shadow: 4px 4px 0px #000;
    padding: 6px;
    transition: all 0.2s;
}

.mobile-menu span {
    width: 28px;
    height: 4px;
    background: #000;
    margin: 3px 0;
    transition: 0.2s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.nav-links a:hover {
    background: var(--brutal-lime);
    border: 2px solid #000;
    box-shadow: 4px 4px 0px #000;
    transform: translate(-2px, -2px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: 2px solid #000;
    padding: 5px;
    background: #fff;
    box-shadow: 3px 3px 0px #000;
}

.mobile-menu span {
    width: 28px;
    height: 4px;
    background: #000;
    margin: 3px 0;
    transition: 0.2s;
}

/* Animations */
.pop-in {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #f4f4f0;
    background-image:
        radial-gradient(circle at calc(50% + var(--hero-shift-x, 0px)) calc(30% + var(--hero-shift-y, 0px)), rgba(255,255,0,0.14), transparent 32%),
        radial-gradient(circle at calc(20% + var(--hero-shift-y, 0px)) calc(80% + var(--hero-shift-x, 0px)), rgba(0,0,0,0.08), transparent 18%),
        linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.15));
    background-size: cover;
    transition: background-position 0.1s ease;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: calc(0.12 + var(--hero-noise, 0));
    transform: translate(calc(var(--hero-noise-x, 0px) * 1px), calc(var(--hero-noise-y, 0px) * 1px));
    mix-blend-mode: multiply;
}

.hero-visuals {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.08s ease-out;
    transform: translate(var(--hero-shift-x, 0), var(--hero-shift-y, 0));
}

.engineering-shape {
    position: absolute;
    background: transparent;
    border: 4px solid #000;
}

.blueprint-grid {
    top: 12%;
    left: 8%;
    width: 240px;
    height: 240px;
    background-image:
        linear-gradient(#000 1px, transparent 1px),
        linear-gradient(90deg, #000 1px, transparent 1px);
    background-size: 40px 40px;
    box-shadow: 10px 10px 0px #000;
}

.circuit-cluster {
    top: 22%;
    right: 10%;
    width: 180px;
    height: 180px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,0,0,0.04) 25%, transparent 25%),
                linear-gradient(225deg, rgba(0,0,0,0.04) 25%, transparent 25%);
    background-size: 40px 40px;
}

.circuit-cluster::before,
.circuit-cluster::after {
    content: "";
    position: absolute;
    background: #000;
}

.circuit-cluster::before {
    top: 20%;
    left: 15%;
    width: 60%;
    height: 6px;
}

.circuit-cluster::after {
    top: 60%;
    left: 35%;
    width: 8px;
    height: 40%;
}

.material-block {
    bottom: 15%;
    left: 20%;
    width: 220px;
    height: 120px;
    transform: rotate(-6deg);
    background: #fff;
    box-shadow: 10px 10px 0px #000;
}

.beam-line {
    bottom: 12%;
    right: 16%;
    width: 220px;
    height: 28px;
    border: none;
    background: #000;
}

.beam-line::before,
.beam-line::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 4px solid #000;
}

.beam-line::before { left: 12%; top: -14px; }
.beam-line::after { right: 12%; top: -14px; }

.symbol-badge {
    top: 48%;
    left: 44%;
    width: 120px;
    height: 120px;
    background: #000;
    color: var(--brutal-lime);
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-weight: 900;
    border-radius: 6px;
}

.micro-dot {
    top: 18%;
    right: 24%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #000;
    box-shadow: 4px 4px 0px #000;
}

.micro-ring {
    top: 30%;
    left: 16%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid #000;
}

.micro-chip {
    bottom: 28%;
    right: 32%;
    width: 34px;
    height: 22px;
    background: #000;
    border-radius: 4px;
}

.micro-trace {
    bottom: 18%;
    left: 48%;
    width: 64px;
    height: 6px;
    background: #000;
}

.hero-geo {
    position: absolute;
    pointer-events: none;
    opacity: 0.95;
    box-shadow: 8px 8px 0px #000;
}

.geo-circle {
    top: 16%;
    right: 20%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #000;
}

.geo-square {
    top: 10%;
    left: 32%;
    width: 44px;
    height: 44px;
    background: #000;
}

.geo-blob {
    bottom: 22%;
    left: 10%;
    width: 60px;
    height: 54px;
    background: #000;
    border-radius: 32% 68% 50% 50% / 60% 38% 62% 40%;
}

.geo-ring {
    bottom: 8%;
    right: 14%;
    width: 36px;
    height: 36px;
    border: 4px solid #000;
    border-radius: 50%;
}

.hero-content {
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    width: min(92vw, 920px);
    background: #fff;
    border: var(--border-main);
    box-shadow: 12px 12px 0px #000;
    margin: 2rem;
    transform: translateZ(0);
    transition: transform 0.12s ease-out;
}

@media (max-width: 900px) {
    .hero {
        min-height: 85vh;
        padding-top: 60px;
    }

    .hero-visuals {
        display: none;
    }

    .hero-content {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .hero-content {
        padding: 1.5rem;
        margin: 1rem 0.75rem;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    color: var(--text-main);
}

.hero-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin-bottom: 1.2rem;
    border: 4px solid #000;
    color: #000;
    background: var(--brutal-lime);
    font-weight: 900;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    font-weight: 900;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 4px solid #000;
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.05);
}

.hero-description {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    max-width: 760px;
    margin: 0 auto 3rem;
    background: #f8f8f8;
    padding: 1.25rem;
    border: 4px solid #000;
}

/* Buttons */
.hero-cta, .join-button, .linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--brutal-yellow);
    color: var(--text-main);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    transition: all 0.1s ease;
    cursor: pointer;
}

.hero-cta:hover, .join-button:hover {
    background: var(--brutal-lime);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.hero-cta:active, .join-button:active {
    transform: translate(6px, 6px);
    box-shadow: var(--shadow-active);
}

/* Common Sections */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    background: var(--brutal-blue);
    display: inline-block;
    padding: 10px 20px;
    border: var(--border-main);
    box-shadow: 8px 8px 0px #000;
    margin-bottom: 4rem;
    transform: rotate(-2deg);
}

.about-container, .office-bearers-container, .join-container, .faq-container, .contact-container, .activities-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* About Layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text {
    background: var(--brutal-lavender);
    border: var(--border-main);
    padding: 2rem;
    box-shadow: var(--shadow-main);
    font-size: 1.2rem;
    font-weight: 500;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--brutal-yellow);
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    text-align: center;
}

.feature-icon img {
    height: 60px;
    margin-bottom: 1rem;
    filter: grayscale(100%) contrast(200%); /* Brutalist logo style */
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    background: var(--brutal-orange);
    border-top: var(--border-main);
    border-bottom: var(--border-main);
}

.stat-item {
    background: #fff;
    border: var(--border-main);
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    box-shadow: 6px 6px 0px #000;
    transform: rotate(1deg);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 3px 3px 0px var(--brutal-lime);
}

.stat-label {
    font-weight: 800;
    font-size: 1.2rem;
    background: var(--brutal-pink);
    border: 2px solid #000;
    padding: 5px;
    margin-top: 10px;
}

/* Sliders */
.benefits-slider, .activities-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.benefits-track, .activities-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.benefit-card, .activity-card {
    width: 350px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.benefit-icon i {
    color: var(--text-main);
}

.activity-image {
    height: 200px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(120%) saturate(150%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.benefits-slider:hover .benefits-track,
.activities-slider:hover .activities-track {
    animation-play-state: paused;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem; /* Increased gap */
    margin-top: 4rem; /* Increased margin */
}

/* Year Selector */
.year-selector {
    text-align: center;
    margin-bottom: 3rem;
}

.year-options {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
}

.year-option input[type="radio"] { display: none; }
.year-option label {
    padding: 0.5rem 1rem;
    border: 2px solid #000;
    cursor: pointer;
    font-weight: 800;
    background: var(--bg-main);
    transition: all 0.2s;
}

.year-option input:checked + label {
    background: var(--brutal-blue);
    box-shadow: 4px 4px 0px #000;
    transform: translate(-2px, -2px);
}

/* Team Grid */
.team-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    gap: 2rem;
}

.team-grid.active { display: grid; }

.team-member {
    background: #fff;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.team-member:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #000;
    background: var(--brutal-lavender);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border: var(--border-main);
    border-radius: 50%;
    overflow: hidden;
    background: var(--brutal-yellow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

.team-member h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.member-role { font-weight: 700; background: var(--brutal-lime); border: 2px solid #000; padding: 2px 5px; display: inline-block; margin-bottom: 1rem; }

.linkedin-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* FAQ */
.faq-item {
    background: #fff;
    border: var(--border-main);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-main);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brutal-yellow);
    border-bottom: 2px solid transparent;
}

.faq-item.active .faq-question { border-bottom: var(--border-main); }
.faq-answer { display: none; padding: 1.5rem; font-weight: 600; background: #fff; }
.faq-item.active .faq-answer { display: block; }

/* Join Options */
.join-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: var(--brutal-yellow);
    border: var(--border-main);
    box-shadow: 12px 12px 0px #000;
    text-align: center;
}

.join-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #000;
}

.join-description {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.6;
    background: #fff;
    padding: 1.5rem;
    border: 3px dashed #000;
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--brutal-blue);
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    border: var(--border-main);
    text-decoration: none;
    box-shadow: 6px 6px 0px #000;
    transition: all 0.2s;
}

.join-button-icon { font-size: 2rem; }

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form-section {
    background: var(--brutal-pink);
    border: var(--border-main);
    padding: 2rem;
    box-shadow: var(--shadow-main);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border: 2px solid #000;
}

.contact-icon { font-size: 2rem; }

.location-map iframe {
    width: 100%;
    border: var(--border-main) !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brutal-lime);
    border: var(--border-main);
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 4px 4px 0px #000;
}

.social-link:hover {
    background: var(--brutal-yellow);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

/* Contact Layout Grid - Responsive */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 5rem 2rem;
}

/* Footer */
.footer {
    background: var(--text-main);
    color: #fff;
    border-top: var(--border-main);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 { color: var(--brutal-lime); margin-bottom: 1rem; }
.footer-section a { color: #fff; text-decoration: none; font-weight: bold; }
.footer-section a:hover { color: var(--brutal-pink); text-decoration: underline; text-decoration-thickness: 3px; }

.footer-bottom {
    text-align: center;
    border-top: 2px dashed #333;
    padding-top: 2rem;
    font-weight: 800;
}

/* Neo-Brutalism Animations */

@keyframes wiggle {
    0% { transform: translate(-4px, -4px) rotate(0deg); }
    25% { transform: translate(-4px, -4px) rotate(-3deg); }
    50% { transform: translate(-4px, -4px) rotate(3deg); }
    75% { transform: translate(-4px, -4px) rotate(-1deg); }
    100% { transform: translate(-4px, -4px) rotate(1deg); }
}

@keyframes popIn {
    0% { transform: scale(0.9); opacity: 0; box-shadow: 0px 0px 0px #000; }
    50% { transform: scale(1.05); opacity: 1; box-shadow: 8px 8px 0px #000; }
    100% { transform: scale(1); opacity: 1; box-shadow: 4px 4px 0px #000; }
}

@keyframes neo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-cta:hover, .join-button:hover, .linkedin-btn:hover {
    animation: wiggle 0.4s ease-in-out infinite alternate;
}

.brutal-card:hover {
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-entrance.fade-in.appear {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ==========================================
   Comprehensive Responsive Design
   ========================================== */

/* Large Tablets & Small Laptops (1024px) */
@media (max-width: 1024px) {
    .nav-container { padding: 0 1.5rem; }
    .hero-title { font-size: 4rem; }
    .section-title { font-size: 3rem; }
    .about-content { gap: 2rem; }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .navbar { height: 75px; }
    
    .mobile-menu { 
        display: flex; 
        z-index: 1001; 
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--brutal-yellow);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: var(--border-main);
        box-shadow: -10px 0px 0px #000;
        z-index: 1000;
        display: flex; /* Override display: none */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li { width: 100%; display: flex; justify-content: center; }

    .nav-links a {
        font-size: 1.5rem;
        width: 80%;
        text-align: center;
        background: #fff;
        border: var(--border-main);
        box-shadow: 4px 4px 0px #000;
    }

    /* Hero Section Mobile */
    .hero { padding-top: 100px; height: auto; min-height: 80vh; text-align: center; }
    .hero-visuals { display: none !important; }
    .hero-content { transform: none !important; padding: 1.5rem; margin: 1rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.3rem; margin-bottom: 2rem; }
    .hero-description { font-size: 1.05rem; padding: 1rem; margin-bottom: 2rem; }

    /* Sections */
    .section-title { font-size: 2.2rem; margin-bottom: 3.5rem; transform: none; }
    .about-content, .contact-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-text { font-size: 1.15rem; padding: 1.5rem; }
    .about-text h3 { font-size: 1.8rem; }

    .stats-container { gap: 1.5rem; padding: 3rem 1rem; }
    .stat-item { min-width: 151px; padding: 1.5rem 1rem; flex: 1 1 40%; }
    .stat-number { font-size: 3rem; }

    .features-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .events-grid { gap: 3rem; }

    .join-container { padding: 3rem 1.5rem; margin: 2rem 1.2rem; }
    .join-title { font-size: 2.2rem; }
    .join-button { font-size: 1.3rem; padding: 1.2rem 2rem; }

    /* Contact Layout Grid - Mobile */
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 3rem 1.5rem !important;
        margin-top: 2rem !important;
    }

    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
}

/* Small Phones (480px) */
@media (max-width: 480px) {
    .nav-links { width: 100%; border-left: none; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.9rem; }
    .logo img { height: 44px; }
    .stat-item { flex: 1 1 100%; }
    .masonry-grid { columns: 1 !important; }
    
    /* Contact Layout Grid - Small Phones */
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 2rem 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .contact-layout-grid h3 {
        font-size: 1.8rem !important;
    }
}

/* Pricing Modal Styles */
.pricing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.pricing-overlay.active {
    display: flex;
}

.pricing-card {
    position: relative;
    width: min(100%, 650px);
    background: #fff;
    border: 6px solid #000;
    box-shadow: 20px 20px 0px #000;
    padding: 2.5rem 2rem;
    text-align: center;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.pricing-card h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
    background: var(--brutal-yellow);
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 4px solid #000;
    box-shadow: 6px 6px 0px #000;
    transform: rotate(-1deg);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #000;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

.pricing-table th, 
.pricing-table td {
    padding: 1rem;
    border: 2px solid #000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.pricing-table th {
    background: var(--brutal-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-table tr:nth-child(even) {
    background: #fafafa;
}

.pricing-table tr:hover {
    background: var(--brutal-lime);
}

.close-pricing {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background: var(--brutal-orange);
    border: 4px solid #000;
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    display: grid;
    place-items: center;
    transition: all 0.1s;
}

.close-pricing:hover {
    transform: translate(-2px, -1.8px);
    box-shadow: 6px 6px 0px #000;
}

.close-pricing:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #000;
}

.discount-badge {
    position: absolute;
    top: -40px;
    left: -40px;
    background: #ff4d4d;
    color: #fff;
    padding: 1.2rem 1rem;
    border: 5px solid #000;
    box-shadow: 10px 10px 0px #000;
    transform: rotate(-12deg);
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: badgeFloat 3s ease-in-out infinite;
}

.discount-badge .value {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    text-shadow: 4px 4px 0px #000;
    display: block;
}

.discount-badge .label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #000;
    padding: 2px 6px;
    margin-top: 5px;
}

@keyframes badgeFloat {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-15px); }
}