:root {
    --color-primary: #2E6F54;
    --color-primary-light: #B7E4C7;
    --color-bg: #FAFAF7;
    --color-surface: #F4EDE4;
    --color-muted: #CBD5C0;
    --color-text: #1E1E1E;
    --color-text-muted: #4A4A4A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ✅ FOOTER FIX (IMPORTANT PART) */
html, body {
    height: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ============ HERO SECTION ============ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--color-bg);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
    line-height: 1.2;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 12px 0 10px 0;
}

.secondary-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.secondary-link:hover {
    text-decoration: underline;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    color: var(--color-text-muted);
    display: grid;
    gap: 8px;
}

.hero-points li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: 900;
    margin-right: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1f4d38;
    box-shadow: 0 8px 16px rgba(46, 111, 84, 0.2);
}

.hero-images {
    position: relative;
    height: 450px;
}

.image-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-extra-1 {
    position: absolute;
    top: 50px;
    right: 80px;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-extra-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-extra-2 {
    position: absolute;
    bottom: 60px;
    left: 120px;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-extra-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ FEATURES SECTION ============ */

.features-section {
    padding: 60px 60px;
    background: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin: 0 0 8px 0;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ============ DIVIDER ============ */

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 80px 0;
    box-shadow: 0 2px 8px rgba(46, 111, 84, 0.15);
}

/* ============ MENTAL HEALTH SECTION ============ */

.mental-health-section {
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-content {
    text-align: center;
    margin-bottom: 60px;
}

.section-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.content-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(46, 111, 84, 0.12);
}

.content-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.content-card p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.learn-more-btn {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.learn-more-btn:hover {
    color: #1f4d38;
    font-size: 18px;
}
/* ============ MOOD SECTION ============ */
.btn-link{
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding-left: 0;
    transition : color 0.3s ease;
}
.btn-link:hover {
    color: #1f4d38;
}

/* --- Layout --- */
.mood-section {
    position: relative;
    overflow: hidden;
    padding: 90px 40px;
    text-align: center;
    background: var(--color-bg);
}

.mood-aurora {
    position: absolute;
    inset: -40%;
    background: radial-gradient(ellipse at 30% 50%, rgba(46,111,84,.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 40%, rgba(203,213,192,.12) 0%, transparent 55%);
    animation: auroraShift 14s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes auroraShift {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(4%,-3%) scale(1.06); }
}

.mood-section > * { position: relative; z-index: 1; }

.mood-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.mood-sub {
    margin: 0 0 42px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* --- Orbs --- */
.mood-orbs {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.mood-orb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 170px;
    padding: 36px 24px 28px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    border: 2px solid transparent;
    border-radius: 24px;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.22,1,.36,1),
                border-color .3s,
                box-shadow .35s;
}
.mood-orb:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: var(--color-primary);
    box-shadow: 0 14px 36px rgba(46,111,84,.13);
}
.mood-orb:active { transform: scale(.96); }

.orb-glow {
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.orb-great .orb-glow { background: radial-gradient(circle, rgba(255,200,50,.18), transparent 70%); }
.orb-okay  .orb-glow { background: radial-gradient(circle, rgba(140,160,210,.15), transparent 70%); }
.orb-low   .orb-glow { background: radial-gradient(circle, rgba(160,180,200,.15), transparent 70%); }
.mood-orb:hover .orb-glow { opacity: 1; }

.orb-icon {
    font-size: 2.8rem;
    animation: orbFloat 3.5s ease-in-out infinite;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-5px); }
}

.orb-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}
.orb-hint {
    font-size: .82rem;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
}
.mood-orb:hover .orb-hint {
    opacity: 1;
    transform: translateY(0);
}

/* orb pick animation */
.mood-orb.is-picked {
    animation: orbPick .5s ease forwards;
}
@keyframes orbPick {
    0%   { transform: scale(1);   opacity: 1; }
    40%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(.9);  opacity: 0; }
}
.mood-prompt.is-leaving {
    animation: promptLeave .45s ease forwards;
}
@keyframes promptLeave {
    to { opacity: 0; transform: translateY(-18px); }
}

/* --- Dashboard --- */
.mood-dashboard {
    max-width: 820px;
    margin: 0 auto;
    animation: dashEnter .55s cubic-bezier(.22,1,.36,1) both;
}
@keyframes dashEnter {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(46,111,84,.1);
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 24px;
    text-align: left;
}
.dash-emoji { font-size: 2.6rem; }
.dash-header h3 {
    margin: 0 0 2px;
    font-size: 1.25rem;
    color: var(--color-primary);
}
.dash-saved {
    margin: 0;
    font-size: .85rem;
    color: var(--color-text-muted);
}
.dash-reset {
    margin-left: auto;
    background: none;
    border: 1.5px solid var(--color-muted);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: border-color .25s, color .25s, transform .25s;
}
.dash-reset:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: rotate(180deg);
}

/* --- Dashboard cards --- */
.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.dash-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    transition: transform .25s, box-shadow .25s;
}
.dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.dash-card-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.dash-card h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--color-text);
}
.dash-card p {
    margin: 0 0 14px;
    font-size: .9rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.dash-card-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    transition: background .2s, color .2s;
}
.dash-card-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* --- Breathing ring --- */
.breathe-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    height: 100px;
    margin: 10px auto;
}
.breathe-ring svg { width: 100%; height: 100%; }
.ring-track {
    fill: none;
    stroke: #e8ebe8;
    stroke-width: 6;
}
.ring-progress {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset .3s linear;
}
.breathe-phase {
    position: absolute;
    font-weight: 700;
    font-size: .85rem;
    color: var(--color-primary);
}

/* --- Footer CTA --- */
.dash-footer { text-align: center; }
.dash-book-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    background: var(--color-primary);
    color: #fff;
    transition: background .25s, transform .2s;
}
.dash-book-btn:hover {
    background: #245a44;
    transform: translateY(-2px);
}

.hidden { display: none !important; }

/* ============ ARTICLES SECTION ============ */

.articles-section {
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--color-bg);
}

.articles-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 50px;
    text-align: center;
}

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

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}



.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--color-primary-light);
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-tag {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.article-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    margin-top: 0;
}

.article-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.read-more-btn:hover {
    color: #1f4d38;
    transform: translateX(4px);
}

/* ============ SUPPORT SECTION ============ */

.support-section {
    color: var(--color-text);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
}

.support-section::before {
    display: none;
}

.support-section::after {
    display: none;
}

.support-section > * {
    position: relative;
    z-index: 1;
}

.support-section h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.support-subtitle {
    font-size: 1.1rem;
    margin-bottom: 60px;
    opacity: 0.85;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ===========================
   HOTLINE CARDS
   =========================== */

.hotline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.hotline-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--color-primary-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hotline-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(46, 111, 84, 0.15);
}

.hotline-card h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.hotline-number {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    word-spacing: 2px;
    font-family: 'Courier New', monospace;
    color: var(--color-primary);
}





@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-images {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .mental-health-section,
    .articles-section {
        padding: 60px 20px;
    }

    .section-content h2,
    .articles-section h2,
    .mood-section h2,
    .support-section h2 {
        font-size: 2rem;
    }

    .mood-orbs {
        gap: 20px;
    }
    .mood-orb {
        width: 140px;
        padding: 28px 18px 22px;
    }
    .dash-cards {
        grid-template-columns: 1fr;
    }

    .content-card,
    .hotline-card {
        padding: 25px;
    }

    .image-large {
        width: 200px;
        height: 160px;
    }

    .image-small {
        width: 120px;
        height: 120px;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .article-card h3 {
        font-size: 1.2rem;
    }

    .article-content {
        padding: 20px;
    }

    .support-section {
        padding: 60px 20px;
    }

    .support-section h2 {
        font-size: 2.2rem;
    }

    .support-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .hotline-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .hotline-card {
        padding: 25px;
    }

    .hotline-card h4 {
        font-size: 1rem;
    }

    .hotline-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .mood-orbs {
        flex-direction: column;
        align-items: center;
    }
    .mood-orb {
        width: 100%;
        max-width: 220px;
    }
    .mood-section {
        padding: 60px 20px;
    }

    .section-divider {
        margin: 60px 0;
    }

    .support-section {
        padding: 50px 15px;
    }

    .support-section h2 {
        font-size: 1.8rem;
    }

    .hotline-grid {
        grid-template-columns: 1fr;
    }

    .hotline-card {
        padding: 20px;
    }

    .hotline-number {
        font-size: 1.1rem;
    }
}









