
/* =========================================================
   VOLTPRO ELECTRICAL SERVICES
   Main Stylesheet
========================================================= */


/* =========================================================
   1. RESET & GLOBAL
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #151515;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}


/* =========================================================
   2. COLORS
========================================================= */

:root {
    --primary: #f5b400;
    --primary-dark: #d99800;

    --black: #111111;
    --dark: #171717;
    --dark-2: #222222;

    --text: #171717;
    --text-light: #686868;

    --white: #ffffff;
    --light: #f7f7f5;
    --border: #e8e8e8;

    --whatsapp: #25d366;

    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   3. HEADER / NAVBAR
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

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

.nav-container {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: var(--primary);
    border-radius: 10px;

    font-size: 20px;
}


/* Navigation */

.navbar {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: #555;

    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: 0.3s ease;
}

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


/* Call button */

.nav-call {
    padding: 11px 19px;

    background: var(--black);
    color: var(--white);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav-call:hover {
    background: var(--primary);
    color: var(--black);

    transform: translateY(-2px);
}


/* Mobile menu */

.menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 28px;
}


/* =========================================================
   4. HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding-top: 150px;
    padding-bottom: 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(245, 180, 0, 0.16),
            transparent 30%
        ),
        #f8f8f6;

    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;
}


/* Hero content */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    margin-bottom: 22px;

    background: #fff7d9;

    border: 1px solid #f1d980;
    border-radius: 50px;

    color: #705500;

    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22b573;

    box-shadow: 0 0 0 5px rgba(34, 181, 115, 0.12);
}


.hero h1 {
    max-width: 700px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.04;

    letter-spacing: -2.5px;

    font-weight: 800;

    color: var(--black);

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary-dark);
}

.hero-description {
    max-width: 580px;

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 32px;
}


/* Hero buttons */

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-bottom: 45px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 23px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    border: none;

    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);

    box-shadow: 0 10px 25px rgba(245, 180, 0, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(245, 180, 0, 0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.25);
}


/* Hero trust */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 25px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 21px;
    font-weight: 800;
}

.trust-item span {
    color: #777;

    font-size: 11px;

    margin-top: 2px;
}

.trust-divider {
    width: 1px;
    height: 35px;

    background: #d5d5d5;
}


/* Hero image */

.hero-image-wrapper {
    position: relative;

    max-width: 510px;

    margin-left: auto;
}

.hero-image-wrapper img {
    height: 590px;

    border-radius: 24px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.hero-image-wrapper::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -25px;
    bottom: -25px;

    border: 15px solid var(--primary);

    border-radius: 50%;

    z-index: -1;
}


/* Experience card */

.experience-card {
    position: absolute;

    left: -35px;
    bottom: 35px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 17px 20px;

    background: white;

    border-radius: 13px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.experience-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: var(--primary);

    border-radius: 10px;
}

.experience-card strong {
    display: block;

    font-size: 14px;
}

.experience-card span {
    display: block;

    font-size: 11px;

    color: #777;
}


/* =========================================================
   5. SECTION HEADINGS
========================================================= */

.section-heading {
    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2,
.about-content h2,
.areas-content h2,
.contact-content h2 {
    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 17px;
}

.section-heading h2 span,
.about-content h2 span,
.areas-content h2 span,
.contact-content h2 span {
    color: var(--primary-dark);
}

.section-heading p {
    color: var(--text-light);

    font-size: 15px;
}


/* =========================================================
   6. SERVICES
========================================================= */

.services {
    background: white;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.service-card {
    padding: 30px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    transition: 0.35s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: #f0d37b;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    background: #fff5ce;

    border-radius: 12px;

    font-size: 23px;
}

.service-card h3 {
    font-size: 18px;

    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 22px;
}

.service-card a {
    color: #a77800;

    font-size: 12px;

    font-weight: 800;
}

.service-card a:hover {
    color: var(--black);
}


/* =========================================================
   7. ABOUT
========================================================= */

.about {
    background: var(--light);
}

.about-container {
    display: grid;

    grid-template-columns: 0.9fr 1fr;

    align-items: center;

    gap: 80px;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 540px;

    border-radius: 20px;
}

.about-experience {
    position: absolute;

    right: -25px;
    bottom: 30px;

    width: 150px;
    height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: var(--primary);

    border-radius: 50%;

    border: 8px solid white;
}

.about-experience strong {
    font-size: 32px;
    line-height: 1;
}

.about-experience span {
    max-width: 80px;

    margin-top: 6px;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
}

.about-content > p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 15px;
}


/* Skills */

.skills-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;
}

.skill-item {
    display: flex;
    gap: 12px;
}

.skill-item > span {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--primary);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}

.skill-item strong {
    display: block;

    font-size: 13px;

    margin-bottom: 2px;
}

.skill-item p {
    color: #888;

    font-size: 11px;
}


/* =========================================================
   8. OUR WORK / GALLERY
========================================================= */

.work {
    background: white;
}

.work-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.work-item {
    height: 320px;

    overflow: hidden;

    border-radius: 16px;

    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;

    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.07);
}


/* =========================================================
   9. WHY CHOOSE US
========================================================= */

.why-us {
    background: var(--dark);

    color: white;
}

.why-us .section-heading h2 {
    color: white;
}

.why-us .section-heading p {
    color: #aaa;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.why-card {
    padding: 32px 25px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.03);

    transition: 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);

    transform: translateY(-5px);
}

.why-icon {
    font-size: 25px;

    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 16px;

    margin-bottom: 8px;
}

.why-card p {
    color: #999;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   10. SERVICE AREAS
========================================================= */

.areas {
    background: var(--light);
}

.areas-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}

.areas-content p {
    max-width: 500px;

    color: var(--text-light);

    font-size: 14px;
}

.areas-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.areas-list span {
    padding: 14px 17px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 9px;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.areas-list span:hover {
    border-color: var(--primary);

    transform: translateX(4px);
}


/* =========================================================
   11. CONTACT
========================================================= */

.contact {
    background: white;
}

.contact-container {
    display: grid;

    grid-template-columns: 0.9fr 1fr;

    gap: 80px;

    align-items: start;
}

.contact-content > p {
    max-width: 450px;

    color: var(--text-light);

    font-size: 14px;

    margin-bottom: 35px;
}


/* Contact details */

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 14px;

    width: fit-content;
}

.contact-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: #fff6d3;

    border-radius: 10px;
}

.contact-item small {
    display: block;

    color: #999;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}

.contact-item strong {
    display: block;

    font-size: 14px;

    margin-top: 2px;
}


/* Form */

.contact-form-wrapper {
    padding: 35px;

    background: var(--light);

    border: 1px solid var(--border);

    border-radius: 18px;
}

.contact-form h3 {
    font-size: 24px;

    margin-bottom: 6px;
}

.contact-form > p {
    color: #777;

    font-size: 12px;

    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    background: white;

    border: 1px solid #ddd;

    border-radius: 8px;

    outline: none;

    font-size: 13px;

    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.12);
}

.form-group textarea {
    resize: vertical;

    min-height: 100px;
}

.form-submit {
    width: 100%;
}


/* =========================================================
   12. FOOTER
========================================================= */

.footer {
    background: #101010;

    color: white;
}

.footer-container {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;

    padding-top: 65px;
    padding-bottom: 55px;
}

.footer .logo {
    color: white;

    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;

    color: #888;

    font-size: 12px;

    line-height: 1.7;
}

.footer h4 {
    font-size: 13px;

    margin-bottom: 18px;
}

.footer-links,
.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: #888;

    font-size: 12px;

    transition: 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    color: #666;

    font-size: 10px;
}

.footer-bottom strong {
    color: #999;
}


/* =========================================================
   13. MOBILE CONTACT BAR
========================================================= */

.mobile-contact-bar {
    display: none;
}


/* =========================================================
   14. SCROLL ANIMATION
========================================================= */

.service-card,
.about-content,
.about-image,
.work-item,
.why-card,
.contact-content,
.contact-form-wrapper {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.service-card.show,
.about-content.show,
.about-image.show,
.work-item.show,
.why-card.show,
.contact-content.show,
.contact-form-wrapper.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   15. TABLET
========================================================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 20px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image-wrapper img {
        height: 500px;
    }

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

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

    .about-container,
    .contact-container {
        gap: 50px;
    }
}


/* =========================================================
   16. MOBILE
========================================================= */

@media (max-width: 768px) {

    body {
        padding-bottom: 65px;
    }

    .section {
        padding: 75px 0;
    }


    /* Header */

    .nav-container {
        height: 68px;
    }

    .navbar {
        position: absolute;

        top: 68px;
        left: 0;

        width: 100%;

        padding: 20px;

        background: white;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);

        transform: translateY(-150%);

        opacity: 0;

        pointer-events: none;

        transition: 0.3s ease;
    }

    .navbar.active {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .nav-call {
        display: none;
    }

    .menu-btn {
        display: block;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: 120px;

        padding-bottom: 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-wrap: wrap;

        margin-bottom: 35px;
    }

    .hero-buttons .btn {
        flex: 1;

        min-width: 130px;
    }

    .hero-trust {
        gap: 15px;
    }

    .trust-item strong {
        font-size: 18px;
    }

    .trust-item span {
        font-size: 9px;
    }

    .trust-divider {
        height: 30px;
    }

    .hero-image-wrapper {
        width: 100%;
    }

    .hero-image-wrapper img {
        height: 430px;
    }

    .experience-card {
        left: 15px;
        bottom: 20px;
    }

    .hero-image-wrapper::after {
        display: none;
    }


    /* Services */

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


    /* About */

    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image img {
        height: 400px;
    }

    .about-experience {
        right: 10px;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }


    /* Work */

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

    .work-item {
        height: 280px;
    }


    /* Why */

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


    /* Areas */

    .areas-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* Contact */

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

        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }


    /* Footer */

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

        gap: 35px;
    }

    .footer-bottom .container {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Mobile contact bar */

    .mobile-contact-bar {
        position: fixed;

        display: grid;

        grid-template-columns: 1fr 1fr;

        left: 0;
        bottom: 0;

        width: 100%;

        z-index: 9999;

        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.12);
    }

    .mobile-contact-bar a {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 8px;

        height: 60px;

        font-size: 13px;

        font-weight: 800;
    }

    .mobile-call {
        background: var(--black);

        color: white;
    }

    .mobile-whatsapp {
        background: var(--whatsapp);

        color: white;
    }
}


/* =========================================================
   17. SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .hero-image-wrapper img {
        height: 360px;
    }

    .experience-card {
        padding: 13px;

        left: 10px;
    }

    .experience-icon {
        width: 36px;
        height: 36px;
    }

    .experience-card strong {
        font-size: 12px;
    }

    .experience-card span {
        font-size: 9px;
    }

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

    .areas-list {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about-content h2,
    .areas-content h2,
    .contact-content h2 {
        font-size: 32px;
    }
}

