/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo h1 {
    font-size: 1.8rem;
    color: #00d4ff;
    margin-bottom: 0.2rem;
}

.team-number {
    font-size: 0.9rem;
    color: #aaa;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #00d4ff;
    color: #1a1a2e;
}

/* Hero Section */
.hero {
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('images/hero-background.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
section {
    padding: 4rem 0;
}

.info-section,
.content-section {
    background-color: white;
}

.benefits-section {
    background-color: #f8f9fa;
}

.location-section {
    background-color: white;
}

.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.cta-section h2 {
    color: white;
}

section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #00d4ff;
    color: #1a1a2e;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #00b8e6;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #00d4ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00b8e6;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Team Roles */
.team-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.role-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.role-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Values List */
.values-list {
    list-style: none;
    margin: 2rem 0;
}

.values-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f8f9fa;
    border-left: 4px solid #00d4ff;
    border-radius: 5px;
}

.values-list strong {
    color: #667eea;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cost-info {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.cost-info strong {
    color: #00d4ff;
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #667eea;
    margin: 2rem 0;
}

.info-box p {
    margin: 0.5rem 0;
}

/* Expectations List */
.expectations-list {
    list-style: none;
    margin: 2rem 0;
}

.expectations-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: white;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.skill-item {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.contact-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Join Steps */
.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.step-item h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-item p {
    margin-bottom: 1rem;
}

.step-item .cta-button {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Completed step styling */
.step-item.completed {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    border-width: 3px;
}

.step-item.completed h4 {
    color: #00d4ff;
}

.completed-button {
    background-color: #28a745 !important;
    color: white !important;
}

.completed-button:hover {
    background-color: #218838 !important;
    transform: translateY(-2px) !important;
}

/* Student Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.student-form {
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:required {
    border-left: 4px solid #00d4ff;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
}

.secondary-button {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.secondary-button:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.next-steps {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.next-steps h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

/* Form Mobile Responsiveness */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        margin: 0 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-actions .cta-button,
    .form-actions .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Support List */
.support-list {
    list-style: none;
    margin: 2rem 0;
}

.support-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.support-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sponsorship Tiers */
.sponsorship-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tier-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #667eea;
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card.featured {
    border-top-color: #00d4ff;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tier-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tier-amount {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.tier-card ul {
    list-style: none;
    margin-top: 1rem;
}

.tier-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tier-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.3rem 0;
    }

    .nav-container {
        position: relative;
        padding: 0 15px;
    }

    .nav-logo h1 {
        font-size: 1.3rem;
        margin-bottom: 0.1rem;
    }

    .team-number {
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        gap: 0;
        margin-top: 0.5rem;
        border-radius: 6px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        max-height: 200px;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #00d4ff;
        color: #1a1a2e;
    }

    .hero {
        height: 400px;
        margin-top: 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .benefits-grid,
    .team-roles,
    .skills-grid,
    .sponsorship-tiers {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.25rem 0;
    }

    .nav-container {
        padding: 0 10px;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
        margin-bottom: 0.05rem;
    }

    .team-number {
        font-size: 0.7rem;
    }

    .menu-toggle {
        font-size: 1.3rem;
        padding: 0.3rem;
    }

    .nav-menu {
        left: 10px;
        right: 10px;
        margin-top: 0.3rem;
    }

    .nav-menu.active {
        max-height: 180px;
    }

    .nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .benefit-card,
    .tier-card,
    .role-card {
        padding: 1.5rem;
    }
}
