/* =========================================
   WELLNESS MANDALI STYLES
   ========================================= */

/* --- 1. Hero Section --- */
.hero-centered {
    background-color: var(--deep-blue);
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding-top: 100px;
    padding-bottom: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.hero-centered h1 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 10px;
    font-size: 3rem;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(62, 92, 154, 0.15) 0%, rgba(42, 64, 104, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper-center {
    z-index: 2;
    position: relative;
}

/* --- 2. Tab Navigation --- */
.wm-tabs-wrapper {
    background-color: #fff;
    border-bottom: 0px solid #eee;
    position: sticky;
    top: 60px;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    padding-top: 10px;
}

.wm-tabs {
    display: flex;
    justify-content: center;
    gap: 0px;
    padding: 15px 0;
}

.team-tabs-wrapper {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-tabs {
    display: flex;
    justify-content: center;
    gap: 0px;
    padding: 15px 0;
    width: 100%;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-grey);
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: var(--primary-blue);
    background-color: rgba(62, 92, 154, 0.05);
}

.tab-btn.active {
    background-color: var(--deep-blue);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(42, 64, 104, 0.3);
}

/* --- Tab Content Areas --- */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding-bottom: 60px;
}

.tab-content.active { display: block; }

.tab-content-detail {
    display: none;
    animation: fadeIn 0.5s ease;
    padding-bottom: 20px;
}

.tab-content-detail.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 3. Layout --- */
.wm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* --- 4. Upcoming Session Cards --- */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.event-card-featured {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s;
    text-decoration: none !important;
    color: inherit;
}

.event-card-featured:hover {
    transform: translateY(-5px);
    color: inherit;
}

.event-card-featured:hover h3,
.event-card-featured:hover p {
    text-decoration: none !important;
}

.featured-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background-color: #f4f6f8;
    flex-shrink: 0;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card-featured:hover .featured-img { transform: scale(1.03); }

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
    color: var(--deep-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.zoom-btn:hover { background: #fff; transform: scale(1.1); }

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

.date-badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
    line-height: 1.2;
    transition: color 0.2s;
}

.event-card-featured:hover .event-title { color: var(--primary-blue); }

.event-desc {
    font-family: var(--font-sans);
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.external-link-indicator {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card-featured:hover .external-link-indicator { color: #E1306C; }

/* --- 5. Archive Grid --- */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 30px;
}

.archive-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    position: relative;
}

.archive-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-3px);
    color: inherit;
}

.archive-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #fafafa;
    flex-shrink: 0;
}

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

.archive-zoom-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: var(--deep-blue);
    font-size: 0.9rem;
}

.archive-zoom-btn:hover { background: #fff; }

.archive-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-date {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.archive-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.archive-card:hover .archive-title { color: var(--primary-blue); }

.archive-desc {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

/* Empty State */
.no-events {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 10px;
    width: 100%;
}

.no-events i { font-size: 2rem; margin-bottom: 10px; opacity: 0.5; display: block; }

/* --- 6. YourDOST Feature Tiles --- */
.yd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0 40px;
}

.yd-feature-tile {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 3px solid #3E5C9A;
}

.yd-icon {
    font-size: 2rem;
    color: #3E5C9A;
    margin-bottom: 15px;
}

.yd-feature-tile h4 {
    font-family: 'Playfair Display', serif;
    color: #2A4068;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.yd-feature-tile p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.yd-steps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
}

.yd-steps-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.yd-steps-card h4 {
    font-family: 'Playfair Display', serif;
    color: #2A4068;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.yd-steps-list {
    padding-left: 20px;
    color: #444;
    line-height: 2;
    font-size: 0.95rem;
}

.yd-steps-list a {
    color: #3E5C9A;
    text-decoration: underline;
}

/* --- 7. External Counselling --- */
.helpline-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.helpline-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.telemanas-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.04);
}

.tm-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2A4068;
    margin-bottom: 12px;
}

.tm-badge {
    display: inline-block;
    background-color: #27ae60;
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.numbers-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.phone-number-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2A4068;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.phone-number-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39,174,96,0.15);
    text-decoration: none;
}

.phone-number-btn i {
    color: #27ae60;
    font-size: 1.1rem;
}

.tm-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9rem;
}

.tm-feat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tm-feat-item i {
    color: #3E5C9A;
}

.website-link-btn {
    display: inline-block;
    color: #3E5C9A;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(62, 92, 154, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.website-link-btn:hover {
    color: #2A4068;
    border-bottom-color: #2A4068;
    text-decoration: none;
}

.flow-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-centered h1 { font-size: 2.2rem; }
    .upcoming-grid { grid-template-columns: 1fr; }
    .yd-features-grid { grid-template-columns: 1fr; }
    .yd-steps-wrapper { grid-template-columns: 1fr; }
    .wm-tabs { overflow-x: auto; padding: 15px 20px; justify-content: flex-start; white-space: nowrap; }
    .wm-tabs::-webkit-scrollbar { display: none; }
    .team-tabs { overflow-x: auto; padding: 15px 20px; justify-content: flex-start; white-space: nowrap; }
    .team-tabs::-webkit-scrollbar { display: none; }
}