/* ============================================================
   NISHISOL POWERLINK — STYLESHEET
   Brand Colors: Yellow #FFD600, Green #1B6B2F, Dark #0D1B0F
   ============================================================ */

:root {
    --yellow: #FFD600;
    --yellow-light: #FFF176;
    --yellow-dark: #F9A825;
    --green: #1B6B2F;
    --green-mid: #2E7D32;
    --green-light: #43A047;
    --dark: #0D1B0F;
    --dark-2: #162018;
    --dark-3: #1E2B20;
    --white: #FFFFFF;
    --off-white: #F5F7F0;
    --gray: #8A9A8D;
    --light-gray: #E8EDE9;
    --text: #1A2B1C;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 40px rgba(27, 107, 47, 0.25);
    --shadow-yellow: 0 8px 40px rgba(255, 214, 0, 0.4);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-cond: 'Barlow Condensed', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== PRELOADER ===================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.sun-loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-core {
    width: 36px;
    height: 36px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--yellow), 0 0 60px rgba(255, 214, 0, 0.4);
    animation: pulseSun 1.2s ease-in-out infinite;
}

.sun-rays {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--yellow);
    border-right-color: var(--yellow-dark);
    animation: rotateSun 1.5s linear infinite;
}

@keyframes rotateSun {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseSun {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.loader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%; /* Clip black corners */
    animation: pulseSun 1.5s ease-in-out infinite;
}

.loader-text {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: var(--yellow);
    animation: fadeInOut 1.2s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ===================== NAVBAR ===================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    background: rgba(13, 27, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 214, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

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

.logo-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.logo-img-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-img {
    height: 75px; /* Adjusted to fit rays around it */
    width: 75px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-rays-wrap {
    position: absolute;
    inset: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateSlow 8s linear infinite;
    pointer-events: none;
}

.logo-rays-wrap span {
    position: absolute;
    width: 4px;
    height: 14px;
    background: var(--yellow);
    border-radius: 2px;
    transform-origin: 50% 50px; /* Positioned relative to 100px container */
}

.logo-rays-wrap span:nth-child(1) { transform: rotate(0deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(2) { transform: rotate(45deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(3) { transform: rotate(90deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(4) { transform: rotate(135deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(5) { transform: rotate(180deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(6) { transform: rotate(225deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(7) { transform: rotate(270deg) translateY(-40px); }
.logo-rays-wrap span:nth-child(8) { transform: rotate(315deg) translateY(-40px); }

@keyframes rotateSlow {
    to { transform: rotate(360deg); }
}

.logo-badge:hover .logo-img {
    transform: scale(1.1);
}


.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-cond);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.1;
    letter-spacing: 1.5px;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 2.5px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--yellow);
}

.nav-links .nav-cta {
    background: var(--yellow);
    color: var(--dark) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-links .nav-cta::after {
    display: none !important;
}

.nav-links .nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 214, 0, 0.1);
    padding: 16px 24px 20px;
}

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

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-attachment: fixed;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 27, 15, 0.7) 0%, rgba(13, 27, 15, 0.4) 50%, rgba(13, 27, 15, 0.9) 100%);
    z-index: 1;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeSlideUp 0.8s ease 1.2s both;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--yellow);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--yellow);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 107, 47, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 107, 47, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.solar-orb {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.18) 0%, rgba(255, 214, 0, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.energy-lines {
    position: absolute;
    inset: 0;
}

.e-line {
    position: absolute;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to top, rgba(255, 214, 0, 0.5), transparent);
    animation: riseLine 3s ease-in-out infinite;
}

.e-line:nth-child(1) {
    left: 10%;
    height: 200px;
    animation-delay: 0s;
}

.e-line:nth-child(2) {
    left: 25%;
    height: 280px;
    animation-delay: 0.6s;
}

.e-line:nth-child(3) {
    left: 50%;
    height: 220px;
    animation-delay: 1.2s;
}

.e-line:nth-child(4) {
    left: 70%;
    height: 300px;
    animation-delay: 0.3s;
}

.e-line:nth-child(5) {
    left: 88%;
    height: 180px;
    animation-delay: 0.9s;
}

@keyframes riseLine {

    0%,
    100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 214, 0, 0.12);
    border: 1px solid rgba(255, 214, 0, 0.3);
    color: var(--yellow);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    line-height: 1;
    margin-bottom: 12px;
}

.hero-title .switch {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeSlideUp 0.8s ease 0.5s both;
}

.hero-title .solar {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(5rem, 10vw, 8rem);
    color: var(--yellow);
    line-height: 0.9;
    animation: fadeSlideUp 0.8s ease 0.6s both;
    text-shadow: 0 0 40px rgba(255, 214, 0, 0.3);
}

.hero-title .power {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(5rem, 10vw, 8rem);
    color: var(--white);
    line-height: 0.9;
    animation: fadeSlideUp 0.8s ease 0.7s both;
}

.hero-sub {
    font-family: var(--font-cond);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeSlideUp 0.8s ease 0.8s both;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeSlideUp 0.8s ease 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeSlideUp 0.8s ease 1s both;
}

.btn-primary {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(255, 214, 0, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.hero-stats {
    display: flex;
    gap: 0;
    align-items: center;
    animation: fadeSlideUp 0.8s ease 1.1s both;
}

.stat {
    text-align: center;
    padding: 0 24px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--yellow);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--yellow-dark);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.house-card {
    position: relative;
    background: url('images/pic 2.jpg') center/cover no-repeat;
    border: 1px solid rgba(255, 214, 0, 0.3);
    border-radius: 24px;
    padding: 32px;
    width: 360px;
    height: 420px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(0, 0, 0, 0.2);
    animation: fadeSlideUp 1s ease 0.5s both;
    overflow: hidden;
}

.house-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 15, 0.6), transparent);
    z-index: 1;
}

.house-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 214, 0, 0.12), transparent 70%);
    border-radius: 24px;
}

.panel-grid {
    display: none;
}

.panel {
    height: 50px;
    background: linear-gradient(135deg, #1a3a6b, #0d2244);
    border-radius: 6px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: panelShimmer 3s ease-in-out infinite;
}

.panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    animation: shineMove 2.5s ease-in-out infinite;
}

@keyframes panelShimmer {

    0%,
    100% {
        border-color: rgba(100, 150, 255, 0.3);
    }

    50% {
        border-color: rgba(255, 214, 0, 0.4);
    }
}

@keyframes shineMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.house-body {
    display: none;
}

.house-roof {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 40px solid var(--green);
}

.house-walls {
    width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

.house-window {
    width: 28px;
    height: 28px;
    background: rgba(255, 214, 0, 0.5);
    border-radius: 4px;
    animation: windowGlow 2s ease-in-out infinite;
}

.house-window:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes windowGlow {

    0%,
    100% {
        background: rgba(255, 214, 0, 0.4);
    }

    50% {
        background: rgba(255, 214, 0, 0.8);
    }
}

.energy-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    opacity: 0;
    animation: energyRing 2s ease-out infinite;
}

.energy-pulse::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(255, 214, 0, 0.3);
    border-radius: 50%;
    animation: energyRing 2s ease-out 0.5s infinite;
}

@keyframes energyRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.floating-stat {
    position: absolute;
    background: rgba(13, 27, 15, 0.95);
    border: 1px solid rgba(255, 214, 0, 0.5);
    color: var(--yellow);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: floatBob 3s ease-in-out infinite;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.fs1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.fs2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 1s;
}

@keyframes floatBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeSlideUp 1s ease 1.5s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ===================== TICKER BAR ===================== */
.ticker-bar {
    background: var(--yellow);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: tickerMove 25s linear infinite;
    width: max-content;
}

.ticker-track span {
    font-family: var(--font-cond);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    flex-shrink: 0;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================== SECTION COMMONS ===================== */
.section-eyebrow {
    font-family: var(--font-cond);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 10px;
}

.section-eyebrow.light {
    color: var(--yellow);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== ABOUT ===================== */
.about-section {
    padding: 100px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-title {
    color: var(--green);
}

.about-text p {
    color: #4a5c4d;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(27, 107, 47, 0.1);
    color: var(--green);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(27, 107, 47, 0.2);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-main-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-main-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-main-img:hover img {
    transform: scale(1.05);
}

.img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.4);
    z-index: 2;
}

.about-card-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--green);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-card.ac2 {
    border-top-color: var(--yellow-dark);
    margin-top: 24px;
}

.about-card.ac4 {
    margin-top: -24px;
    border-top-color: var(--green-light);
}

.about-card i {
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 12px;
}

.about-card.ac2 i {
    color: var(--yellow-dark);
}

.about-card.ac4 i {
    color: var(--green-light);
}

.about-card h4 {
    font-family: var(--font-cond);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.about-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ===================== SERVICES ===================== */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--light-gray);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-green);
    border-color: var(--green-light);
}

.service-card.featured {
    background: var(--dark);
    border-color: var(--yellow);
    box-shadow: var(--shadow-yellow);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white) !important;
}

.service-card.featured li {
    color: rgba(255, 255, 255, 0.7) !important;
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--dark);
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(27, 107, 47, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s;
}

.service-card.featured .service-icon-wrap {
    background: rgba(255, 214, 0, 0.15);
}

.service-icon-wrap i {
    font-size: 1.6rem;
    color: var(--green);
}

.service-card.featured .service-icon-wrap i {
    color: var(--yellow);
}

.service-card h3 {
    font-family: var(--font-cond);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text);
}

.service-card li i {
    color: var(--green);
    font-size: 0.7rem;
}

.service-card.featured li i {
    color: var(--yellow);
}

.service-cta {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--green);
    border-bottom: 2px solid var(--green);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.service-card.featured .service-cta {
    color: var(--yellow);
    border-color: var(--yellow);
}

.service-cta:hover {
    color: var(--green-mid);
}

/* ===================== SUBSIDY ===================== */
.subsidy-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.subsidy-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(27, 107, 47, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.subsidy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subsidy-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.8;
}

.subsidy-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: rgba(255, 214, 0, 0.3);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.step-info h4 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}

.step-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.subsidy-card-wrap {
    display: flex;
    justify-content: center;
}

.subsidy-main-card {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(27, 107, 47, 0.5);
    border: 1px solid rgba(255, 214, 0, 0.3);
    width: 100%;
    max-width: 340px;
    position: relative;
    overflow: hidden;
}

.subsidy-main-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.2), transparent 70%);
}

.smc-top {
    margin-bottom: 32px;
}

.smc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.smc-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--yellow);
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 214, 0, 0.5);
}

.smc-amount span {
    font-size: 2rem;
}

.smc-note {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    display: block;
}

.smc-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}

.smc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.smc-row:last-child {
    border-bottom: none;
}

.smc-row span {
    color: rgba(255, 255, 255, 0.7);
}

.smc-row strong {
    color: var(--yellow);
}

.smc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.smc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.smc-btn i {
    font-size: 1.2rem;
}

/* ===================== WHY US ===================== */
.why-section {
    padding: 100px 0;
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border-left: 4px solid var(--green);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.why-card:nth-child(2n) {
    border-left-color: var(--yellow-dark);
}

.why-card:nth-child(3n) {
    border-left-color: var(--green-light);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: rgba(27, 107, 47, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 1.4rem;
    color: var(--green);
}

.why-card:nth-child(2n) .why-icon {
    background: rgba(249, 168, 37, 0.1);
}

.why-card:nth-child(2n) .why-icon i {
    color: var(--yellow-dark);
}

.why-card:nth-child(3n) .why-icon {
    background: rgba(67, 160, 71, 0.1);
}

.why-card:nth-child(3n) .why-icon i {
    color: var(--green-light);
}

.why-card h4 {
    font-family: var(--font-cond);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.why-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===================== CONTACT ===================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info h3 {
    font-family: var(--font-cond);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 14px;
}

.contact-info>p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.c-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.c-icon {
    width: 44px;
    height: 44px;
    background: rgba(27, 107, 47, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}

.c-text strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 4px;
}

.c-text span,
.c-text a {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.c-text a:hover {
    color: var(--green);
}

.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.whatsapp-s {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.call-s {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(27, 107, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green);
    color: var(--white);
    padding: 16px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
}

.form-msg {
    text-align: center;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

.form-msg.success {
    background: rgba(27, 107, 47, 0.1);
    color: var(--green);
    display: block;
}

.form-msg.error {
    background: rgba(220, 50, 50, 0.1);
    color: #c0392b;
    display: block;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(27, 107, 47, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}


.fl-name {
    font-family: var(--font-cond);
    font-size: 1rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.1;
    letter-spacing: 1px;
}

.fl-tag {
    font-size: 0.6rem;
    color: var(--gray);
    letter-spacing: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-links h5,
.footer-services h5,
.footer-contact h5 {
    font-family: var(--font-cond);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--yellow);
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--yellow);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--yellow);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-socials a:hover {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 0.72rem !important;
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.wa-tooltip {
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: var(--shadow-green);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-mid);
    transform: translateY(-4px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        padding-left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .subsidy-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .subsidy-steps {
        align-items: flex-start;
        text-align: left;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title .solar {
        font-size: 4.5rem;
    }

    .hero-title .power {
        font-size: 4.5rem;
    }

    .house-card {
        width: 280px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid {
        max-width: 100%;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title .solar {
        font-size: 3.5rem;
    }

    .hero-title .power {
        font-size: 3.5rem;
    }

    .hero-stats .stat {
        padding: 0 14px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .subsidy-main-card {
        padding: 32px 24px;
    }
}