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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #1D4A7F 0%, #0F3460 50%, #1D4A7F 100%);
    position: relative;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: auto;
    transition: all 0.3s ease;
    opacity: 0.9;
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    outline: none;
    filter: brightness(1.1) contrast(1.1);
    mix-blend-mode: multiply;
}

.logo:hover .logo-img {
    opacity: 1;
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 10px rgba(160, 231, 229, 0.6));
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0 150px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #A0E7E5;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 20px rgba(160, 231, 229, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(160, 231, 229, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    background: linear-gradient(135deg, #A0E7E5 0%, #00D4FF 100%);
    color: #1D4A7F;
    padding: 18px 40px;
    border: 2px solid #A0E7E5;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 0 20px rgba(160, 231, 229, 0.4);
}

.cta-button:hover {
    background: linear-gradient(135deg, #00D4FF 0%, #A0E7E5 100%);
    color: #1D4A7F;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
    border-color: #00D4FF;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) { animation-delay: -2s; }
.floating-element:nth-child(3) { animation-delay: -4s; }

/* Main Content */
.main-content {
    background: white;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

/* Mission Section */
.mission {
    padding: 100px 0;
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1D4A7F;
}

.mission p {
    font-size: 1.2rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Current Projects */
.projects {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A1A2E 0%, #1D4A7F 50%, #0A1A2E 100%);
    position: relative;
}

.projects h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #A0E7E5;
    text-shadow: 0 0 15px rgba(160, 231, 229, 0.3);
}

.project-card {
    background: linear-gradient(135deg, rgba(160, 231, 229, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(29, 74, 127, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(160, 231, 229, 0.3);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    border-color: #A0E7E5;
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #A0E7E5;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(160, 231, 229, 0.3);
}

.project-card p {
    color: rgba(160, 231, 229, 0.8);
    line-height: 1.7;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    color: #A0E7E5;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #A0E7E5;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(160, 231, 229, 0.1);
    box-shadow: 0 0 15px rgba(160, 231, 229, 0.3);
}

.project-link:hover {
    background: linear-gradient(135deg, #A0E7E5 0%, #00D4FF 100%);
    color: #1D4A7F;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.5);
    border-color: #00D4FF;
}

/* Join Section */
.join-section {
    padding: 100px 0;
    text-align: center;
}

.join-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1D4A7F;
}

.join-section p {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    background: linear-gradient(135deg, #1D4A7F 0%, #0F3460 50%, #1D4A7F 100%);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(160, 231, 229, 0.3);
    box-shadow: 0 20px 60px rgba(29, 74, 127, 0.3);
}

.form-container h3 {
    color: #A0E7E5;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(160, 231, 229, 0.3);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #A0E7E5;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #A0E7E5 0%, #00D4FF 100%);
    color: #1D4A7F;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 0 20px rgba(160, 231, 229, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00D4FF 0%, #A0E7E5 100%);
    color: #1D4A7F;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A1A2E 0%, #1D4A7F 50%, #0A1A2E 100%);
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #A0E7E5;
    text-shadow: 0 0 15px rgba(160, 231, 229, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    color: rgba(160, 231, 229, 0.8);
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature h4 {
    color: #1D4A7F;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(160, 231, 229, 0.3);
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* 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); }
}

/* Project Page Specific Styles */
.problem-statement {
    max-width: 1000px;
    margin: 0 auto;
}

.challenge-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.challenge-item {
    background: linear-gradient(135deg, rgba(160, 231, 229, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(29, 74, 127, 0.2);
    transition: all 0.3s ease;
    border-left: 4px solid #A0E7E5;
    backdrop-filter: blur(10px);
}

.challenge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.challenge-item h4 {
    color: #A0E7E5;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(160, 231, 229, 0.3);
}

.challenge-item p {
    color: rgba(160, 231, 229, 0.8);
    line-height: 1.7;
}

.help-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.opportunity-card {
    background: linear-gradient(135deg, rgba(160, 231, 229, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(29, 74, 127, 0.2);
    transition: all 0.3s ease;
    border-top: 4px solid #A0E7E5;
    backdrop-filter: blur(10px);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.opportunity-card h3 {
    color: #A0E7E5;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(160, 231, 229, 0.3);
}

.opportunity-card p {
    color: rgba(160, 231, 229, 0.8);
    line-height: 1.7;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: rgba(72, 187, 120, 0.1);
    color: #38a169;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.form-status.error {
    background: rgba(245, 101, 101, 0.1);
    color: #e53e3e;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 80px 0 120px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .challenge-details {
        grid-template-columns: 1fr;
    }

    .help-opportunities {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .logo-img {
        height: 42px;
        background: transparent !important;
        background-color: transparent !important;
        border: none;
        outline: none;
        filter: brightness(1.1) contrast(1.1);
        mix-blend-mode: multiply;
    }
}
