/* NEMSolar - Custom CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d3b5c;
    --secondary-color: #1a5c82;
    --accent-color: #c4d82e;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0d3b5c;
    --border-color: #e1e8ed;
    --success-color: #c4d82e;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    transition: transform 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.9;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    display: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav li {
    position: relative;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.75rem 0;
    position: relative;
}

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

.nav a:hover {
    color: var(--accent-color);
}

.nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
    padding: 0.75rem 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 380px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 0.75rem 0;
}

/* Bridge area between dropdown button and content */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    z-index: 999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    white-space: normal;
    line-height: 1.4;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--accent-color);
    padding-left: 24px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066A6 0%, #0088BB 50%, #0099CC 100%);
    color: var(--text-light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196, 216, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 92, 130, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4d82e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.hero-text-content {
    text-align: left;
    flex: 0 0 45%;
    padding-bottom: 2rem;
}

.hero-image-content {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
}

.hero-image {
    height: 500px;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-30px 20px 50px rgba(0, 0, 0, 0.25));
}

.hero-badge {
    display: inline-block;
    background: rgba(196, 216, 46, 0.15);
    color: var(--accent-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(196, 216, 46, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #c4d82e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-button-primary {
    background: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(196, 216, 46, 0.3);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 216, 46, 0.4);
}

.hero-button-primary svg {
    transition: transform 0.3s ease;
}

.hero-button-primary:hover svg {
    transform: translateX(4px);
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Clouds */
/* === OPTIMIZED CLOUD POSITIONING WITH WRAPPER === */

/* === CLOUDS POSITIONED RELATIVE TO IMAGE CONTAINER === */

/* Make hero-image-content a positioning context for clouds */
.hero-image-content {
    position: relative;
}

/* Cloud animations - using right position instead of transform */
@keyframes slideInRight {
    from {
        right: -300px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        left: -300px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideInCenter {
    from {
        left: calc(50% + 300px);
        opacity: 0;
    }
    to {
        left: 50%;
        opacity: 1;
    }
}

/* Hero image in front of clouds */
.hero-image {
    position: relative;
    z-index: 2;
}

/* CLOUD 1 — RIGHTMOST CLOUD at house right edge */
.hero-cloud-1 {
    position: absolute;
    top: 20px;
    right: 0;
    width: 180px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    animation: slideInRight 1.2s ease-out;
    transition: opacity 0.3s ease-out;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* CLOUD 2 — MIDDLE CLOUD above roof center */
.hero-cloud-2 {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
    animation: slideInCenter 1s ease-out 0.2s backwards;
    transition: opacity 0.3s ease-out;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* CLOUD 3 — LEFT CLOUD above house left edge */
.hero-cloud-3 {
    position: absolute;
    top: 40px;
    left: 0;
    width: 180px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    animation: slideInLeft 1.4s ease-out 0.4s backwards;
    transition: opacity 0.3s ease-out;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Fade out clouds on scroll */
.hero.scrolled .hero-cloud-1,
.hero.scrolled .hero-cloud-2,
.hero.scrolled .hero-cloud-3 {
    opacity: 0;
}

/* Tablet-specific hero layout */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        justify-content: center;
    }

    .hero-text-content {
        flex: 1;
        max-width: 650px;
        text-align: center;
        padding-bottom: 0;
    }

    .hero-image-content {
        display: none;
    }

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

    .hero-cloud-wrapper {
        display: none;
    }
}

/* Mobile hero image section - hidden on desktop */
.hero-image-mobile {
    display: none;
}

/* Adjust clouds for mobile */
@media (max-width: 768px) {
    /* Hide desktop hero image on mobile */
    .hero-image-content {
        display: none !important;
    }

    /* Show mobile hero image */
    .hero-image-mobile {
        display: block;
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 1.5rem auto;
    }

    .hero-image-mobile-img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        display: block;
        position: relative;
        z-index: 2;
    }

    /* Mobile clouds positioned behind the image */
    .hero-cloud-mobile-1,
    .hero-cloud-mobile-2,
    .hero-cloud-mobile-3 {
        position: absolute;
        width: 100px;
        height: auto;
        z-index: 1;
    }

    .hero-cloud-mobile-1 {
        top: 5px;
        right: 10%;
        animation: float 6s ease-in-out infinite;
    }

    .hero-cloud-mobile-2 {
        top: -5px;
        right: 35%;
        animation: float 7s ease-in-out infinite 0.5s;
    }

    .hero-cloud-mobile-3 {
        top: 15px;
        left: 10%;
        animation: float 8s ease-in-out infinite 1s;
    }

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

/* Remove old clouds */
.hero-clouds,
.hero-clouds-animated {
    display: none !important;
}

/* Sections */
.section {
    padding: 1.5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    max-width: 800px;
}

/* Principles */
.principles {
    margin-top: 3rem;
}

.principles h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.principle-card h4 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    height: 100%;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Technology Features */
.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-feature {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.tech-feature h3 {
    color: var(--secondary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-number {
    background: var(--accent-color);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.reason {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--success-color);
}

.reason-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: var(--primary-color);
    opacity: 0.8;
}

.reason h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

/* Contact CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
}

.section-cta h2 {
    color: var(--text-light);
    font-size: 2.5rem;
}

.section-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
    padding: 4rem 0 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.location-icon {
    font-size: 0.8rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-cta {
    margin-top: auto;
}

.footer-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 166, 0.3);
}

.footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 166, 0.4);
}

.footer-bottom {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-certifications {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-certifications span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-certifications {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        text-align: left;
    }

    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Hide nav by default on mobile */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 4rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav a {
        padding: 1rem 1.5rem;
    }

    /* Mobile dropdown menu */
    .dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown::before {
        display: none;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropbtn::after {
        content: '▼';
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropbtn::after {
        transform: rotate(180deg);
    }

    .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        min-width: 100%;
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 0;
        transform: none;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--text-light);
    }

    .dropdown-content a:hover,
    .dropdown-content a:active {
        background-color: rgba(196, 216, 46, 0.1);
        color: var(--accent-color);
        border-left-color: var(--accent-color);
        padding-left: 2.25rem;
    }

    /* Hero responsive */
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text-content {
        text-align: center;
        flex: 1;
        padding-bottom: 0;
    }

    .hero-image-content {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .hero-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .tech-features,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .header {
        padding: 0.875rem 0;
    }

    .logo-image {
        height: 55px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav ul {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 1rem;
    }

    .dropdown-content {
        min-width: 320px;
    }

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

@media (max-width: 768px) {
    .header {
        padding: 0.875rem 0;
    }

    .logo-image {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
    }

    .logo-image {
        height: 45px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .hamburger {
        padding: 0.25rem;
    }

    .hamburger span {
        width: 22px;
    }

    .nav {
        width: 100%;
        right: -100%;
    }

    .nav.active {
        right: 0;
    }

    /* Hero small mobile */
    .hero {
        padding: 2.5rem 0;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Styles */
.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

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

.form-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.form-textarea + .input-icon {
    top: 1rem;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(196, 216, 46, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding: 1rem 1rem 1rem 1rem;
}

.form-input::placeholder {
    color: #999;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #a8b825 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(196, 216, 46, 0.3);
    margin-top: 0.5rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 216, 46, 0.4);
}

.form-submit svg {
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--accent-color);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #a8b825 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--accent-color);
}

.highlight-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-left: none;
    color: var(--text-light);
}

.highlight-card h4 {
    color: var(--accent-color);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Service Areas */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-top: 3px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.area-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.area-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

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

    .form-submit {
        width: 100%;
    }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

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

/* FAQ Category */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-color);
    font-weight: 700;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--accent-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(13, 59, 92, 0.15);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
    background: linear-gradient(90deg, rgba(196, 216, 46, 0.05) 0%, transparent 100%);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    background: linear-gradient(90deg, rgba(196, 216, 46, 0.1) 0%, transparent 100%);
}

.faq-question span {
    flex: 1;
}

/* FAQ Icon */
.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

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

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #555;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ CTA Section */
.faq-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    text-align: center;
    color: var(--text-light);
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-cta-button.primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.faq-cta-button.primary:hover {
    background: #d4e83e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 216, 46, 0.3);
}

.faq-cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* FAQ Responsive Styles */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .faq-cta h3 {
        font-size: 1.75rem;
    }

    .faq-cta p {
        font-size: 1rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-cta-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-category-title {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }

    .faq-cta {
        padding: 2rem 1.5rem;
    }

    .faq-cta h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   TECHNOLOGY PAGE - MODERN 2025 STYLES
   ============================================ */

/* Technology Hero Section */
.tech-hero {
    background: linear-gradient(135deg, #0a2e4a 0%, #1a5c82 50%, #0d3b5c 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4d82e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.tech-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tech-hero-text {
    color: var(--text-light);
}

.tech-badge {
    display: inline-block;
    background: rgba(196, 216, 46, 0.15);
    color: var(--accent-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(196, 216, 46, 0.3);
}

.tech-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.tech-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.tech-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.tech-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tech-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Technology Introduction Section */
.tech-intro-section {
    background: var(--bg-light);
}

.tech-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tech-intro-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tech-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.tech-intro-highlight {
    position: sticky;
    top: 100px;
}

.highlight-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--accent-color);
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tech-checklist {
    list-style: none;
    padding: 0;
}

.tech-checklist li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.tech-checklist li:last-child {
    border-bottom: none;
}

/* Bento Grid Section */
.tech-bento-section {
    background: var(--bg-white);
    padding: 5rem 0;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle-center {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.tech-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    margin-top: 3rem;
}

.tech-bento-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 216, 46, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-bento-card:hover::before {
    opacity: 1;
}

.tech-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

/* Bento Grid Layouts */
.tech-card-large {
    grid-column: span 2;
    grid-row: span 1;
}

.tech-card-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.tech-card-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Card Specific Colors */
.tech-card-modules {
    background: linear-gradient(135deg, #fff9e6 0%, #f8f9fa 100%);
}

.tech-card-inverters {
    background: linear-gradient(135deg, #e6f7ff 0%, #f8f9fa 100%);
}

.tech-card-storage {
    background: linear-gradient(135deg, #f0f9ff 0%, #f8f9fa 100%);
}

.tech-card-monitoring {
    background: linear-gradient(135deg, #f0fff4 0%, #f8f9fa 100%);
}

.tech-card-mounting {
    background: linear-gradient(135deg, #fef2f2 0%, #f8f9fa 100%);
}

.tech-card-quality {
    background: linear-gradient(135deg, #faf5ff 0%, #f8f9fa 100%);
}

.tech-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-bento-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.tech-bento-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.tech-features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.tech-features-list li {
    padding: 0.35rem 0;
    color: #666;
    font-size: 0.88rem;
}

.tech-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.tech-card-link:hover {
    gap: 1rem;
    color: var(--accent-color);
}

/* Detail Layout Sections */
.tech-detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.tech-detail-reverse {
    grid-template-columns: 1fr 1.5fr;
}

.tech-detail-reverse .tech-detail-visual {
    order: -1;
}

.tech-detail-content h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.tech-detail-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-detail-feature strong {
    display: block;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tech-detail-feature p {
    color: #666;
    line-height: 1.8;
}

.tech-detail-visual {
    position: sticky;
    top: 100px;
}

.tech-visual-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tech-visual-card-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.tech-visual-card-accent h4 {
    color: var(--text-light);
}

.tech-visual-card-dark {
    background: var(--primary-color);
    color: var(--text-light);
}

.tech-visual-card-dark h4 {
    color: var(--text-light);
}

.tech-visual-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.spec-label {
    font-weight: 600;
    color: #666;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 700;
}

.tech-inverter-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inverter-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.type-icon {
    font-size: 1.5rem;
}

.type-name {
    font-weight: 600;
}

.monitoring-features {
    list-style: none;
    padding: 0;
}

.monitoring-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.monitoring-features li:last-child {
    border-bottom: none;
}

/* Applications Grid */
.tech-applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tech-application {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.app-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tech-application strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.tech-application p {
    color: #666;
    font-size: 0.95rem;
}

.storage-range {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.storage-option {
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.storage-option strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.storage-option p {
    color: #666;
    font-size: 0.95rem;
}

/* Mounting Grid */
.mounting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mounting-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mounting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.mounting-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.mounting-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.mounting-card p {
    color: #666;
    line-height: 1.7;
}

/* Quality Advantages */
.quality-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.quality-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.quality-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
    display: block;
    text-align: center;
}

.quality-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.quality-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Ecosystem Section */
.tech-ecosystem-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ecosystem-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.ecosystem-content .lead-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.ecosystem-benefit {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ecosystem-benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.ecosystem-benefit h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.ecosystem-benefit p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Malaysia Section */
.malaysia-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.malaysia-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.malaysia-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.malaysia-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.malaysia-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlight-emoji {
    font-size: 2.5rem;
}

.malaysia-highlight strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* CTA Section */
.tech-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
}

.tech-cta-content {
    text-align: center;
    color: var(--text-light);
}

.tech-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.tech-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.tech-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.tech-cta-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.tech-cta-primary:hover {
    background: #d4e83e;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 216, 46, 0.3);
}

.tech-cta-primary svg {
    transition: transform 0.3s ease;
}

.tech-cta-primary:hover svg {
    transform: translateX(4px);
}

.tech-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tech-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Responsive Styles for Technology Page */
@media (max-width: 1024px) {
    .tech-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .tech-card-large,
    .tech-card-medium,
    .tech-card-small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .tech-detail-layout,
    .tech-detail-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-detail-reverse .tech-detail-visual {
        order: 0;
    }

    .tech-detail-visual {
        position: relative;
        top: 0;
    }

    .tech-intro-grid {
        grid-template-columns: 1fr;
    }

    .tech-intro-highlight {
        position: relative;
        top: 0;
    }

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

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

    .malaysia-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-hero {
        padding: 3rem 0;
    }

    .tech-hero-title {
        font-size: 2rem;
    }

    .tech-hero-subtitle {
        font-size: 1.1rem;
    }

    .tech-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .tech-bento-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Force all cards to full width on mobile */
    .tech-bento-grid > .tech-bento-card,
    .tech-bento-grid > div {
        grid-column: 1 / -1 !important;
    }

    /* Fix nested grid for bottom 3 cards on mobile */
    .tech-bento-grid > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

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

    .quality-advantages {
        grid-template-columns: 1fr;
    }

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

    .tech-applications-grid {
        grid-template-columns: 1fr;
    }

    .section-title-center {
        font-size: 2rem;
    }

    .tech-cta-content h2 {
        font-size: 1.75rem;
    }

    .tech-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .tech-cta-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tech-hero-stats {
        grid-template-columns: 1fr;
    }

    .tech-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .tech-bento-card {
        padding: 1.5rem;
    }

    .tech-card-icon {
        font-size: 2.5rem;
    }

    .highlight-card {
        padding: 1.5rem;
    }
}

/* Compact Contact Form Styles */
.contact-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-compact,
.contact-info-compact {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-compact {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-info-compact {
    gap: 1rem;
}

.form-group-compact {
    margin-bottom: 1rem;
}

.form-row-compact {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-input-compact {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input-compact:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 166, 0.1);
}

.form-submit-compact {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 166, 0.3);
}

.contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid var(--primary-color);
}

.info-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card-compact strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.info-highlight-compact {
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #555;
    border: 1px solid #e0e0e0;
    margin-top: auto;
}

@media (max-width: 768px) {
    .contact-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .form-row-compact {
        flex-direction: column;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        padding: 2rem 0 !important;
        min-height: auto !important;
    }
    
    .hero-content {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .hero-text-content {
        flex: 1 !important;
        padding-bottom: 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-text {
        font-size: 0.9rem !important;
    }
    
    .hero-badge {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .hero-image-content {
        display: none !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .hero-button {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Tech Hero Mobile */
    .tech-hero {
        padding: 2rem 0 !important;
    }
    
    .tech-hero-content {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .tech-hero-stats {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .tech-stat-card {
        padding: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    /* Grids Mobile */
    .reasons-grid,
    .tech-bento-grid,
    .mounting-grid,
    .ecosystem-grid,
    .quality-advantages {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .service-areas-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Cards Mobile */
    .reason,
    .tech-bento-card,
    .mounting-card,
    .quality-card {
        padding: 1.25rem !important;
    }
    
    /* Contact Form Mobile */
    .contact-grid-compact {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .form-row-compact {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Tech Intro Grid Mobile */
    .tech-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Section Padding Mobile */
    .section {
        padding: 2rem 0 !important;
    }
    
    .section-title-center {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle-center {
        font-size: 0.95rem !important;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 1rem !important;
    }
    
    /* Logo Mobile */
    .logo-image {
        height: 50px !important;
    }
    
    .logo h1 {
        font-size: 1.4rem !important;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-image {
        height: 350px !important;
    }
    
    .tech-bento-grid,
    .mounting-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-grid-compact {
        grid-template-columns: 1fr !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .tech-hero-title {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    .form-input-compact {
        font-size: 0.9rem !important;
        padding: 0.65rem 0.85rem !important;
    }
}

/* Tech Card Icon Inline */
.tech-card-icon-inline {
    font-size: 1.8rem;
    margin-right: 0.75rem;
    display: inline-block;
    vertical-align: middle;
}

.tech-bento-card h3 {
    display: flex;
    align-items: center;
}

/* Service Page Intro Section */
.service-intro-grid {
    display: grid;
    grid-template-columns: 600px 600px;
    gap: 0.5rem;
    align-items: stretch;
}

.service-image-box {
    background: #f8f9fa;
    padding: 3rem 0 0 0;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-intro-image {
    width: 600px;
    height: auto;
    border-radius: 8px;
}

.service-text-box {
    background: #f8f9fa;
    padding: 2rem 2rem 2rem 3rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 600px;
}

.service-text-box-large-padding {
    padding-top: 7rem;
    justify-content: flex-start;
}

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

    .service-image-box {
        padding: 1.5rem;
    }

    .service-intro-image {
        width: 100%;
        max-width: 100%;
    }

    .service-text-box {
        width: 100%;
        padding: 1.5rem;
    }

    .service-text-box-large-padding {
        padding-top: 1rem;
        justify-content: center;
    }
}

/* Office Grid Styles */
.office-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.office-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.office-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.office-info {
    padding: 1.5rem;
}

.office-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.office-address {
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .office-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .office-image {
        height: 300px;
    }

    .office-info {
        padding: 1.25rem;
    }
}
