/* EBL Template - Custom Styles (Teal accent for batteries/energy) */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.heading-xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .heading-xl {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .heading-xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.heading-lg {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .heading-lg {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #f0fdfa 100%);
}

.cta-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    max-height: 20rem;
}

.faq-details summary::-webkit-details-marker {
    display: none;
}

.faq-details[open] .details-chevron {
    transform: rotate(180deg);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== INNER PAGE HERO ===== */
.inner-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 14rem;
}
@media (min-width: 640px) {
    .inner-hero {
        height: 16rem;
    }
}
@media (min-width: 768px) {
    .inner-hero {
        height: 18rem;
    }
}
@media (min-width: 1024px) {
    .inner-hero {
        height: 20rem;
    }
}
.inner-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 23, 0.45);
}
.inner-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}
.inner-hero h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}
.inner-hero .inner-hero-subtitle {
    color: #f5f5f4;
    margin-top: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    max-width: 36rem;
}
