:root {
    --navy: #0a1a3d;
    --gold: #d4af37;
    --light-gold: #e6c567;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --accent: #1a3a6d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Navigation */
nav {
    background-color: var(--navy);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--white);
    margin-left: 0.5rem;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 26, 61, 0.85), rgba(10, 26, 61, 0.9)), url('bgArrow.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    /* 14 26 59 */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

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

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 150px;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    margin-top: 1rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Header buttons fix - better contrast on hero */
.header-buttons {
    display: inline-block;
}
@media (min-width: 768px) {
    .header-buttons {
        background-color: var(--navy);
        padding: 10px 20px 20px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

/* Sections */
section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold);
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
    color: #666;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.murphy-law {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 5px solid var(--gold);
}

.murphy-law h4 {
    color: var(--navy);
    margin-bottom: 1rem;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.member-image {
    height: 250px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
    overflow: hidden; /* new: clip anything that doesn't fit */
}

.member-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the box, cropping to keep aspect ratio */
    display: block;
}
.member-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--gold);
    font-weight: 500;
}

/* Robot Section */
.robot-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.robot-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.spec-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.spec-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.robot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Portfolio Section */
.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.portfolio-description {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.portfolio-description h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.portfolio-description p {
    margin-bottom: 1.5rem;
}

.portfolio-download {
    text-align: center;
    margin-top: 2rem;
}

/* Outreach Section */
.outreach-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.outreach-story {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.outreach-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold);
}

.outreach-story h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-image {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.event-info {
    padding: 1.5rem;
}

.event-info h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* Sponsors Section */
.sponsor-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tier-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid var(--gold);
}

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

.tier-header {
    background-color: var(--navy);
    color: var(--gold);
    padding: 1.5rem;
}

.tier-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tier-content {
    padding: 2rem 1.5rem;
}

.tier-content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.tier-content ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.tier-content ul li:last-child {
    border-bottom: none;
}

.sponsor-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sponsor-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-card .sponsor-logo {
    width: 150px;
    height: 80px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    border-radius: 5px;
    margin: 0 auto 1rem;
}

.how-to-donate {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    border-left: 5px solid var(--gold);
}

.how-to-donate h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.donation-steps {
    max-width: 800px;
    margin: 0 auto;
}

.donation-steps ol {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.donation-steps li {
    margin-bottom: 1rem;
}

.donation-button {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 2rem 0;
}

.footer-links li {
    margin: 0 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--navy);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
}
.images-for-events {
    width: 100%;
    height: 100%;
}