/* ==========================================================
   home.css: index.html only (load after base.css)
   ========================================================== */

body { line-height: 1.4; }

/* --- Navigation (links currently commented out in HTML) --- */
.nav-links { display: none; gap: 1.5rem; }
.nav-link { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.nav-link:hover { color: var(--primary); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* --- Hero Section --- */
.hero { background-color: var(--dark); color: var(--white); padding: 2.25rem 0; }
.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    align-items: center; 
    text-align: center; 
}
.hero-title { font-size: 2rem; font-weight: 900; line-height: 1.1; margin-bottom: 0.75rem; }
.hero-subtitle { font-size: 1.05rem; color: #d1d5db; margin-bottom: 0; max-width: 550px; margin-left: auto; margin-right: auto; }
.btn-primary { display: inline-block; background: var(--primary); color: var(--white); padding: 0.6rem 1.4rem; border-radius: 9999px; font-weight: 700; font-size: 0.9rem; }
.hero-img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 3px solid #374151; margin: 0 auto; }

@media (min-width: 768px) {
    .hero-grid { 
        grid-template-columns: 1.5fr 1fr; 
        text-align: left; 
        gap: 2rem;
    }
    .hero-content { grid-column: 1; grid-row: 1; }
    .hero-image-wrap { grid-column: 2; grid-row: 1 / span 2; }
    .hero-cta { grid-column: 1; grid-row: 2; margin-top: -0.5rem; }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { margin-left: 0; }
    .hero-img { width: 230px; height: 230px; }
}

/* --- Layout Styles --- */
.section-padding { padding: 2.75rem 0; }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; }

/* --- 1. Gallery --- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; border-radius: 0.5rem; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.55);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 1rem; text-align: center; padding: 1rem; transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { background: rgba(17, 24, 39, 0.75); }

/* --- 2. Impact --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat-item { padding: 1rem; }
.stat-number { font-weight: 900; font-size: 2.5rem; color: var(--primary); display: block; line-height: 1; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-top: 0.5rem; }

/* --- 3. Certifications --- */
.scroll-container { display: flex; overflow-x: auto; gap: 1.25rem; padding: 0.5rem 0.5rem 1.25rem 0.5rem; scrollbar-width: thin; scrollbar-color: var(--primary) #eef2ff; }
.cert-card { flex: 0 0 280px; background: var(--white); padding: 1.25rem; border-radius: 0.6rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; }
.cert-name { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 0.25rem; }
.cert-issuer { font-size: 0.85rem; color: var(--text-muted); }

/* --- Footer --- */
.footer { padding: 1.75rem 0; }
