:root {
    --primary-blue: #4a90e2;
    --dark-blue: #2c5aa0;
    --red-accent: #e74c3c;
    --light-gray: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pop-up Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-overlay.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

/* Pop-up Content */
.popup-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 3px solid var(--red-accent);
    transform: scale(0.8) rotate(-2deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.popup-overlay.show .popup-content {
    transform: scale(1) rotate(0deg);
}

.popup-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 15s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-10px, -10px) rotate(180deg);
    }
}

/* Close button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    color: var(--red-accent);
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

/* Pop-up Typography */
.popup-slogan {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Speed limit icon nel popup */
.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 8px solid var(--red-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    font-family: 'Courier New', Courier, monospace;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Progress bar */
.popup-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red-accent), var(--primary-blue));
    border-radius: 0 0 30px 30px;
    width: 100%;
    transform-origin: left;
    animation: progressBar 8s linear forwards;
}

@keyframes progressBar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--red-accent);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Fallback logo styles */
.logo-fallback {
    display: flex;
    align-items: center;
    gap: 15px;
}

.speed-limit-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 7px solid var(--red-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    font-family: 'Courier New', Courier, monospace
}

.logo-text-fallback {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main content */
main {
    background: white;
    margin-top: 70px;
    border-radius: 0;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="icons" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><g fill="rgba(255,255,255,0.03)"><circle cx="5" cy="5" r="1"/><circle cx="15" cy="15" r="1.5"/><circle cx="25" cy="10" r="1"/></g></pattern></defs><rect width="100" height="100" fill="url(%23icons)"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.icons-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.icon-label {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* votazione banner */
.votazione-banner {
    background: linear-gradient(135deg, var(--red-accent) 0%, #c0392b 50%, #8e2a1f 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.votazione-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.votazione-banner h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.votazione-date {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff200;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.votazione-banner p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Content sections */
.content {
    padding: 60px 0;
}

.section {
    margin-bottom: 120px;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-blue), var(--red-accent));
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark-blue);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
    border-radius: 2px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--red-accent));
    border-radius: 2px;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Grid layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.grid .card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.grid .card:nth-child(1) {
    animation-delay: 0.1s;
}

.grid .card:nth-child(2) {
    animation-delay: 0.2s;
}

.grid .card:nth-child(3) {
    animation-delay: 0.3s;
}

.grid .card:nth-child(4) {
    animation-delay: 0.4s;
}

.grid .card:nth-child(5) {
    animation-delay: 0.5s;
}

.grid .card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
    0 1px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(74, 144, 226, 0.3);
}

.card:hover::before {
    left: 100%;
}

.card h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--red-accent), var(--primary-blue));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.card:hover h3::after {
    width: 80px;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Logo hero section */
.logo-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 0;
    text-align: center;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.logo-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: logoFloat 20s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.logo-hero-image {
    height: 500px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}

.logo-hero-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Footer simplified */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.3;
}

.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 992px) {
    .popup-content {
        padding: 40px 25px;
        margin: 20px;
        border-radius: 20px;
    }

    .popup-slogan {
        font-size: 1.8rem;
    }

    .popup-subtitle {
        font-size: 1rem;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        gap: 30px;
    }

    .nav-links.mobile-open {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 60px 0;
    }

    .icons-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .container {
        padding: 0 15px;
    }

    .content {
        padding: 40px 0;
    }

    .section {
        margin-bottom: 80px;
    }

    .logo-hero {
        padding: 40px 0;
    }

    .logo-hero-image {
        height: 300px;
    }

    .card {
        padding: 30px 20px;
    }

    .votazione-banner {
        padding: 40px 20px;
        clip-path: none;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
        margin: 15px;
    }

    .popup-slogan {
        font-size: 1.5rem;
    }

    .popup-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .icons-row {
        max-width: 200px;
    }

    .votazione-banner {
        padding: 30px 15px;
    }

    .card {
        padding: 25px 15px;
    }

    .logo-hero-image {
        height: 200px;
    }
}

/* Committee section styles */
.committee-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.committee-coordinator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.committee-coordinator:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.committee-avatar {
    margin-bottom: 15px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.committee-coordinator:hover .avatar-circle {
    transform: scale(1.1) rotate(5deg);
}

.committee-coordinator h3 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.committee-role {
    color: var(--red-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.committee-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
}

.committee-member {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.committee-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12),
    0 5px 15px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(74, 144, 226, 0.2);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.2);
    transition: all 0.3s ease;
}

.committee-member:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.member-info {
    flex-grow: 1;
}

.member-info h4 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin: 0;
    font-weight: 600;
}

/* Responsive adjustments for committee section */
@media (max-width: 992px) {
    .committee-members {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .committee-coordinator {
        padding: 25px;
    }

    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .committee-coordinator h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .committee-members {
        grid-template-columns: 1fr;
    }

    .committee-member {
        padding: 15px;
    }

    .member-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .member-info h4 {
        font-size: 1.1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .popup-content {
        animation: none;
    }

    .popup-icon {
        animation: none;
    }

    .popup-progress {
        animation: none;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .popup-overlay {
        display: none !important;
    }

    header {
        position: static;
    }

    main {
        margin-top: 0;
    }

    .hero {
        background: none !important;
        color: black !important;
    }
}
