/* --- 1. GLOBAL LAYOUT SYSTEM RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    background: #f8fafc;
    color: #0f172a;
    width: 100%;
    overflow-x: hidden;
}

/* --- 2. HEADER & NAVIGATION WRAPPER --- */
.header {
    background: #0f766e;
    color: #fff;
    padding: 15px;
    text-align: center;
    width: 100%;
}

.header nav {
    margin-top: 8px;
}

.header a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

/* --- 3. UNIVERSAL SECTION CONTAINERS (DESKTOP ALIGNMENT FIX) --- */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f766e, #10b981);
    color: #fff;
    width: 100%;
}

/* Constrains inner elements so text structures match mobile formatting */
.hero-content, 
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px;
    background: #fff;
    color: #0f766e;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.section {
    padding: 60px 20px;
    text-align: center;
    width: 100%;
}

.section.gray {
    background: #f1f5f9;
}

/* Max layout boundaries prevent layout items from expanding out of bounds on monitors */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px auto 0 auto;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}

.form {
    max-width: 450px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.form input,
.form textarea,
.form button {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
}

.form button {
    background: #0f766e;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 30px 20px;
    background: #020617;
    color: #cbd5e1;
    margin-top: 60px;
    width: 100%;
}

/* --- 4. AWARDS COMPONENT MODIFIER --- */
.awards-section {
    max-width: 750px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.awards-title {
    text-align: center;
    margin: 0 auto 35px auto;
    font-size: 2.2rem;
    color: #1a1a1a;
}

.awards-slider-container {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
    overflow: hidden;
    padding: 40px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.award-slide {
    display: none;
    width: 100%;
    text-align: center;
}

.award-image-wrapper {
    width: 100%;
    height: 140px; 
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.award-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    margin: 0 auto;
}

.award-text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.award-name {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 6px;
    font-weight: 600;
    width: 100%;
}

.award-issuer {
    font-size: 0.95rem;
    color: #bf9000; 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
    width: 100%;
}

.award-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.award-prev, .award-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.2s ease;
    user-select: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-prev { left: 15px; }
.award-next { right: 15px; }

.award-prev:hover, .award-next:hover {
    background-color: #f5f5f5;
    color: #222;
}

.award-fade {
    animation: awardFadeAnim 0.4s ease-in-out;
}

@keyframes awardFadeAnim {
    from { opacity: 0.3; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}

/* --- 5. CENTER GALLERY LAYOUTS --- */
.center-gallery-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cg-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: #333;
}

.cg-slider-container {
    position: relative;
    width: 100%;
    background-color: #000000;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cg-slide {
    display: none;
    width: 100%;
}

.cg-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.cg-prev, .cg-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 24px;
    transition: background-color 0.2s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-prev { left: 0; border-radius: 0 4px 4px 0; }
.cg-next { right: 0; border-radius: 4px 0 0 4px; }

.cg-prev:hover, .cg-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.cg-fade {
    animation: cgFadeAnim 0.4s ease-in-out;
}

@keyframes cgFadeAnim {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* --- 6. HEALTH ARTICLES PROFILE --- */
.health-articles-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ha-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ha-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2a9d8f;
    font-weight: 600;
    margin-bottom: 8px;
}

.ha-main-title {
    font-size: 2.4rem;
    color: #1d2124;
    font-weight: 700;
    margin: 0;
}

.ha-divider {
    width: 60px;
    height: 4px;
    background-color: #2a9d8f;
    margin-top: 15px;
    border-radius: 2px;
}

.ha-slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.ha-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.ha-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 157, 143, 0.15);
}

.ha-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f4f7f6;
}

.ha-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ha-card:hover .ha-img-wrapper img {
    transform: scale(1.04);
}

.ha-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #2a9d8f;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ha-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ha-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #7d8790;
    margin-bottom: 12px;
}

.ha-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}

.ha-title a {
    color: #1d2124;
    text-decoration: none;
    transition: color 0.2s;
}

.ha-title a:hover { color: #2a9d8f; }

.ha-excerpt {
    font-size: 0.95rem;
    color: #5a6571;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ha-read-more {
    font-size: 0.9rem;
    color: #2a9d8f;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    display: inline-block;
}

.ha-controls {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    justify-content: center;
    width: 100%;
}

.ha-nav-btn {
    background-color: #ffffff;
    border: 1px solid #dce4ec;
    color: #495057;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.ha-nav-btn:hover {
    background-color: #2a9d8f;
    border-color: #2a9d8f;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

/* --- 7. INFRASTRUCTURE BLOCKS (SELF HELP / MENTAL HEALTH / FAQ) --- */
.self-help-section,
.mental-health-know-more-section,
.faq-section {
    width: 100%;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.self-help-container,
.mhkm-container,
.faq-container {
    max-width: 800px;
    width: 100%;
    background-color: #f4f8f7;
    border: 1px solid #e2ecea;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.self-help-title, .mhkm-title, .faq-title {
    font-size: 1.6rem;
    color: #1d2124;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.self-help-text, .mhkm-text, .faq-text {
    font-size: 1rem;
    color: #5a6571;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 600px;
}

.self-help-button, .mhkm-button, .faq-button {
    display: inline-block;
    background-color: #2a9d8f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.2);
    transition: all 0.2s ease-in-out;
}

.self-help-button:hover, .mhkm-button:hover, .faq-button:hover {
    background-color: #1f776c;
    box-shadow: 0 6px 18px rgba(42, 157, 143, 0.35);
    transform: translateY(-2px);
}

/* --- 8. RUNNING MARQUEE RUNNER CORE --- */
.dpm-notice-banner {
    width: 100%;
    background-color: #1a3d5e; 
    color: #ffffff;
    padding: 12px 0; 
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #c5a059;
    overflow: hidden;
}

.dpm-nn-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.dpm-nn-badge {
    border: 1px solid #c5a059; 
    color: #c5a059; 
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 12px;
    border-radius: 2px;
    margin-right: 25px;
    flex-shrink: 0;
    background-color: rgba(197, 160, 89, 0.08); 
    z-index: 10;
}

.dpm-nn-viewport {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 20px, #000 95%, transparent);
}

.dpm-nn-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    align-items: center;
    animation: dpmMarqueeCrawl 30s linear infinite;
}

.dpm-nn-track:hover {
    animation-play-state: paused;
}

.dpm-nn-item {
    font-size: 0.95rem;
    color: #e2e8f0;
    display: inline-block;
    padding-right: 80px; 
}

.dpm-nn-item::after {
    content: " ◆ ";
    color: #c5a059;
    padding-left: 40px;
    font-size: 0.8rem;
    opacity: 0.7;
}

@keyframes dpmMarqueeCrawl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 9. UNIVERSAL MEDIA RESPONSIVENESS SYSTEM --- */
@media (max-width: 992px) {
    .ha-card { flex: 0 0 calc(50% - 15px); }
    .ha-main-title { font-size: 2rem; }
    .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
}

@media (max-width: 680px) {
    .dpm-nn-container { flex-direction: column; gap: 10px; align-items: center; }
    .dpm-nn-badge { margin-right: 0; }
    .dpm-nn-viewport { width: 100%; }
}

@media (max-width: 650px) {
    .ha-card { flex: 0 0 100%; }
}

@media (max-width: 600px) {
    .hero { padding: 40px 15px; }
    .section { padding: 40px 15px; }
}

@media (max-width: 480px) {
    .awards-slider-container { padding: 30px 15px; }
    .award-prev, .award-next { display: none; } 
    .center-gallery-section { padding: 0 10px; }
    .cg-prev, .cg-next { padding: 12px; font-size: 18px; }
    .self-help-container, .mhkm-container, .faq-container { padding: 30px 20px; }
    .self-help-title, .mhkm-title, .faq-title { font-size: 1.35rem; }
    .self-help-button, .mhkm-button, .faq-button { width: 100%; }
}