/* alignAfrica Custom Premium Health, Nutrition & Wellbeing Widget Styles */

:root {
    --ahn-orange: #F58220;
    --ahn-teal: #033C5A;
    --ahn-bg-light: #F7F9FA;
    --ahn-text-dark: #111111;
    --ahn-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ahn-health-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--ahn-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.ahn-section {
    padding: 100px 5%;
    position: relative;
}

/* Common Eyebrow */
.ahn-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ahn-orange);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ahn-orange-txt {
    color: var(--ahn-orange) !important;
}

.ahn-section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ahn-teal);
    margin-bottom: 24px;
    max-width: 800px;
}

.ahn-section-desc {
    font-size: 18px;
    color: #555555;
    max-width: 700px;
    margin-bottom: 50px;
}

/* ================= 1. HERO SECTION ================= */
.ahn-hero-section {
    background-color: var(--ahn-bg-light);
    padding-top: 140px;
}

.ahn-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.ahn-hero-title {
    font-size: 56px;
    font-weight: 850;
    line-height: 1.1;
    color: var(--ahn-teal);
    margin-bottom: 24px;
}

.ahn-hero-subheading {
    font-size: 22px;
    font-weight: 600;
    color: var(--ahn-orange);
    margin-bottom: 30px;
}

.ahn-hero-paragraphs p {
    font-size: 17px;
    color: #444;
    margin-bottom: 20px;
}

/* Audience strip */
.ahn-targets-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.ahn-target-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid rgba(3, 60, 90, 0.1);
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ahn-teal);
    transition: var(--ahn-transition);
}

.ahn-target-tag:hover {
    border-color: var(--ahn-orange);
    transform: translateY(-2px);
}

.ahn-target-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--ahn-orange);
}

/* 3-Photo Editorial Composition */
.ahn-editorial-composition {
    position: relative;
    width: 100%;
    height: 520px;
}

.ahn-editorial-composition img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--ahn-transition);
}

.ahn-editorial-composition img:hover {
    transform: scale(1.05);
}

.ahn-img-frame-main {
    position: absolute;
    width: 65%;
    height: 380px;
    left: 0;
    top: 50px;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 4px solid #ffffff;
}

.ahn-img-frame-secondary {
    position: absolute;
    width: 45%;
    height: 280px;
    right: 0;
    top: 0;
    z-index: 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border: 4px solid var(--ahn-teal);
}

.ahn-img-frame-tertiary {
    position: absolute;
    width: 35%;
    height: 180px;
    right: 10%;
    bottom: 20px;
    z-index: 4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 4px solid var(--ahn-orange);
}

.ahn-floating-circle-orange {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--ahn-orange);
    opacity: 0.15;
    left: -20px;
    bottom: 40px;
    z-index: 1;
}

/* ================= 2. PARTNERSHIP INTRO ================= */
.ahn-intro-section {
    background-color: #ffffff;
}

.ahn-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.ahn-intro-p {
    font-size: 18px;
    color: #444;
    margin-bottom: 24px;
}

.ahn-quote-card {
    background-color: var(--ahn-bg-light);
    border-left: 5px solid var(--ahn-orange);
    padding: 40px;
    border-radius: 4px;
}

.ahn-quote-card.orange-bg {
    background-color: var(--ahn-orange);
    border-left: none;
}

.ahn-visual-statement {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ahn-teal);
    font-style: italic;
    margin: 0;
}

/* ================= 3. PROGRAMMES SECTION ================= */
.ahn-prog-section {
    background-color: var(--ahn-bg-light);
}

.ahn-programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ahn-prog-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--ahn-transition);
    border: 1px solid rgba(0,0,0,0.05);
    min-height: 280px;
}

.ahn-prog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 60, 90, 0.08);
}

.ahn-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ahn-card-number {
    font-size: 14px;
    font-weight: 700;
    color: #999;
}

.ahn-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--ahn-orange);
}

.ahn-card-title {
    font-size: 20px;
    font-weight: 750;
    color: var(--ahn-teal);
    margin-bottom: 12px;
}

.ahn-card-desc {
    font-size: 15px;
    color: #666;
    flex-grow: 1;
    margin-bottom: 20px;
}

.ahn-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ahn-accent-line {
    height: 3px;
    width: 40px;
    background-color: var(--ahn-orange);
    transition: var(--ahn-transition);
}

.ahn-prog-card:hover .ahn-accent-line {
    width: 80px;
}

.ahn-card-arrow {
    font-weight: 700;
    color: var(--ahn-teal);
    transition: var(--ahn-transition);
}

.ahn-prog-card:hover .ahn-card-arrow {
    transform: translateX(5px);
}

/* Cards coloring presets */
.ahn-color-teal {
    background-color: var(--ahn-teal);
}
.ahn-color-teal .ahn-card-title,
.ahn-color-teal .ahn-card-desc,
.ahn-color-teal .ahn-card-arrow {
    color: #ffffff;
}
.ahn-color-teal .ahn-card-icon svg {
    fill: var(--ahn-orange);
}

.ahn-color-orange {
    background-color: var(--ahn-orange);
}
.ahn-color-orange .ahn-card-title,
.ahn-color-orange .ahn-card-desc,
.ahn-color-orange .ahn-card-arrow {
    color: #ffffff;
}
.ahn-color-orange .ahn-card-icon svg {
    fill: var(--ahn-teal);
}
.ahn-color-orange .ahn-accent-line {
    background-color: var(--ahn-teal);
}

/* ================= 4. IMPACT STATISTICS ================= */
.ahn-stats-section {
    background-color: var(--ahn-teal);
    color: #ffffff;
}

.ahn-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.ahn-stat-card {
    border-top: 4px solid var(--ahn-orange);
    padding-top: 25px;
}

.ahn-stat-number-wrapper {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
}

.ahn-stat-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--ahn-orange);
    margin-bottom: 15px;
    min-height: 48px;
}

.ahn-stat-desc {
    font-size: 14px;
    color: #c9d6dc;
}

/* ================= 5. ACCORDION ================= */
.ahn-accordion-container {
    max-width: 1000px;
    margin: 50px auto 0;
}

.ahn-accordion-item {
    border-bottom: 1px solid rgba(3, 60, 90, 0.1);
}

.ahn-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 30px 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.ahn-acc-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--ahn-orange);
    margin-right: 30px;
}

.ahn-acc-title {
    font-size: 22px;
    font-weight: 750;
    color: var(--ahn-teal);
    flex-grow: 1;
    transition: var(--ahn-transition);
}

.ahn-acc-arrow {
    font-size: 20px;
    font-weight: 700;
    color: var(--ahn-teal);
    transition: var(--ahn-transition);
}

.ahn-accordion-item.ahn-active .ahn-acc-arrow {
    transform: rotate(180deg);
}

.ahn-accordion-content {
    padding-bottom: 40px;
}

.ahn-acc-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-left: 50px;
}

.ahn-acc-sub {
    font-size: 16px;
    font-weight: 600;
    color: #555555;
}

.ahn-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ahn-list-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
}

.ahn-list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ahn-orange);
    font-size: 18px;
    line-height: 1;
}

/* ================= 6. ACTION GALLERY SECTION ================= */
.ahn-gallery-section {
    background-color: var(--ahn-bg-light);
}

.ahn-gallery-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: var(--ahn-teal);
    margin-bottom: 50px;
}

.ahn-gallery-collage {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.ahn-gallery-collage img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--ahn-transition);
}

.ahn-gallery-collage img:hover {
    transform: scale(1.03);
}

/* ================= 7. BEYOND THE NUMBERS ================= */
.ahn-beyond-section {
    background-color: #ffffff;
}

.ahn-beyond-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* ================= 8. COMMITMENT ================= */
.ahn-commit-section {
    background-color: var(--ahn-bg-light);
}

.ahn-commit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ahn-commit-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--ahn-orange);
}

.ahn-commit-num {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    display: block;
    margin-bottom: 15px;
}

.ahn-commit-card-title {
    font-size: 18px;
    font-weight: 750;
    color: var(--ahn-teal);
    margin-bottom: 12px;
}

.ahn-commit-card-desc {
    font-size: 14px;
    color: #666;
}

/* ================= 9. PRIORITIES ================= */
.ahn-priorities-section {
    background-color: var(--ahn-teal);
    color: #ffffff;
    text-align: center;
    padding: 60px 5%;
}

.ahn-priorities-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.ahn-priorities-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.ahn-priority-tag {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ahn-priority-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--ahn-orange);
}

/* ================= 10. FINAL CTA ================= */
.ahn-cta-section {
    background-color: var(--ahn-teal);
    color: #ffffff;
    padding: 120px 5%;
}

.ahn-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.ahn-cta-title {
    font-size: 48px;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 25px;
}

.ahn-cta-desc {
    font-size: 20px;
    color: #c9d6dc;
    margin-bottom: 20px;
}

.ahn-cta-text {
    font-size: 16px;
    color: #a3bac6;
    margin-bottom: 40px;
}

.ahn-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ahn-btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--ahn-transition);
}

.ahn-btn-primary {
    background-color: var(--ahn-orange);
    color: #ffffff;
}

.ahn-btn-primary:hover {
    background-color: #e07216;
}

.ahn-btn-secondary {
    background-color: #ffffff;
    color: var(--ahn-teal);
}

.ahn-btn-secondary:hover {
    background-color: var(--ahn-bg-light);
}

.ahn-btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.ahn-btn-outline:hover {
    background-color: #ffffff;
    color: var(--ahn-teal);
}

/* CTA Statements Loop Style */
.ahn-statements-collage {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ahn-statement-strip {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--ahn-orange);
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    transform: translateX(0);
    transition: var(--ahn-transition);
}

.ahn-statement-strip:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* ================= REVEAL ANIMATIONS ================= */
.ahn-reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ahn-reveal.active {
    opacity: 1;
    transform: none !important;
}

.ahn-reveal[data-anim="fade-down"] {
    transform: translateY(-20px);
}

.ahn-reveal[data-anim="fade-up"] {
    transform: translateY(20px);
}

.ahn-reveal[data-anim="slide-right"] {
    transform: translateX(-30px);
}

.ahn-reveal[data-anim="slide-left"] {
    transform: translateX(30px);
}

.ahn-reveal[data-anim="scale-up"] {
    transform: scale(0.95);
}

@media (prefers-reduced-motion: reduce) {
    .ahn-reveal {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ================= RESPONSIVE LAYOUTS ================= */
@media (max-width: 1024px) {
    .ahn-section {
        padding: 80px 5%;
    }
    .ahn-hero-title {
        font-size: 42px;
    }
    .ahn-hero-grid,
    .ahn-intro-grid,
    .ahn-beyond-grid,
    .ahn-cta-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .ahn-hero-right {
        order: -1;
    }
    .ahn-editorial-composition {
        height: 440px;
    }
    .ahn-img-frame-main {
        height: 320px;
    }
    .ahn-img-frame-secondary {
        height: 240px;
    }
    .ahn-img-frame-tertiary {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .ahn-section {
        padding: 60px 4%;
    }
    .ahn-acc-inner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 20px;
    }
    .ahn-gallery-collage {
        grid-template-columns: 1fr;
    }
    .ahn-gallery-collage img {
        height: 260px;
    }
}
