@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Exo+2:wght@300;400;600&display=swap');

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --bg-color: #0a0a1f;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 20%);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

h1,
h2,
h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-color);
}

nav {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem;
    margin-top: -20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

.hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero_bg.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.3);
    z-index: -1;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg 90deg,
            rgba(255, 255, 255, 0.1) 90deg 180deg,
            transparent 180deg 270deg,
            rgba(255, 255, 255, 0.1) 270deg 360deg);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.card a,
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.card a:hover,
.btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.05);
}

.mission,
.volunteer-section,
.feedback-section {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

#zipCodeForm,
#volunteerForm {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#zipCode,
#volunteerZipCode {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 25px 0 0 25px;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

#submitZip,
#submitVolunteerZip {
    padding: 10px 20px;
    font-size: 16px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submitZip:hover,
#submitVolunteerZip:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

#feedbackForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

#feedbackType,
#feedbackText {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

#feedbackText {
    height: 100px;
    resize: vertical;
}

#submitFeedback {
    padding: 10px 20px;
    font-size: 16px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submitFeedback:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.05);
}

footer {
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}