/* Styles for about-us.html */
main {
    margin-top: 72px; /* Adjust for fixed header */
    padding: 40px 20px;
    min-height: calc(100vh - 72px);
    box-sizing: border-box;
}

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-us-container h1 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.about-us-container h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.about-us-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    text-align: left;
}

.about-us-container p strong {
    color: #1a202c;
    font-weight: 600;
}

.section-separator {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 50px 0;
}

.gallantry-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.gallantry-image-item {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.gallantry-image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.team-section {
    margin-top: 50px;
}

.team-section h2 {
    margin-bottom: 40px;
}

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

.team-member {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-member p {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 0;
    text-align: center;
}

.about-highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    flex-basis: calc(33% - 20px); /* Three items per row with gap */
    min-width: 280px;
    background-color: #f7fafc;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight-item h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #718096;
}

.hidden {
    display: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS:
   - Laptop: 1441px and above (MacBook Air 13-inch and larger)
   - Tablet: 441px - 1440px
   - Mobile: 440px and below (Pixel 10 Pro XL and smaller)
   ============================================ */

/* Tablet styles (441px - 1440px) */
@media (max-width: 1440px) and (min-width: 441px) {
    main {
        padding: 35px 20px;
    }

    .about-us-container {
        padding: 40px 30px;
    }

    .about-us-container h1 {
        font-size: 2.5rem;
    }

    .about-us-container h2 {
        font-size: 1.8rem;
    }

    .team-members {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }

    .team-member img {
        width: 180px;
        height: 180px;
    }

    .gallantry-images {
        gap: 20px;
    }

    .gallantry-image-item {
        min-width: 250px;
    }
}

/* Mobile styles (440px and below (Pixel 10 Pro XL and smaller)) */
@media (max-width: 440px) {
    main {
        margin-top: 60px; /* Adjusted for smaller header on mobile */
        padding: 20px 15px;
    }

    .about-us-container {
        padding: 30px 20px;
    }

    .about-us-container h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .about-us-container h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .about-us-container p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }

    .team-member h3 {
        font-size: 1.2rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }

    .gallantry-images {
        flex-direction: column;
        gap: 20px;
    }

    .gallantry-image-item {
        min-width: 100%;
    }

    .section-separator {
        margin: 30px 0;
    }
}
