/* ================================
   BLOOM - MAIN STYLESHEET
   ================================

   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Global Styles & Typography
   3. Utility Classes
   4. Header & Navigation
   5. Hero Section
   6. Ticker
   7. Sections & Layout
   8. Process Components
   9. Cards & Grids
   10. Support & Methods
   11. Team
   12. Modals & Forms
   13. Footer
   14. Case Pages
   15. Mobile Responsive Styles
   ================================ */


/* ================================
   1. CSS VARIABLES & RESET
   ================================ */

:root {
    --primary-color: #007474;
    --secondary-color: #008283;
    --accent-color: #FCB760;
    --text-color: #ffffff;
    --text-muted: #e0f2f2;
    --dark-overlay: rgba(0, 30, 30, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 1300px;
    margin: 0 auto;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--primary-color);
    background-image:
        radial-gradient(circle at 10% 20%, var(--secondary-color) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, var(--secondary-color) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    background-size: cover;
}


/* ================================
   2. GLOBAL STYLES & TYPOGRAPHY
   ================================ */

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
}

p span {
    color: var(--accent-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}


/* ================================
   3. UTILITY CLASSES
   ================================ */

/* Font Utilities */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-barlow {
    font-family: 'Barlow', sans-serif;
}

/* Color Utilities */
.bloom-primary-bg {
    background-color: var(--primary-color);
}

.bloom-primary-text {
    color: var(--primary-color);
}

.bloom-accent-bg {
    background-color: var(--accent-color);
}

.bloom-accent-text {
    color: var(--accent-color);
}

/* Animation Utilities */
.animate-fadeIn {
    animation: fadeIn 0.3s ease-in-out;
}

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


/* ================================
   4. HEADER & NAVIGATION
   ================================ */

header {
    padding: 20px 5%;
    position: fixed;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 100;
    background: rgba(0, 116, 116, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    filter: invert(1);
}

/* Main Navigation */
nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Partner Button */
.partner-btn {
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: transparent;
}

.partner-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Breadcrumb Navigation (Partner & Tools Pages) */
.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    white-space: nowrap;
}

.breadcrumb-portal,
.breadcrumb-portal-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.breadcrumb-portal-link {
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-portal-link:hover {
    opacity: 0.8;
}

.breadcrumb-tool {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
}

/* User Section */
.header-user-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.user-name {
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 116, 116, 0.98);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}


/* ================================
   5. HERO SECTION
   ================================ */

.hero {
    padding: 180px 5% 100px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.pre-title {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    max-width: 900px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #003333;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
    width: fit-content;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* ================================
   6. TICKER
   ================================ */

.ticker-wrapper {
    width: 100vw;
    margin-top: 80px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.ticker-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.ticker-card {
    background: rgba(0, 80, 80, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.ticker-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 90, 90, 0.8);
}

.ticker-icon {
    background: rgba(252, 183, 96, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ticker-content h5 {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 2px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.ticker-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

.mini-chart {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 15px;
    width: 20px;
    margin-left: auto;
    opacity: 0.5;
}

.mini-chart-bar {
    width: 4px;
    background: white;
    border-radius: 1px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px));
    }
}


/* ================================
   7. SECTIONS & LAYOUT
   ================================ */

section {
    padding: 100px 5%;
}

.bg-alternate {
    background-color: rgba(0, 130, 131, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 5%);
    padding-right: calc(50vw - 50% + 5%);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 60px;
    color: var(--text-muted);
}


/* ================================
   8. PROCESS COMPONENTS
   ================================ */

.process-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.process-line-bg {
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.process-line-fill {
    position: absolute;
    top: 40px;
    left: 50px;
    right: 100%;
    height: 4px;
    background: var(--accent-color);
    z-index: 2;
    transition: right 4s linear;
}

.process-step {
    position: relative;
    z-index: 3;
    width: 18%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step.active .step-icon-wrapper {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(252, 183, 96, 0.3);
    transform: scale(1.1);
}

.step-icon {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.process-step.active .step-icon {
    color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    min-height: 2.4em;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* ================================
   9. CARDS & GRIDS
   ================================ */

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

.card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Case Cards */
.case-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: 700;
}

.case-card-list {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-card-footer {
    margin-top: auto;
    padding-top: 18px;
}


/* ================================
   10. SUPPORT & METHODS
   ================================ */

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.method-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.method-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.method-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.method-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.method-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Tech Panel */
.tech-panel {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 50, 50, 0.6));
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.tech-panel::before {
    content: 'BLOOM PLATFORM';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 700;
}

.tech-panel h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-feature-box {
    background: rgba(0, 116, 116, 0.3);
    border: 1px solid rgba(252, 183, 96, 0.3);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.tech-feature-box i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.tech-feature-box span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
}


/* ================================
   11. TEAM
   ================================ */

.team-member {
    text-align: center;
}

.avatar-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    border: 3px solid var(--accent-color);
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
}


/* ================================
   12. MODALS & FORMS
   ================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-active {
    display: flex;
}

.modal-content {
    background: var(--primary-color);
    border: 1px solid var(--secondary-color);
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: 'Barlow', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.login-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: #003333;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}

.login-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    text-align: center;
}


/* ================================
   13. FOOTER
   ================================ */

footer {
    background-color: #001a1a;
    padding: 60px 5%;
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-icon:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}


/* ================================
   14. CASE PAGES
   ================================ */

/* Case Container & Layout */
.case-container {
    max-width: 1100px;
    margin: 120px auto 40px;
    padding: 0 5%;
}

.case-container .card {
    background: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Case Typography */
.case-container .card h1 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.case-container .card h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    border-bottom: none;
}

.case-container .card h2::after {
    display: none;
}

.case-container .card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.case-container .card p {
    margin-bottom: 0;
    max-width: 800px;
}

.case-container .card ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

.case-container .card li {
    margin-bottom: 8px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Graph Components */
.graph-container {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.graph-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.graph-legend {
    font-size: 0.9rem;
    color: var(--text-muted);
}

canvas {
    max-width: 100%;
    max-height: 400px;
}

/* Data Grids */
.factors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.factor-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.factor-box h4 {
    margin: 0 0 10px 0;
    color: #fff;
}

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

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chart & Bar Components */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    position: relative;
    margin-bottom: 15px;
}

.chart-container .metric-bar {
    width: 100%;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
    height: 100%;
    justify-content: flex-end;
}

.metric-bar.base {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s ease-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.metric-bar.target {
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(252, 183, 96, 0.3);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s ease-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.bar-label {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
}

.bar-value {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    text-shadow: none;
}

.metric-bar.base .bar-value {
    color: #fff;
}

.metric-bar.target .bar-value {
    color: #003333;
}

/* Legend */
.legend {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    justify-content: center;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.base {
    background: rgba(255, 255, 255, 0.2);
}

.dot.target {
    background: var(--accent-color);
}

/* Results */
.results-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.result-item h4 {
    margin: 0 0 8px 0;
    font-family: "Poppins", sans-serif;
    color: var(--accent-color);
}

.result-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.btn-container {
    margin-top: 40px;
    text-align: center;
}


/* ================================
   15. MOBILE RESPONSIVE STYLES
   ================================ */

@media (max-width: 768px) {

    /* Header */
    header {
        padding: 15px 4%;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
    }

    .partner-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .logo img {
        height: 32px;
    }

    /* Hero */
    .hero {
        padding: 120px 5% 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .pre-title {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Ticker */
    .ticker-wrapper {
        margin-top: 40px;
        margin-left: calc(-50vw + 50%);
    }

    .ticker-card {
        min-width: 280px;
        padding: 15px 18px;
    }

    .ticker-content h5 {
        font-size: 0.85rem;
    }

    .ticker-content p {
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .bg-alternate {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Grid container */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    /* Process section - vertical on mobile */
    .process-container {
        flex-direction: column;
        gap: 30px;
        padding-top: 0;
    }

    .process-line-bg,
    .process-line-fill {
        display: none;
    }

    .process-step {
        width: 100%;
        opacity: 1;
        transform: none;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .step-icon-wrapper {
        margin: 0;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .step-icon {
        font-size: 1.5rem;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .step-content {
        flex: 1;
    }

    .step-content h4 {
        min-height: auto;
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    /* Support grid */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .method-item {
        padding: 15px;
        gap: 15px;
    }

    .method-content h4 {
        font-size: 1.05rem;
    }

    .method-content p {
        font-size: 0.9rem;
    }

    /* Tech panel */
    .tech-panel {
        padding: 25px;
    }

    .tech-panel::before {
        font-size: 0.6rem;
        top: 15px;
        right: 15px;
    }

    .tech-panel h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .tech-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tech-feature-box {
        padding: 12px;
    }

    .tech-feature-box i {
        font-size: 1.5rem;
    }

    .tech-feature-box span {
        font-size: 0.8rem;
    }

    /* Case cards */
    .case-tag {
        font-size: 0.7rem;
    }

    /* Team */
    .team-member {
        margin-bottom: 20px;
    }

    .avatar-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    /* Footer */
    footer {
        padding: 40px 5%;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .footer-icon {
        width: 45px;
        height: 45px;
    }

    /* Case Pages */
    .factors-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 180px;
    }

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

    .results-list {
        grid-template-columns: 1fr;
    }

    .case-container {
        margin-top: 80px;
        padding: 0 4%;
    }

    .case-container .card {
        padding: 20px;
    }

    .case-container .card h1 {
        font-size: 1.5rem;
    }

    .case-container .card h2 {
        font-size: 1.2rem;
        margin-top: 30px;
    }

    /* Modal */
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}
