/**
 * Solar Solutions Showcase - DAT Solar Exact Layout & High-End Visual Aesthetics
 * Theme: Future Energy
 */

/* -------------------------------------------------------------
 * 1. SECTION & WRAPPER
 * ------------------------------------------------------------- */
.future-solutions-section {
    position: relative;
    width: 100%;
    padding: 60px 0 80px 0;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.future-solutions-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 40px;
    align-items: stretch;
    box-sizing: border-box;
}

/* -------------------------------------------------------------
 * 2. LEFT COLUMN (Heading, Subtitle & 2-Column Tabs Grid)
 * ------------------------------------------------------------- */
.future-solutions-nav-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.future-solutions-header {
    margin-bottom: 28px;
}

.future-solutions-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: #1a202c;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

.future-solutions-title strong {
    font-weight: 900;
    color: #0f172a;
}

.future-solutions-subtitle {
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

/* Tabs Grid (2 columns on left) */
.future-solutions-tab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: auto;
    padding-top: 10px;
}

/* Tab Card Item (Square / Clean Proportion) */
.future-solution-tab-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-height: 120px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 16px 14px 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.future-solution-tab-card:hover {
    border-color: #0057a8;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 87, 168, 0.1);
}

.future-solution-tab-card.is-active {
    border-color: #0057a8;
    border-width: 2px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 87, 168, 0.14);
}

/* Tab Title */
.tab-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    transition: color 0.25s ease;
    line-height: 1.3;
}

.future-solution-tab-card:hover .tab-card-title,
.future-solution-tab-card.is-active .tab-card-title {
    color: #0057a8;
    font-weight: 700;
}

/* Bottom Row inside Tab: Icon on Left + Arrow Chevron on Right */
.tab-card-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.tab-card-icon-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 44px;
    width: 58px;
}

.tab-svg-dynamic {
    width: 48px;
    height: 40px;
    color: #9ca3af;
    transition: all 0.25s ease;
}

.future-solution-tab-card:hover .tab-svg-dynamic,
.future-solution-tab-card.is-active .tab-svg-dynamic {
    color: #0057a8;
    transform: scale(1.05);
}

.tab-card-icon-img {
    max-height: 40px;
    max-width: 54px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.future-solution-tab-card:hover .tab-card-icon-img,
.future-solution-tab-card.is-active .tab-card-icon-img {
    transform: scale(1.05);
}

.tab-card-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    transition: all 0.25s ease;
    margin-bottom: 4px;
}

.tab-card-chevron svg {
    width: 8px;
    height: 14px;
}

.future-solution-tab-card:hover .tab-card-chevron,
.future-solution-tab-card.is-active .tab-card-chevron {
    color: #0057a8;
    transform: translateX(3px);
}

/* -------------------------------------------------------------
 * 3. RIGHT COLUMN (Hero Dynamic Display Panel)
 * ------------------------------------------------------------- */
.future-solutions-content-col {
    position: relative;
    min-height: 540px;
}

.future-solutions-panels-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 540px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

/* Single Panel */
.future-solution-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 44px 48px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s ease;
    z-index: 1;
}

.future-solution-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

/* Background Image & Cinematic Lighting Overlay */
.future-panel-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.future-panel-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
    transition: transform 7s ease-out;
}

.future-solution-panel.is-active .future-panel-bg-img {
    transform: scale(1.04);
}

.future-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.94) 100%),
                linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    pointer-events: none;
}

/* Panel Body */
.future-panel-body {
    position: relative;
    z-index: 3;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Tag Pill */
.future-panel-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

/* Main Heading */
.future-panel-heading {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin: 0 0 14px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Description Text */
.future-panel-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 26px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Stats Row */
.future-panel-stats {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}

.future-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.future-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.future-stat-number {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.future-stat-unit {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

/* Action: Sub-Badge Card (DAT Solar Style) */
.future-panel-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.future-sub-badge-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 22px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.future-sub-badge-card:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.sub-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.badge-svg-node {
    width: 32px;
    height: 32px;
}

.sub-badge-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sub-badge-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.sub-badge-ttl {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    text-transform: uppercase;
}

.sub-badge-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: #64748b;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.future-sub-badge-card:hover .sub-badge-arrow {
    transform: translateX(3px);
    color: #0057a8;
}

/* -------------------------------------------------------------
 * 4. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .future-solutions-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .future-solutions-tab-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 20px;
    }

    .future-solutions-panels-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .future-solutions-section {
        padding: 40px 0;
    }

    .future-solutions-container {
        padding: 0 16px;
        gap: 20px;
    }

    .future-solutions-header {
        margin-bottom: 16px;
    }

    .future-solutions-title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .future-solutions-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    /* 3 Tabs in 1 Clean Row on Mobile */
    .future-solutions-tab-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 14px;
    }

    .future-solution-tab-card {
        min-height: 88px;
        padding: 10px 8px;
        border-radius: 10px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .tab-card-title {
        font-size: 12px;
        margin-bottom: 6px;
        text-align: center;
    }

    .tab-card-bottom-row {
        justify-content: center;
    }

    .tab-card-icon-box {
        width: auto;
        height: 32px;
    }

    .tab-svg-dynamic {
        width: 36px;
        height: 30px;
    }

    .tab-card-icon-img {
        max-height: 28px;
    }

    .tab-card-chevron {
        display: none; /* Hide chevron on mobile for clean look */
    }

    /* Right Panel on Mobile */
    .future-solutions-panels-wrapper {
        min-height: 460px;
        border-radius: 14px;
    }

    .future-solution-panel {
        padding: 26px 20px;
    }

    .future-panel-tag {
        font-size: 11px;
        padding: 2px 10px;
        margin-bottom: 10px;
    }

    .future-panel-heading {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .future-panel-desc {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .future-panel-stats {
        gap: 28px;
        margin-bottom: 20px;
    }

    .future-stat-label {
        font-size: 11px;
    }

    .future-stat-number {
        font-size: 34px;
    }

    .future-stat-unit {
        font-size: 12px;
    }

    .future-sub-badge-card {
        padding: 10px 16px;
        border-radius: 10px;
        gap: 10px;
    }

    .sub-badge-icon {
        width: 30px;
        height: 30px;
    }

    .badge-svg-node {
        width: 26px;
        height: 26px;
    }

    .sub-badge-lbl {
        font-size: 10px;
    }

    .sub-badge-ttl {
        font-size: 13px;
    }
}
