/* =====================================================
   DESIGN TOKENS (SYSTEM-WIDE)
===================================================== */
:root {
    --primary: #0b5ed7;
    --primary-dark: #084298;
    --secondary: #6c757d;

    --text-dark: #212529;
    --text-muted: #6c757d;

    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    --border: #dee2e6;
    --radius: 8px;
}

/* =====================================================
   GLOBAL CONTAINERS & RESET
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    margin: 0;
}

/* =====================================================
   SECTION HEADERS
===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================================================
   HERO BANNER
===================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url("https://mayweyni.com/static/images/mayweyni_clinic.png") no-repeat center center;
}

/* =====================================================
   INTRODUCTION SECTION
===================================================== */
.introduction {
    padding: 4rem 1rem;
    text-align: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-top: -4rem;
    /* overlaps hero slightly */
}

.introduction .section-header h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.introduction .section-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.introduction .hero-actions a {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-block;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background-color: #0a4db7;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* =====================================================
   SYSTEM OVERVIEW
===================================================== */
.overview-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.overview-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s forwards;
}

/* =====================================================
   ABOUT SECTION
===================================================== */
.about-content {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 2fr 1fr;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.about-highlights ul {
    list-style: none;
    padding: 0;
}

.about-highlights li {
    background: var(--bg-light);
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary);
}

/* =====================================================
   SERVICES
===================================================== */
.service-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

/* =====================================================
   PRINCIPLES & FEATURES
===================================================== */
.principle-grid,
.feature-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.principle-card,
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 1s forwards;
}

.principle-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
}


/* =====================================================
   ROLES
===================================================== */
.role-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    list-style: none;
    padding: 0;
}

.role-list li {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

/* =====================================================
   SECURITY
===================================================== */
.security-content p {
    max-width: 760px;
    margin: 0.75rem auto;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =====================================================
   CONTACT
===================================================== */
.contact-details {
    text-align: center;
    font-style: normal;
    color: var(--text-muted);
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* =====================================================
   CTA
===================================================== */
.cta {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.cta h3 {
    margin-bottom: 0.75rem;
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .introduction .section-header h3 {
        font-size: 2rem;
    }

    .introduction .section-intro {
        font-size: 1rem;
    }
}