/* ============================================
   TAARUF ASMARA — Public Homepage
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --home-primary: #0B5D4B;
    --home-primary-dark: #064E3B;
    --home-primary-soft: #ECFDF5;
    --home-cream: #F5F0E8;
    --home-text: #1E293B;
    --home-muted: #64748B;
    --home-border: #E2E8F0;
    --home-white: #ffffff;
    --home-radius: 16px;
    --home-radius-lg: 20px;
}

.home-body {
    font-family: 'Inter', sans-serif;
    color: var(--home-text);
    background: var(--home-white);
    -webkit-font-smoothing: antialiased;
}

.home-body h1,
.home-body h2,
.home-body h3,
.home-body .home-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ======= NAVBAR ======= */
.home-nav {
    background: var(--home-white);
    border-bottom: 1px solid var(--home-border);
    padding: 0.85rem 0;
}

.home-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--home-primary);
    text-decoration: none;
}

.home-logo-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-primary);
    font-size: 1.5rem;
}

.home-nav .nav-link {
    color: var(--home-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.home-nav .nav-link:hover,
.home-nav .nav-link.active {
    color: var(--home-primary);
}

.home-btn-login {
    background: var(--home-primary);
    color: var(--home-white) !important;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.35rem !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-btn-login:hover {
    background: var(--home-primary-dark);
    color: var(--home-white);
    transform: translateY(-1px);
}

/* ======= BUTTONS ======= */
.home-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--home-primary);
    color: var(--home-white);
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(11, 93, 75, 0.25);
}

.home-btn-primary:hover {
    background: var(--home-primary-dark);
    color: var(--home-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 93, 75, 0.3);
}

.home-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--home-white);
    color: var(--home-text);
    border: 1.5px solid var(--home-border);
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.home-btn-outline:hover {
    border-color: var(--home-primary);
    color: var(--home-primary);
}

/* ======= HERO ======= */
.home-hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #FAFAF8 0%, var(--home-white) 100%);
}

.home-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--home-text);
    margin-bottom: 1.25rem;
}

.home-hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--home-muted);
    max-width: 520px;
    margin-bottom: 2rem;
}

.home-hero-visual {
    position: relative;
    border-radius: var(--home-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 93, 75, 0.08);
}

.home-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.home-hero-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ======= SECTION COMMON ======= */
.home-section {
    padding: 5rem 0;
}

.home-section-alt {
    background: #FAFAF8;
}

.home-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--home-text);
}

.home-section-desc {
    text-align: center;
    color: var(--home-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* ======= STEPS ======= */
.home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.home-step-card {
    background: var(--home-white);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-step-card:hover {
    box-shadow: 0 12px 32px rgba(11, 93, 75, 0.08);
    transform: translateY(-4px);
}

.home-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--home-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--home-primary);
}

.home-step-number {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--home-primary);
    margin-bottom: 0.35rem;
}

.home-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--home-text);
}

.home-step-text {
    font-size: 0.875rem;
    color: var(--home-muted);
    line-height: 1.6;
    margin: 0;
}

.home-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    font-size: 1.25rem;
    padding-top: 3rem;
}

.home-steps-row {
    display: contents;
}

/* ======= SAFETY (GREEN SECTION) ======= */
.home-safety {
    background: var(--home-primary);
    padding: 5rem 0;
    color: var(--home-white);
}

.home-safety .home-section-title {
    color: var(--home-white);
}

.home-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.home-safety-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--home-radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background 0.2s ease;
}

.home-safety-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.home-safety-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.home-safety-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.home-safety-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

/* ======= TESTIMONIAL ======= */
.home-testimonial {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.home-testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--home-text);
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.home-testimonial-quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--home-primary);
    opacity: 0.25;
    line-height: 0;
    display: block;
    margin-bottom: 0.5rem;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.home-testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--home-primary-soft);
    color: var(--home-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.home-testimonial-name {
    font-weight: 700;
    font-size: 0.9375rem;
    margin: 0;
    text-align: left;
}

.home-testimonial-meta {
    font-size: 0.8125rem;
    color: var(--home-muted);
    margin: 0;
    text-align: left;
}

/* ======= FOOTER ======= */
.home-footer {
    background: var(--home-white);
    border-top: 1px solid var(--home-border);
    padding: 3.5rem 0 1.5rem;
}

.home-footer-brand p {
    font-size: 0.875rem;
    color: var(--home-muted);
    line-height: 1.7;
    max-width: 280px;
    margin: 1rem 0 0;
}

.home-footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 1rem;
}

.home-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-footer-links li {
    margin-bottom: 0.5rem;
}

.home-footer-links a {
    color: var(--home-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.home-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.home-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--home-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--home-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-social a:hover {
    background: var(--home-primary);
    border-color: var(--home-primary);
    color: var(--home-white);
}

.home-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--home-border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--home-muted);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 991.98px) {
    .home-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .home-step-arrow {
        display: none;
    }

    .home-safety-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 2.5rem 0 3.5rem;
    }

    .home-hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .home-section {
        padding: 3.5rem 0;
    }

    .home-safety {
        padding: 3.5rem 0;
    }

    .home-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .home-footer .col-md-4,
    .home-footer .col-md-2 {
        margin-bottom: 2rem;
    }
}

@media (min-width: 992px) {
    .home-steps-desktop {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        gap: 0.5rem;
        align-items: start;
    }

    .home-steps-desktop .home-step-card {
        min-height: 220px;
    }

    .home-steps-mobile {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .home-steps-desktop {
        display: none;
    }
}
