/* =========================================================
   SUN POWER
   PREMIUM SOLAR & ELECTRICAL WEBSITE
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #17202a;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;
    height: 82px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #edf0f2;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(15px);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo span {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #ffb703;

    color: #ffffff;

    font-size: 24px;

    box-shadow: 0 7px 20px rgba(255, 183, 3, 0.25);
}

.logo h2 {
    font-family: "Poppins", sans-serif;

    font-size: 23px;
    font-weight: 800;

    color: #101820;

    letter-spacing: -0.5px;
}


/* NAVIGATION */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar nav a {
    position: relative;

    color: #505b66;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #f3a900;
}

.navbar nav a::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: #ffb703;

    transform: translateX(-50%);

    transition: 0.3s;
}

.navbar nav a:hover::before {
    width: 18px;
}


/* QUOTE BUTTON */

.quote-btn {
    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #101820;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.15);

    transition: 0.3s;
}

.quote-btn:hover {
    background: #ffb703;
    color: #101820;

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 690px;

    padding: 75px 7% 85px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    position: relative;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 183, 3, 0.16),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #ffffff 0%,
            #fffdf7 55%,
            #f6f9fb 100%
        );
}


/* HERO DECORATION */

.hero::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -250px;
    bottom: -280px;

    border: 1px solid rgba(255, 183, 3, 0.18);

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -215px;

    border: 1px solid rgba(255, 183, 3, 0.12);

    border-radius: 50%;
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}


/* SMALL TITLE */

.small-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #dc9700;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.small-title::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #ffb703;
}


/* HERO HEADING */

.hero-content h1 {
    margin-bottom: 25px;

    font-family: "Poppins", sans-serif;

    color: #101820;

    font-size: clamp(44px, 5vw, 67px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -2.5px;
}

.hero-content h1 span {
    position: relative;

    color: #f4a900;
}

.hero-content h1 span::after {
    content: "";

    position: absolute;

    left: 3px;
    bottom: -5px;

    width: 100%;
    height: 5px;

    border-radius: 20px;

    background: rgba(255, 183, 3, 0.25);
}


/* HERO TEXT */

.hero-content > p:not(.small-title) {
    max-width: 560px;

    margin-bottom: 34px;

    color: #68727d;

    font-size: 16px;

    line-height: 1.9;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.primary-btn,
.secondary-btn {
    min-height: 52px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;
}


/* PRIMARY */

.primary-btn {
    background: #ffb703;
    color: #101820;

    box-shadow: 0 12px 30px rgba(255, 183, 3, 0.25);
}

.primary-btn:hover {
    background: #101820;
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(16, 24, 32, 0.18);
}


/* SECONDARY */

.secondary-btn {
    color: #101820;

    background: #ffffff;

    border: 1px solid #dce1e5;
}

.secondary-btn:hover {
    border-color: #ffb703;

    color: #d99500;

    transform: translateY(-3px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-image {
    min-height: 500px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 32px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #101c29,
            #1d3446
        );

    box-shadow:
        0 30px 70px rgba(16, 24, 32, 0.20);
}


/* SUN GLOW */

.hero-image::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -150px;
    right: -100px;

    border-radius: 50%;

    background: rgba(255, 183, 3, 0.20);

    filter: blur(2px);
}


/* GRID EFFECT */

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}


/* SOLAR CARD */

.solar-card {
    width: 72%;
    max-width: 360px;

    padding: 50px 30px;

    position: relative;
    z-index: 3;

    text-align: center;

    border-radius: 24px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.14);

    backdrop-filter: blur(15px);

    color: #ffffff;

    box-shadow: 0 25px 60px rgba(0,0,0,0.20);
}

.solar-card:first-line {
    font-size: 60px;
}

.solar-card h3 {
    margin-top: 18px;

    font-family: "Poppins", sans-serif;

    font-size: 26px;
    font-weight: 700;
}

.solar-card p {
    margin-top: 7px;

    color: #bfcbd4;

    font-size: 13px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    padding: 105px 7%;

    background: #ffffff;
}


/* SECTION TITLE */

.section-title {
    max-width: 700px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-title p {
    margin-bottom: 12px;

    color: #df9900;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.section-title h2 {
    font-family: "Poppins", sans-serif;

    color: #101820;

    font-size: clamp(30px, 4vw, 43px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -1px;
}


/* SERVICE GRID */

.service-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* CARD */

.service-card {
    min-height: 260px;

    padding: 30px 25px;

    position: relative;

    background: #ffffff;

    border: 1px solid #edf0f2;

    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(16,24,32,0.045);

    transition: all 0.35s ease;
}

.service-card::after {
    content: "";

    position: absolute;

    left: 25px;
    bottom: 0;

    width: 0;
    height: 3px;

    border-radius: 5px;

    background: #ffb703;

    transition: 0.35s;
}

.service-card:hover {
    transform: translateY(-9px);

    border-color: #f0e5c8;

    box-shadow: 0 25px 55px rgba(16,24,32,0.10);
}

.service-card:hover::after {
    width: 55px;
}


/* ICON */

.service-card .icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background: #fff6db;

    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 11px;

    font-family: "Poppins", sans-serif;

    color: #17202a;

    font-size: 18px;
}

.service-card p {
    color: #747e88;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   WHY US
========================================================= */

.why-us {
    padding: 105px 7%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;

    background: #f7f9fa;
}


/* CONTENT */

.why-us > div:first-child {
    max-width: 590px;
}

.why-us .small-title {
    margin-bottom: 15px;
}

.why-us h2 {
    margin-bottom: 22px;

    font-family: "Poppins", sans-serif;

    color: #101820;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1.2px;
}

.why-us > div:first-child > p:not(.small-title) {
    margin-bottom: 30px;

    color: #68737d;

    font-size: 15px;

    line-height: 1.9;
}


/* WHY BOX */

.why-box {
    padding: 18px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 13px;

    border-radius: 24px;

    background: #101c29;

    box-shadow: 0 30px 60px rgba(16,24,32,0.18);
}

.why-box > div {
    min-height: 170px;

    padding: 20px 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;

    border-radius: 16px;

    background: rgba(255,255,255,0.045);

    border: 1px solid rgba(255,255,255,0.07);
}

.why-box strong {
    margin-bottom: 8px;

    color: #ffb703;

    font-family: "Poppins", sans-serif;

    font-size: 27px;

    font-weight: 800;
}

.why-box span {
    color: #bdc7d0;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 95px 7%;

    position: relative;

    text-align: center;

    overflow: hidden;

    background: #ffb703;
}

.cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: -300px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.20);
}

.cta::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -250px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.20);
}

.cta h2 {
    position: relative;
    z-index: 2;

    margin-bottom: 12px;

    font-family: "Poppins", sans-serif;

    color: #101820;

    font-size: clamp(32px, 4vw, 45px);

    line-height: 1.2;
}

.cta p {
    position: relative;
    z-index: 2;

    margin-bottom: 30px;

    color: rgba(16,24,32,0.70);

    font-size: 15px;
}

.cta-btn {
    position: relative;
    z-index: 2;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border-radius: 9px;

    background: #101820;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 12px 30px rgba(16,24,32,0.20);
}

.cta-btn:hover {
    background: #ffffff;

    color: #101820;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 65px 7% 25px;

    text-align: center;

    background: #0c151f;

    color: #ffffff;
}

footer h2 {
    margin-bottom: 7px;

    font-family: "Poppins", sans-serif;

    font-size: 24px;

    font-weight: 800;
}

footer > p {
    margin-bottom: 7px;

    color: #8995a1;

    font-size: 13px;
}

footer .copyright {
    margin-top: 35px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #66727e;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .navbar {
        padding: 0 4%;
    }

    .navbar nav {
        gap: 22px;
    }

    .hero {
        padding: 70px 5%;

        gap: 45px;
    }

    .services,
    .why-us {
        padding-left: 5%;
        padding-right: 5%;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us {
        gap: 50px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* NAVBAR */

    .navbar {
        height: auto;

        padding: 16px 5%;

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .logo {
        width: 100%;

        justify-content: center;
    }

    .navbar nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 17px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .quote-btn {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 70px 5%;

        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .small-title {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .hero-content > p:not(.small-title) {
        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-image {
        min-height: 380px;

        border-radius: 24px;
    }


    /* SERVICES */

    .services {
        padding: 75px 5%;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }


    /* WHY */

    .why-us {
        padding: 75px 5%;

        grid-template-columns: 1fr;

        gap: 45px;

        text-align: center;
    }

    .why-us > div:first-child {
        max-width: 100%;
    }

    .why-us .small-title {
        justify-content: center;
    }

    .why-box {
        grid-template-columns: 1fr;
    }

    .why-box > div {
        min-height: 120px;
    }


    /* CTA */

    .cta {
        padding: 75px 5%;
    }


    /* FOOTER */

    footer {
        padding: 55px 5% 22px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .logo h2 {
        font-size: 20px;
    }

    .logo span {
        width: 40px;
        height: 40px;

        font-size: 21px;
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar nav a {
        font-size: 11px;
    }

    .hero {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-buttons {
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-image {
        min-height: 310px;
    }

    .solar-card {
        width: 82%;

        padding: 40px 20px;
    }

    .solar-card h3 {
        font-size: 22px;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .why-us h2 {
        font-size: 31px;
    }

    .cta h2 {
        font-size: 30px;
    }
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;

    background: #f5f7f8;
    border: 1px solid #e8ecef;
    border-radius: 8px;
}

.language-switcher a {
    min-width: 32px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    color: #68727d;
    font-size: 11px;
    font-weight: 700;
}

.language-switcher a:hover,
.language-switcher a.active {
    background: #ffb703;
    color: #101820;
}
@media (max-width: 768px) {

    .navbar-right {
        width: 100%;
        justify-content: center;
    }

    .language-switcher {
        order: 1;
    }

    .navbar-right .quote-btn {
        display: none;
    }
}