/* Inti Charge — main styles */

:root {
    --green: #017B48;
    --yellow: #FFC900;
    --blue: #00378A;
    --navy: #001432;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text: #1a1a2e;
}

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

html {
    scroll-behavior: smooth;
}

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

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Header / Nav */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 20, 50, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s, background 0.3s;
}

header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 20, 50, 0.12);
}

nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.logo-container:hover {
    transform: scale(1.04);
}

.logo-container img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0.25rem 0.55rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
    white-space: nowrap;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    background: rgba(1, 123, 72, 0.1);
}

/* Hero */
.hero {
    color: white;
    min-height: 92vh;
    padding: 120px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.4s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 20, 50, 0.82) 0%, rgba(0, 55, 138, 0.72) 55%, rgba(1, 123, 72, 0.45) 100%);
    z-index: 1;
    transition: opacity 1.2s ease;
}

.hero-overlay.dim {
    opacity: 0.55;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn 1.1s ease 0.35s forwards;
}

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

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 span {
    color: var(--yellow);
    display: inline-block;
    animation: pulseGlow 2.8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(255, 201, 0, 0); transform: scale(1); }
    50% { text-shadow: 0 0 24px rgba(255, 201, 0, 0.45); transform: scale(1.02); }
}

.hero p {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 201, 0, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(255, 201, 0, 0.45);
    background: #ffd633;
}

.cta-button.ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.cta-button.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    box-shadow: none;
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: scale(1.15);
}

.scroll-hint {
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* Sections */
section {
    padding: 90px 2rem;
    position: relative;
}

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

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* About */
.about {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 0, 0.12), transparent 35%),
        radial-gradient(circle at bottom left, rgba(1, 123, 72, 0.1), transparent 40%),
        var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: stretch;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    min-height: 0;
}

.about-text-card {
    background: white;
    border-radius: 22px;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 14px 35px rgba(0, 20, 50, 0.08);
    border-top: 4px solid var(--yellow);
    transition: transform 0.35s, box-shadow 0.35s;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow: visible;
}

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

.about-text-card h3 {
    color: var(--blue);
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.about-text-card p {
    margin-bottom: 0.75rem;
    color: #444;
}

.about-text-card p:last-child {
    margin-bottom: 0;
}

.about-visual {
    display: grid;
    grid-template-rows: 1.35fr 0.75fr;
    gap: 1rem;
    min-height: 520px;
    height: 100%;
}

.about-main-img,
.about-side-img {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 20, 50, 0.12);
    min-height: 0;
}

.about-side-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: 0;
}

.about-main-img img,
.about-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
    min-height: 160px;
}

.about-main-img:hover img,
.about-side-img:hover img {
    transform: scale(1.08);
}

.img-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 20, 50, 0.78);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.78rem;
}

.highlight {
    color: var(--green);
    font-weight: 600;
}

/* Vision & Mission */
.vision-mission {
    background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    right: -120px;
    top: -80px;
    background: radial-gradient(circle, rgba(0, 55, 138, 0.1), transparent 70%);
    pointer-events: none;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.vm-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 18px 40px rgba(0, 20, 50, 0.12);
    color: white;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s, box-shadow 0.35s;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 50px rgba(0, 20, 50, 0.18);
}

.vm-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.vm-card:hover .vm-card-bg {
    transform: scale(1.08);
}

.vm-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 20, 50, 0.25) 0%, rgba(0, 20, 50, 0.88) 100%);
}

.vm-card.mission .vm-card-overlay {
    background: linear-gradient(180deg, rgba(1, 123, 72, 0.2) 0%, rgba(0, 20, 50, 0.9) 100%);
}

.vm-card.vision .vm-card-overlay {
    background: linear-gradient(180deg, rgba(0, 55, 138, 0.25) 0%, rgba(0, 20, 50, 0.9) 100%);
}

.vm-card-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1.8rem;
}

.vm-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.vm-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

.vm-card p {
    opacity: 0.95;
    font-size: 1.02rem;
    line-height: 1.65;
}

.vm-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vm-pill {
    background: white;
    border-radius: 16px;
    padding: 1.1rem 1rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 20, 50, 0.08);
    border-top: 3px solid var(--green);
    transition: transform 0.3s;
}

.vm-pill:hover {
    transform: translateY(-6px);
}

.vm-pill strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.vm-pill span {
    color: #666;
    font-size: 0.92rem;
}

/* Features */
.features {
    background: white;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 55, 138, 0.08), transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2.2rem 1.7rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 20, 50, 0.08);
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    border: 1px solid rgba(0, 20, 50, 0.06);
    border-top: 4px solid var(--yellow);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(1, 123, 72, 0.08));
    transition: height 0.35s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 22px 45px rgba(0, 20, 50, 0.14);
    border-top-color: var(--green);
}

.feature-card:hover::after {
    height: 55%;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--green), #02a35e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.4s;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
}

.feature-card h3 {
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: #555;
}

/* Electromobility */
.electro {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.electro-intro {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.electro-intro-text .badge {
    display: inline-block;
    background: rgba(1, 123, 72, 0.12);
    color: var(--green);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    animation: softPulse 2.4s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.electro-intro-text h3 {
    color: var(--navy);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.electro-intro-text p {
    color: #444;
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
}

.electro-intro-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 20, 50, 0.15);
    min-height: 320px;
    cursor: pointer;
}

.electro-intro-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.electro-intro-image:hover img {
    transform: scale(1.07);
    filter: brightness(1.05);
}

.electro-intro-image .image-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(0, 20, 50, 0.78);
    color: white;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.electro-intro-image:hover .image-caption {
    transform: translateY(-4px);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.fact-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 20, 50, 0.08);
    transition: transform 0.35s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.fact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 44px rgba(0, 20, 50, 0.16);
}

.fact-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.fact-card:hover img {
    transform: scale(1.08);
}

.fact-card-body {
    padding: 1.4rem 1.3rem 1.6rem;
    flex: 1;
}

.fact-label {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.fact-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.fact-card p {
    color: #555;
    font-size: 0.98rem;
}

.fact-card .more {
    margin-top: 0.9rem;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s;
}

.fact-card:hover .more,
.fact-card.open .more {
    opacity: 1;
    transform: translateY(0);
}

.fact-extra {
    max-height: 0;
    overflow: hidden;
    color: #666;
    font-size: 0.92rem;
    transition: max-height 0.4s ease, margin 0.3s ease;
    margin-top: 0;
}

.fact-card.open .fact-extra {
    max-height: 120px;
    margin-top: 0.6rem;
}

.electro-note {
    margin-top: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.electro-note::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 201, 0, 0.12);
    top: -60px;
    right: -40px;
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

.electro-note p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    opacity: 0.96;
    position: relative;
    z-index: 1;
}

.electro-note strong {
    color: var(--yellow);
}

/* Contact */
.contact {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 201, 0, 0.1), transparent 30%),
        var(--light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.2fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    padding: 0.5rem 0.25rem;
}

.contact-info-title {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.contact-info-lead {
    color: #666;
    font-size: 0.98rem;
    margin-top: -0.5rem;
    margin-bottom: 0.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(0, 55, 138, 0.2);
}

.contact-item-body {
    min-width: 0;
}

.contact-item-body span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.2rem;
}

.contact-item-body strong,
.contact-item-body a {
    color: var(--navy);
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.4;
}

.contact-item-body a:hover {
    color: var(--green);
}

.contact-item-body p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0;
}

.contact-map-wrap {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 20, 50, 0.12);
    border: 1px solid rgba(0, 20, 50, 0.06);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.contact-map-wrap iframe {
    width: 100%;
    flex: 1;
    min-height: 380px;
    border: 0;
    display: block;
}

.contact-map-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: white;
    border-top: 1px solid rgba(0, 20, 50, 0.06);
    font-size: 0.9rem;
    color: #555;
}

.contact-map-caption a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.contact-map-caption a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    opacity: 0.8;
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.3s;
    z-index: 1200;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Responsive */
@media (max-width: 980px) {
    .about-grid,
    .electro-intro,
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .facts-grid,
    .stats-row,
    .vm-strip,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: auto;
    }

    .about-main-img img {
        min-height: 220px;
    }

    .contact-map-wrap,
    .contact-map-wrap iframe {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 100px 1.2rem 90px;
    }

    nav {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-container img {
        height: 48px;
    }

    .nav-links {
        gap: 0.3rem;
        font-size: 0.84rem;
    }

    .nav-links a {
        padding: 0.35rem 0.55rem;
        font-size: 0.84rem;
    }

    .scroll-hint {
        display: none;
    }
}
