/* --- 1. HERO SECTION --- */
.hero-section {
    grid-column: 1 / -1;
    /* Ensure the path to your image is correct relative to the CSS file */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./images/teamLogo.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid #94d8ff;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin: 0;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: #94d8ff;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 20px;
}

.hero-content p {
    color: #ddd;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: #742d38;
    color: white;
    border: 2px solid #742d38;
}

.btn-secondary {
    background-color: transparent;
    color: #94d8ff;
    border: 2px solid #94d8ff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background-color: #8a3542;
}

.btn-secondary:hover {
    background-color: #94d8ff;
    color: black;
}

/* --- 2. GRID LAYOUT --- */
.maincontainer {
    display: grid;
    /* Default for desktop: Auto-fit columns */
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    padding: 0 20px 40px 20px; 
    max-width: 1400px;
    margin: 0 auto;
}

/* --- 3. INFO CARDS (The Three Boxes) --- */
.info-card {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    
    background: linear-gradient(145deg, #383838, #2b2b2b);
    padding: 30px; 
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-top: 5px solid #742d38; 
    text-align: center; 
    height: 100%; 
    box-sizing: border-box; 
    transition: transform 0.3s ease;
}

.info-card h3 {
    order: -1; 
    color: #94d8ff; 
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3); 
    padding-bottom: 10px;
}

.info-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.info-card p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.info-card:hover {
    transform: translateY(-7px);
    border-top-color: #94d8ff;
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .maincontainer {
        /* CRITICAL CHANGE: Force 1 column on mobile to make boxes stack */
        grid-template-columns: 1fr; 
        padding: 0 15px 40px 15px;
    }
}