@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Colors */
    --solar-yellow: #FDB813;
    --solar-yellow-dark: #E5A60F;
    --deep-blue: #0F172A;
    --deep-blue-light: #1E293B;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --text-gray: #475569;
    --text-dark: #1E293B;

    /* Semantic Colors */
    --primary: var(--solar-yellow);
    --secondary: var(--deep-blue);
    --bg-light: var(--light-gray);
    
    /* Gradients */
    --gradient-yellow: linear-gradient(135deg, #FDB813 0%, #FFCC33 100%);
    --gradient-blue: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 30px 60px -12px rgba(15, 23, 42, 0.12), 0 18px 36px -18px rgba(15, 23, 42, 0.15);
    
    /* Layout Constants */
    --container-max-width: 1200px;
    --section-padding: 100px 20px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

section {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-blue);
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(253, 184, 19, 0.1);
    color: var(--solar-yellow-dark);
    font-weight: 600;
    font-size: 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 50px;
}

/* Animations Variables */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 10px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-yellow);
    color: var(--deep-blue);
    box-shadow: 0 10px 20px -5px rgba(253, 184, 19, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(253, 184, 19, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(37, 211, 102, 0.6);
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--medium-gray);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--deep-blue);
}

.logo span {
    color: var(--solar-yellow);
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.nav-links li a:hover {
    color: var(--solar-yellow-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #ffffff 50%, #f1f5f9 50%);
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h1 span {
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

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

.hero-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-stats-floating {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.hero-stats-floating .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--deep-blue);
}

.hero-stats-floating .text h4 {
    font-size: 20px;
    margin: 0;
}

.hero-stats-floating .text p {
    font-size: 12px;
    margin: 0;
    color: var(--text-gray);
}

/* Trust Indicators */
.trust-indicators {
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.trust-card {
    text-align: center;
    border-right: 1px solid var(--medium-gray);
}

.trust-card:last-child {
    border-right: none;
}

.trust-card h3 {
    font-size: 2.5rem;
    color: var(--solar-yellow-dark);
    margin-bottom: 5px;
}

.trust-card p {
    color: var(--text-gray);
    font-weight: 500;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--solar-yellow);
    box-shadow: var(--shadow-xl);
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(253, 184, 19, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--solar-yellow-dark);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
}

/* Solutions */
.solutions {
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.solution-image {
    height: 240px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.solution-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Calculator */
.calculator-section {
    background: var(--deep-blue);
    color: var(--white);
}

.calculator-section .section-title, 
.calculator-section h2 {
    color: var(--white);
}

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

.calc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group select, 
.form-group input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.form-group select option {
    background: var(--deep-blue);
}

.results-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    color: var(--deep-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-gray);
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    font-size: 18px;
}

.result-value span {
    color: var(--solar-yellow-dark);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    color: white;
}

.project-card h3 {
    color: white;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.project-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Installation Process */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    padding-bottom: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--deep-blue);
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    border-color: var(--solar-yellow);
    background: var(--solar-yellow);
    transform: scale(1.1);
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-gray);
    padding: 0 10px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.customer-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.customer-name {
    font-weight: 700;
    color: var(--deep-blue);
}

.customer-title {
    color: var(--text-gray);
    font-size: 14px;
}

/* SubsidySection */
.subsidy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.subsidy-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--medium-gray);
}

.subsidy-card ul {
    margin-top: 20px;
}

.subsidy-card li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--bg-light);
}

.subsidy-card li:last-child {
    border-bottom: none;
}

.subsidy-card li i {
    color: #25D366;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: var(--transition-fast);
}

.faq-header:hover {
    background: var(--bg-light);
}

.faq-header h3 {
    font-size: 18px;
    margin: 0;
}

.faq-icon {
    font-size: 20px;
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.faq-content p {
    padding: 0 20px 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

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

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: var(--deep-blue);
    border-radius: 24px;
    color: white;
}

.contact-info h2 {
    color: white;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--solar-yellow);
}

.info-text h4 {
    color: white;
    margin-bottom: 5px;
}

.contact-form {
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.contact-form .form-group input, 
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--medium-gray);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
footer {
    background: var(--deep-blue);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--solar-yellow);
    color: var(--deep-blue);
}

footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 20px;
}

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

.footer-links li a {
    color: #94a3b8;
}

.footer-links li a:hover {
    color: var(--solar-yellow);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-card { border-right: none; border-bottom: 1px solid var(--medium-gray); padding-bottom: 20px; }
    .calculator-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar .container { padding: 0 15px; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; }
    .hero { height: auto; padding: 120px 0 60px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .process-timeline { flex-direction: column; gap: 40px; }
    .process-timeline::before { width: 4px; height: 100%; left: 50%; transform: translateX(-50%); top: 0; }
}
