/* Project: Accel Electric */
/* File: /public/css/ae-shared.css V1.0.0 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    background: #f5f5f5;
    color: #000;
}

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

a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

a:hover {
    color: #808080;
}

p {
    line-height: 1.6;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Krona One', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    line-height: 1.3;
    margin-bottom: 20px;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.btn {
    white-space: nowrap;
    background: #0F17CF;
    padding: 0.75rem 1.5rem;
    font-family: 'Krona One', sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
}

.btn:hover {
    background: #808080;
    color: #fff;
}

.btn-yellow {
    background: #FFD500;
    padding: 0.75rem 1.5rem;
    font-family: 'Krona One', sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: background 0.3s ease;
    color: #000;
}

.btn-yellow:hover {
    background: #808080;
    color: #000;
}

.btn-icon {
    width: 16px;
    height: auto;
    margin-right: 15px;
    vertical-align: middle;
}

/* HEADER */
.site-header {
    background: #F2F2F2;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 85px;
}

.main-nav {
    display: flex;
    z-index: 2;
}


/* BLOCK 1 | HERO */
.hero {
    position: relative;
    background-size: cover;
    background-position: 30% 95%;
    min-height: 675px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0F17CF;
}

.hero-subtitle {
    font-family: 'Krona One', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-tagline {
    margin: 20px 0;
}

/* BLOCK 2 | MARQUEE */
.partner-marquee {
    width: 100%;
    background: #0F17CF;
    padding: 60px 0;
}

.marquee-container {
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: scroll 45s linear infinite;
}

.marquee-track img {
    height: 80px;
    max-width: 165px;
    object-fit: contain;
    margin: 0 30px;
    vertical-align: middle;
}

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

/* BLOCK 3 | SERVICE AREAS */
.block3 {
    background: #000;
    color: #fff;
    padding: 4rem 1rem;
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}

/* Column 1 - Years */
.block3-years .big {
    display: inline-block;
    font-size: 125px;
    font-weight: 700;
    color: #fff;
    margin-left: 30px;
}

.block3-years .plus {
    font-size: 125px;
    font-weight: 700;
    color: #fff;
}

.block3-years h2 {
    color: #fff;
}

/* Column 2 - Text */
.block3-text {
    margin: 50px 50px 0px -50px;
}

/* Column 3 - Locations Box */
.block3-locations {
    margin-top: -100px;
    overflow: hidden;
}

.locations-top {
    background: #333;
    padding: 20px;
}

.locations-top ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.locations-top li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.locations-top li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0F17CF;
}

.locations-bottom {
    background: #ddd;
    color: #111;
    padding: 25px;
    font-size: 15px;
    line-height: 1.6;
}

/* BLOCK 4 | TESTIMONIALS */
.testimonials {
    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('../images/bg-1.png') center center / cover no-repeat;
    padding: 4rem 1rem;
}

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

/* BLOCK 5 | INFO */
.block5 {
    padding: 50px 25px;
}

.block5 hr {
    border: none;
    border-top: 1px solid #222;
    margin-top: 60px;
}

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

.block5-intro {
    text-align: left;
    margin-bottom: 30px;
}

.block5-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 30px;
}

.feature .icon {
    padding: 15px;
}

.feature .icon img {
    width: 75px;
    height: auto;
}

/* BLOCK 6 | ABOUT */
.about {
    padding: 30px 20px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.about-video {
    margin-top: 20px;
}

.about-video video {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    display: block;
}

.about-more {
    max-width: 1140px;
    margin: 30px auto 0;
}

/* BLOCK 7 | TEAM */
.team {
    padding: 60px 20px;
}

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

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

.team-image {
    max-width: 550px;
    max-height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.team-members {
    padding: 100px 20px;
    position: relative;
}

.team-members .container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
}

.bg-shape {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 300px;
    border: 15px solid #0F17CF;
    transform: translateY(-50%);
    z-index: 1;
}

.team-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 80px;
    position: relative;
    z-index: 2;
}

.team-member {
    text-align: center;
    flex: 0 1 175px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    object-position: top;
}

.team-member h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.team-member p {
    font-size: 14px;
    color: #555;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BLOCK 8 | EV CHARGERS */
.ev {
    position: relative;
    background: url('../images/ev-bg.png') center / cover no-repeat;
    color: #fff;
    padding: 100px 20px;
}

.ev h1, .ev h2 {
    color: #fff;
}

.ev-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.ev-content {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ev-right p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* BLOCK 9 | SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.services .service:nth-child(even) {
    background: #0F17CF;
    color: #fff;
}

.services .service:nth-child(even) .service-content,
.services .service:nth-child(even) .service-content h1 {
    color: #fff;
}


.service {
    position: relative;
    height: 350px;
    background: #c9cdcd;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1;
    opacity: 0;
}

.service:hover::before {
    transform: translateX(0);
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.3s ease;
}

.service:hover .service-content {
    opacity: 0;
}

.service img {
    width: 60px;
    margin-bottom: 15px;
}

/* BLOCK 10 | CONTACT */
.contact {
    position: relative;
    background: url('../images/bg-contact.png') center center / cover no-repeat;
    color: #fff;
    padding: 100px 20px;
}

.contact h1 {
    color: #fff;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.contact-grid {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    font-family: inherit;
    font-size: 18px;
}

.contact-form textarea {
    resize: none;
    height: 100px;
}

.submit-btn {
    background: #bbb;
    font-family: 'Krona One', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000;
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #0F17CF;
    color: #fff;
}

.contact-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* FOOTER */
.footer {
    background: #333;
    color: #fff;
    padding: 60px 20px 60px 20px;
    font-size: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.footer-col li {
    margin: 5px 0;
    line-height: 1.0;
}

.footer-areas li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-areas li img {
    width: 14px;
    height: auto;
    display: block;
}

.footer-areas {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 5px 15px;
}

.footer-social img {
    width: 28px;
    height: auto;
    display: inline-block;
}

.footer-social a {
    margin-right: 12px;
}

.footer-contact img {
    width: 18px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.footer-copyright {
    text-align: center;
    font-size: 16px;
}

.footer-copyright hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 60%;
    margin: 40px auto;
}

/* Mobile Header Layout */
@media (max-width: 991px) {
    .site-header .container {
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    /* Center logo */
    .logo {
        margin: 0 auto 10px;
    }

    /* Full-width phone button below logo */
    .site-header .btn {
        order: 2;                /* ensure it comes after logo */
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}