/* ==========================================================================
   css/style.css - Global Stylesheet for Mind Embellish
   ========================================================================== */

.ql-editor {
    min-height: 300px !important;
    cursor: text !important;
}


/* 1. CSS VARIABLES & RESET */
:root {
    --primary-color: #1d4e4f;       /* Deep Teal - Trust and serenity */
    --secondary-color: #4a7c73;     /* Sage Green - Health and balance */
    --accent-color: #e6a15c;        /* Soft Amber/Sand - Highlight actions */
    --background-light: #f7f9f9;    /* Clean Off-white - Reduces eye strain */
    --text-dark: #2c3e50;           /* Dark Charcoal - Easy to read */
    --text-light: #ffffff;          /* Pure White */
    --crisis-red: #d9534f;          /* Alert Red - Urgent focus */
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition-fast: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* 2. PERSISTENT CRISIS BANNER */
.crisis-banner {
    background-color: var(--crisis-red);
    color: var(--text-light);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.crisis-banner i {
    margin-right: 5px;
}

/* 3. MAIN HEADER & NAVIGATION */
.main-header {
    background-color: var(--text-light);
    box-shadow: var(--card-shadow);
    padding: 15px 0;
    position: relative;
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* Screening highlight button in navbar */
.nav-menu a.nav-highlight {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.nav-menu a.nav-highlight:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* 4. LAYOUT / BASE BLOCKS */
.main-content {
    min-height: 70vh;
    padding: 40px 0;
}

/* 5. FOOTER STRUCTURE */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

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

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col h3 {
    font-size: 1.4rem;
}

.footer-col p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.85;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    font-size: 1.3rem;
    margin-right: 15px;
    opacity: 0.85;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.whatsapp-btn-footer {
    display: inline-block;
    background-color: #25d366; /* Official WhatsApp green */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
}

.whatsapp-btn-footer:hover {
    background-color: #128c7e;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (MOBILE FIXES)
   ========================================================================== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-menu ul li {
        width: 90%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px;
    }
}