/* === ABOUT US SECTION === */
.about-section {
    text-align: center;
    padding: 60px 20px 80px; /* extra bottom padding to prevent footer overlap */
    background-color: #f8faff;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #004c99;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.about-section .tagline {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

/* === GRID LAYOUT FOR VISION-MISSION-WHY LIS === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* more space to avoid overlap */
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto; /* allow card height to adjust naturally */
    box-sizing: border-box;
}

.info-card:hover {
    background-color: #e6f2ff;
    transform: translateY(-4px); /* slightly smaller hover lift */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.info-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.6rem;
    color: #004c99;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.info-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.info-card ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    list-style-type: none;
}

.info-card li {
    margin-bottom: 8px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.info-card .custom-bullet {
    color: #004c99;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Tabs for Why Choose Lumora */
.tabs {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 15px;
    background: #e6f2ff;
    border: none;
    border-radius: 8px;
    margin: 0 5px 10px;
    cursor: pointer;
    font-weight: 600;
    color: #004c99;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.tab-button:hover {
    background: #cce5ff;
}

.tab-button.active {
    background: #004c99;
    color: white;
}

.tab-content {
    display: none;
    text-align: left;
}

.tab-content.active {
    display: block;
}

.conclusion-note {
    font-style: italic;
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f7ff;
    border-radius: 8px;
    text-align: center;
}

/* === RESPONSIVENESS === */
@media (max-width: 900px) {
    .about-section {
        padding: 40px 15px 70px;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-section .tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .info-card img {
        height: 180px;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 80%;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px; /* slightly smaller gap for single column */
    }

    .info-card {
        padding: 15px;
        transform: none !important; /* disable hover lift effect on very small screens */
    }

    .tab-button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}
