/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Inter:wght@300;400;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #FFD700;
    --secondary-color: #FFA500;
    /* Solar Orange */
    --accent-color: #00BFFF;
    /* sky blue reflection */
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --border-color: #333333;
    --gap: 20px;
}

/* Reset - Avoiding * selector as requested */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

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

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Advert Banner Top */
.advert-top {
    background-color: #333;
    color: #aaa;
    font-size: 0.8rem;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #444;
}

/* Header */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 75%;
    /* 75% width as requested */
    height: 100vh;
    background-color: var(--bg-card);
    padding: 80px 20px;
    transition: 0.4s ease;
    z-index: 1050;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-item {
    font-size: 1.2rem;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #222, var(--bg-dark));
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* CSS Solar Panel Art since Image Gen Failed */
.solar-panel-art {
    width: 400px;
    height: 600px;
    background: #111;
    border: 10px solid #000;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 2px;
    padding: 5px;
}

.solar-cell {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    /* Distinctive look but let's make it more realistic blue/black */
    background: linear-gradient(135deg, #0e1c36, #1c2e4a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.solar-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

/* Glassmorphism Background Elements */
.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    top: -100px;
    right: -100px;
}

.orb-2 {
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1), transparent 70%);
}


/* About Us */
.about-section {
    background-color: var(--bg-dark);
}

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

.content-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Why Us - Features */
.features-section {
    background-color: var(--bg-card);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-dark);
    position: relative;
}

.testimonial-card {
    background: linear-gradient(145deg, #1e1e1e, #151515);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
}

/* FAQ */
.faq-section {
    background-color: var(--bg-card);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
    margin-top: 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}


/* Footer */
.footer-main {
    background-color: #000;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-legal-note {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border-top: 1px solid #222;
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 215, 0, 0.3);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.btn-accept {
    background-color: var(--primary-color);
    color: #000;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid #555;
    color: #fff;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    /* Changed from block to flex for centering */
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    max-height: 80vh;
    /* Allow scrolling within modal if long */
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-header {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.modal-content h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal-body-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

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

    .solar-panel-art {
        width: 250px;
        height: 400px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 10px auto;
    }
}