:root {
    /* Color Palette - Premium Solar Gold & Dark Navy */
    --primary: #FFD700;
    /* Gold */
    --primary-dark: #FFA500;
    /* Dark Orange/Gold */
    --secondary: #00E676;
    /* Brighter Eco Green */
    --accent: #FF4500;
    /* Orange Red */

    --bg-dark: #080c15;
    /* Deepest Navy for High Contrast */
    --bg-card: rgba(255, 255, 255, 0.03);
    /* Lighter Glass Card */
    --text-main: #FFFFFF;
    /* Pure White */
    --text-muted: #CBD5E1;
    /* Much Brighter Grey for Readability */

    --glass-border: 1px solid rgba(255, 255, 255, 0.15);
    /* Crisper Border */
    --glass-shine: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
    /* Fail-safe visual */
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

ul {
    list-style: none;
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 12, 21, 0.9);
    /* Darker backdrop */
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.logo img {
    height: 48px;
    /* Slightly larger logo */
    width: auto;
    object-fit: contain;
}

.logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

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

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    border-radius: 8px;
}

/* HERO SECTION */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.08), transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
    /* Strong shadow for readability */
}

.hero h1 .text-gradient {
    text-shadow: none;
    /* Let gradient shine */
}

.hero p {
    font-size: 1.3rem;
    color: #E2E8F0;
    /* Brighter than muted */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-badge {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    display: inline-block;
    backdrop-filter: blur(4px);
}

/* SECTIONS COMMON */
section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* CARDS & GRIDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.prod-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.icon-box {
    width: 72px;
    height: 72px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* TABLE STYLES */
.project-table-container {
    overflow-x: auto;
    border-radius: 24px;
    border: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    min-width: 800px;
    /* Ensure scrolling on small screens */
}

.project-table th,
.project-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.project-table tr {
    transition: 0.2s;
}

.project-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.project-table td {
    color: var(--text-muted);
    font-size: 1rem;
}

.project-table .highlight-row td {
    color: white;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.02);
}

.project-table td.text-primary {
    color: var(--primary);
    font-weight: 700;
}



/* ROI CALCULATOR */
.calculator-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1623 100%);
}

.calc-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.calc-input-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
}

input[type=range] {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    margin-top: -9px;
    /* Correct thumb alignment */
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}


/* FAQ Section */
.faq-section {
    padding: 0 0 100px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.2rem;
    border-radius: 20px;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Page Extras */
.contact-info-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    height: 100%;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.map-frame {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: var(--primary);
    color: black;
    transform: translateY(-3px);
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-card span {
    display: block;
}

.result-card .lbl {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-card .val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020617;
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

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

.footer-contact h4,
.footer-links-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-links-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

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

/* RESPONSIVE MEDIA QUERIES */

/* Tablet */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .calc-container {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Navbar */
    .navbar .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 2.5rem;
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo span {
        max-width: 150px;
    }

    /* Sections */
    .hero {
        padding-top: 140px;
        text-align: center;
        /* Allow flexible height */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Larger than before for readability */
    }

    .hero p {
        font-size: 1.1rem;
    }

    .calc-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .calc-results {
        grid-template-columns: 1fr;
        /* Stack results on mobile */
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand div {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .footer-links-col {
        align-items: center;
    }

    /* Stats Grid Fix for Mobile */
    /* This assumes the Trust Bar uses flex currently. 
       Let's ensure it wraps nicely or becomes a grid. */
    .container>div>div[style*="flex"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem !important;
        justify-items: center;
    }

    /* Adjust grid for cards on mobile to be 1 column */
    .grid {
        grid-template-columns: 1fr;
    }
}

/* WHATSAPP CHATBOT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: float 6s ease-in-out infinite;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 2rem;
    color: white;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* SOCIAL MEDIA FLOATING BAR */
.social-float {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-float a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-float .facebook {
    background: linear-gradient(135deg, #1877F2, #0D5BBF);
}

.social-float .instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
}

.social-float .linkedin {
    background: linear-gradient(135deg, #0077B5, #005582);
}

.social-float a:hover {
    transform: translateX(-8px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* PARTNER LOGOS */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-logo {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.partner-logo:hover {
    border-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* PAGE NAVIGATION CARDS */
.page-nav-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1a 50%, var(--bg-dark) 100%);
}

.page-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.page-nav-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.page-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: 0.3s;
}

.page-nav-card:hover::before {
    opacity: 1;
}

.page-nav-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.page-nav-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
}

.page-nav-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-nav-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.page-nav-card .btn {
    font-size: 0.85rem;
    padding: 10px 24px;
}

/* TESTIMONIALS */
.testimonial-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.author-info h4 {
    color: white;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* STATS COUNTER */
.stats-section {
    padding: 80px 0;
    background: rgba(255, 215, 0, 0.03);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* MOBILE RESPONSIVE UPDATES */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }

    .social-float {
        display: none;
        /* Hide on mobile to avoid clutter */
    }

    .page-nav-grid {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* CONTACT PAGE STYLES */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.smart-form-container {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
}

.form-header {
    margin-bottom: 2.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-muted);
}

.option-card:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.08);
    color: white;
    transform: translateY(-5px);
}

.option-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
    color: white;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.form-step {
    animation: fadeIn 0.4s ease;
}

.form-step.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-suggestion {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 230, 118, 0.05));
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    color: white;
}

.input-group input,
.input-group textarea {
    font-family: var(--font-body);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.3);
}

/* Contact info sidebar */
.contact-info-card {
    position: sticky;
    top: 100px;
}

/* Hero with background image */
.contact-hero {
    min-height: 65vh;
    padding-top: 150px;
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at bottom right, rgba(255, 215, 0, 0.08), transparent 60%);
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('solar_lighting.png') center/cover no-repeat;
    filter: brightness(0.3) blur(2px);
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for contact page */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .option-card {
        padding: 1.5rem 0.8rem;
    }

    .contact-info-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .option-card {
        padding: 1.5rem;
    }

    .smart-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-hero {
        min-height: 50vh;
        padding-top: 120px;
    }
}

/* PORTFOLIO PAGE ENHANCEMENTS */
.portfolio-gallery {
    padding: 100px 0;
}

.portfolio-gallery .grid {
    gap: 2.5rem;
}

.portfolio-gallery .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-gallery .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-gallery .card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.portfolio-gallery .card-content p {
    flex: 1;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Portfolio table improvements */
.project-table {
    font-size: 0.95rem;
}

.project-table th,
.project-table td {
    padding: 1.2rem 1.5rem;
}

/* Better mobile for portfolio */
@media (max-width: 768px) {
    .portfolio-gallery .grid {
        gap: 2rem;
    }

    .portfolio-gallery .card-content h3 {
        font-size: 1.2rem;
    }

    .project-table {
        font-size: 0.85rem;
    }

    .project-table th,
    .project-table td {
        padding: 1rem;
    }
}

/* Contact page mobile fixes */
@media (max-width: 480px) {
    .contact-hero {
        min-height: 45vh;
        padding-top: 100px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .smart-form-container {
        padding: 1.5rem 1rem;
    }

    .option-card {
        padding: 1.2rem 1rem;
    }

    .option-card span {
        font-size: 2rem !important;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }
}

/* Ensure card images maintain aspect ratio */
.prod-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix footer alignment on all devices */
.footer-contact p {
    margin: 0.3rem 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 2rem;
    }

    .footer-contact p {
        text-align: center;
    }
}

/* PRODUCTS PAGE - COMPARISON TABLE */
.comparison {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.comparison h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.compare-table .col {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.compare-table .col.highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.05));
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.compare-table .col h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.compare-table .col.highlight h4 {
    color: var(--primary);
}

.compare-table .col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compare-table .col ul li {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.compare-table .col.highlight ul li {
    border-left-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

/* SOLUTIONS PAGE - SOLUTION BLOCKS */
.solutions-detail {
    padding: 100px 0;
}

.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.solution-block.inverse {
    grid-template-columns: 1fr 1fr;
}

.solution-block.inverse .sol-text {
    order: 2;
}

.solution-block.inverse .sol-img {
    order: 1;
}

.sol-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.sol-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.check-list li i {
    color: var(--secondary);
    font-size: 1.2rem;
    font-style: normal;
}

.sol-img img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* MAP SECTION */
.map-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.map-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.map-section p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container img {
    width: 100%;
    display: block;
}

.map-pin {
    position: absolute;
    background: var(--primary);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 8px 24px rgba(255, 215, 0, 0.8);
    }
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .solution-block {
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .sol-text h2 {
        font-size: 2rem;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .compare-table {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .compare-table .col.highlight {
        transform: scale(1);
    }

    .comparison h2 {
        font-size: 2rem;
    }

    .solution-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .solution-block.inverse .sol-text {
        order: 1;
    }

    .solution-block.inverse .sol-img {
        order: 2;
    }

    .sol-text h2 {
        font-size: 1.8rem;
    }

    .map-pin {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .map-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .comparison h2 {
        font-size: 1.6rem;
    }

    .compare-table .col {
        padding: 1.5rem;
    }

    .compare-table .col h4 {
        font-size: 1.2rem;
    }

    .sol-text h2 {
        font-size: 1.5rem;
    }

    .map-section h2 {
        font-size: 1.6rem;
    }

    .map-pin {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
}
