/* ============================================
   OurCare Dashboard - Home Page Specific Styles
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-top: var(--nav-height);
    padding-bottom: 60px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%), 
                      url("../img/OurCare Hero.e4751661773c.jpg");
    background-size: 100% 50%;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    gap: 60px;
    padding-top: 164px;
    align-items: stretch;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 588px;
    flex-shrink: 0;
}

/* Hero Content Box (Blue) */
.hero-content-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 35px;
    gap: 16px;
    width: 100%;
    background: var(--primary-blue);
    flex: 1;
}

.hero-eyebrow {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 102%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--text-light);
}

.hero-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: auto;
}

/* ============================================
   EXPLORE DATA PANEL
   ============================================ */
.explore-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
    width: 583px;
    background: var(--bg-light-purple);
    flex-shrink: 0;
}

.explore-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: var(--text-dark);
}

/* Standard Cards */
.standard-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    width: 100%;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.standard-card:hover {
    box-shadow: 0 4px 20px rgba(77, 93, 217, 0.15);
}

.standard-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.standard-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    color: var(--text-dark);
}

.standard-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: var(--text-dark);
}

.standard-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-dark);
}

.standard-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.standard-link:hover {
    gap: 8px;
}

.standard-link svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   KEY FINDINGS SECTION (HOME PAGE)
   ============================================ */
.key-findings {
    padding: 0;
    max-width: 1440px;
    margin: 0;
}

.key-findings-in-hero {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.key-findings-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.findings-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Finding Card */
.finding-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 8px;
    background: var(--accent-green);
    width: 100%;
}

.finding-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.finding-stat {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: var(--text-dark);
}

.finding-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: var(--text-dark);
}

/* Large Finding Card */
.finding-card-large {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    background: var(--accent-green);
    width: 100%;
}

.finding-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.finding-link:hover {
    gap: 8px;
}

.finding-link svg {
    width: 13px;
    height: 13px;
}

/* Small Finding Cards Row */
.findings-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.finding-card-small {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    background: var(--accent-green);
    flex: 1;
    min-width: 0;
}

.finding-text-small {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-dark);
}

/* ============================================
   LEARN MORE SECTION
   ============================================ */
.learn-more {
    display: flex;
    width: 100%;
}

.learn-more-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 100px;
    gap: 24px;
}

.learn-more-box-left {
    background: var(--accent-cyan);
    flex: 47%;
}

.learn-more-box-right {
    background: var(--primary-blue);
    flex: 53%;
}

.learn-more-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    max-width: 515px;
}

.learn-more-box-right .learn-more-content {
    max-width: 528px;
}

.learn-more-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--text-dark);
}

.learn-more-box-right .learn-more-title {
    color: var(--text-light);
}

.learn-more-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-dark);
}

.learn-more-box-right .learn-more-text {
    color: var(--text-light);
}

.learn-more-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 4px;
    background: var(--text-dark);
    border-radius: 39px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.learn-more-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

.learn-more-btn svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   HOME PAGE FOOTER (Different from data pages)
   ============================================ */
.footer {
    background: var(--text-dark);
    padding: 39px 106px;
}

.footer-container {
    max-width: 1285px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
}

/* Desktop: Footer links vertical, logos horizontal */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.footer-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    flex: 1 1 auto;
}

/* Ensure desktop styles override mobile */
@media (min-width: 769px) {
    .footer-content {
        gap: 40px;
    }
    
    .footer-links {
        flex-shrink: 0;
        width: auto;
    }
    
    .footer-logos {
        flex-direction: row !important;
        flex: 1 1 auto;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
    }
}

/* ============================================
   MOBILE MENU (HOME PAGE SPECIFIC)
   ============================================ */
.mobile-menu-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: var(--text-dark);
    margin: 0;
}

/* Mobile Menu Standards List */
.mobile-menu-standards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
}

/* Mobile Menu Standard Item */
.mobile-menu-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
}

/* Standard Number Circle */
.mobile-menu-number {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 4px;
    gap: 10px;
    width: 22px;
    height: 26px;
    flex-shrink: 0;
}

.mobile-menu-number span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: var(--text-dark);
}

/* Standard Content (Title + Arrow) */
.mobile-menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 4px;
    gap: 12px;
    flex: 1;
}

.mobile-menu-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 4px;
    width: 100%;
    cursor: pointer;
}

.mobile-menu-item-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.mobile-menu-item-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mobile-menu-item.expanded .mobile-menu-item-arrow {
    transform: rotate(90deg);
}

/* Submenu Accordion */
.mobile-menu-submenu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 12px;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.mobile-menu-item.expanded .mobile-menu-submenu {
    display: flex;
}

/* Submenu Section */
.mobile-submenu-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 100%;
}

.mobile-submenu-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0 8px;
    gap: 15px;
    width: 100%;
    cursor: pointer;
}

.mobile-submenu-header::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-submenu-section.expanded .mobile-submenu-header::after {
    transform: rotate(45deg);
}

.mobile-submenu-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: var(--text-dark);
    flex: 1;
}

/* Submenu Questions List */
.mobile-submenu-questions {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 12px;
    gap: 16px;
    width: 100%;
}

.mobile-submenu-section.expanded .mobile-submenu-questions {
    display: flex;
}

.mobile-submenu-question {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 110%;
    color: var(--text-dark);
    text-decoration: none;
    width: 100%;
}

.mobile-submenu-question:hover,
.mobile-submenu-question.active {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Nested Questions (Level 3) */
.mobile-submenu-nested {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 16px;
    gap: 17px;
    width: 100%;
    margin-top: 8px;
}

.mobile-submenu-nested-question {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 102%;
    color: var(--text-dark);
    text-decoration: none;
}

.mobile-submenu-nested-question:hover {
    color: var(--primary-blue);
}

/* View All Link */
.mobile-menu-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 102%;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 8px 0;
    margin-top: 8px;
}

.mobile-menu-view-all:hover {
    text-decoration: underline;
}

.mobile-menu-view-all svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   HOME PAGE RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1400px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 100px 30px;
    }
    
    .hero-left-column {
        width: 100%;
        max-width: 700px;
    }
    
    .hero-content-box,
    .explore-panel {
        width: 100%;
        max-width: 700px;
    }
    
    .key-findings {
        padding: 40px 30px;
    }
    
    .finding-card-large,
    .findings-row {
        width: 100%;
        max-width: 700px;
    }
    
    .findings-row {
        flex-wrap: wrap;
    }
    
    .finding-card-small {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 1024px) {
    .learn-more {
        flex-direction: column;
    }
    
    .learn-more-box {
        flex: 1;
        width: 100%;
        padding: 50px 30px;
    }
    
    .learn-more-content {
        max-width: 100%;
    }
    
    .learn-more-box-right .learn-more-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer {
        padding: 30px;
    }
    
    .footer-logos {
        justify-content: center;
        gap: 24px;
    }
    
    .footer-logo {
        height: 35px;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Mobile Hero Section */
    .hero {
        padding-top: var(--nav-height-mobile);
        padding-bottom: 0;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        padding: 110px 20px 0 20px;
        gap: 0;
        align-items: center;
    }
    
    .hero-left-column {
        width: 100%;
        max-width: 350px;
        gap: 0;
        display: contents;
    }
    
    /* Reorder sections on mobile */
    .hero-content-box {
        order: 1;
    }
    
    .explore-panel {
        order: 2;
    }
    
    .key-findings-in-hero {
        order: 3;
    }
    
    /* Mobile Blue Content Box */
    .hero-content-box {
        padding: 24px;
        gap: 19px;
        width: 100%;
        max-width: 350px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 11px;
        width: 100%;
        margin-top: 16px;
    }
    
    .hero-buttons .btn-primary {
        width: 100%;
        height: 36px;
    }
    
    /* Mobile Explore Data Panel */
    .explore-panel {
        width: 100%;
        max-width: 100%;
        padding: 28px;
        gap: 20px;
        margin-top: 23px;
    }
    
    .explore-title {
        font-size: 24px;
    }
    
    /* Mobile Standard Cards */
    .standard-card {
        padding: 28px;
        gap: 14px;
        width: 100%;
    }
    
    .standard-name {
        font-size: 18px;
        line-height: 140%;
    }
    
    .standard-description {
        display: none;
    }
    
    /* Mobile Key Findings */
    .key-findings-in-hero {
        width: 100%;
        max-width: 100%;
        padding: 24px;
        margin-top: 0;
        background: var(--bg-white);
        box-sizing: border-box;
    }
    
    .key-findings-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .findings-container {
        gap: 10px;
    }
    
    /* Mobile Finding Cards */
    .finding-card {
        padding: 16px 18px;
        gap: 8px;
    }
    
    .finding-card-large {
        padding: 24px;
        gap: 14px;
        flex-direction: column;
    }
    
    .finding-stat {
        font-size: 40px;
    }
    
    .finding-text {
        font-size: 14px;
        max-width: 100%;
    }
    
    .findings-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .finding-card-small {
        padding: 24px;
        gap: 14px;
        width: 100%;
    }
    
    /* Mobile Learn More */
    .learn-more {
        flex-direction: column;
    }
    
    .learn-more-box {
        padding: 24px;
        gap: 19px;
        width: 100%;
    }
    
    .learn-more-box-left {
        min-height: 388px;
    }
    
    .learn-more-box-right {
        min-height: 355px;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 37px 26px;
        min-height: 725px;
    }
    
    .footer-container {
        gap: 37px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
    
    .footer-links {
        gap: 16px;
    }
    
    .footer-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 37px;
    }
    
    .footer-logo {
        height: 38px;
        max-width: 244px;
    }
    
    /* Hide desktop elements */
    .explore-dropdown-wrapper {
        display: none;
    }
    
    .explore-standards-menu {
        display: none !important;
    }
    
    .explore-dropdown-overlay {
        display: none !important;
    }
    
    /* Modal adjustments */
    .explore-modal {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        padding: 24px;
        gap: 24px;
    }
    
    .explore-modal-title {
        font-size: 24px;
    }
    
    .explore-modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .explore-modal-item-title {
        font-size: 16px;
    }
    
    .explore-modal-item-desc {
        font-size: 14px;
    }
}

