/* CSS Variables */
:root {
    /* Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #0b0d11;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-light: #ffffff;
    --color-accent: #FFB84C;
    --color-accent-hover: #ffa01f;
    --color-gradient-start: rgba(0, 0, 0, 0.7);
    --color-gradient-end: rgba(0, 0, 0, 0);
    
    /* Typography */
    --font-primary: 'DM Sans', -apple-system, system-ui, sans-serif;
    --font-heading: 'Epilogue', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Container */
    --container-max-width: 1700px;
    --container-padding: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Navigation */
    --nav-height: 80px;
}

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Favicon styles */
link[rel="icon"] {
    height: 16px !important;
    width: 16px !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

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

html, body {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
}

/* Update heading styles */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.testimonials-title,
.solar-101-title {
    font-family: var(--font-heading);
    font-weight: 300;
}

/* Ensure body text elements use primary font */
p,
.hero-subtitle,
.testimonials-subtitle,
.solar-101-subtitle,
.step-description,
.testimonial-content,
.benefit-card p,
.cta-subtitle,
.footer-column p {
    font-family: var(--font-primary);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-bg-primary);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.logo-img {
    height: 34px;
    width: auto;
}

.tm {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.75em;
    font-weight: bold;
    transform: translate(25%, -50%);
    color: #000;
    line-height: 1;
}

.navbar-logo {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
    white-space: nowrap;
    font-size: 1.0625rem;
}

.nav-links a:hover {
    color: #009BDF; /* Bracket Blue */
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 48px;
}

.nav-contact,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 1.75rem;
    border-radius: 999px;
    border: 2px solid #009BDF;
    background-color: white;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.0625rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 36px;
}

.nav-contact:hover {
    background-color: #4B5563;
    border-color: #4B5563;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(75, 85, 99, 0.2);
}

.nav-cta {
    background-color: #009BDF;
    color: white;
}

.nav-cta:hover {
    background-color: #F5A623;
    border-color: #F5A623;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 166, 35, 0.2);
}

.nav-cta:active {
    transform: scale(0.98);
}

.nav-cta:focus {
    outline: none;
    box-shadow: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    margin: 0;
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
    .header {
        position: fixed;
        width: 100%;
        background: white;
        z-index: 1000;
        top: 0;
        left: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        height: 70px;
        width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0.5rem 0;
    }

    .logo-wrapper {
        display: flex;
        align-items: center;
    }

    .logo-img {
        height: 28px;
        width: auto;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        z-index: 999;
        width: 32px;
        height: 24px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 32px;
        height: 2px;
        background-color: #000000;
        transition: all 0.3s ease;
        margin: 0;
    }

    .nav-buttons {
        display: none !important;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 2rem;
        z-index: 998;
        transition: transform 0.3s ease-in-out;
        gap: 3.5rem;
    }

    .nav-links.active {
        transform: translateX(100%);
    }

    .nav-links.slide-out {
        transform: translateX(0%);
    }

    .nav-links a {
        color: #1a1a1a;
        text-decoration: none;
        font-size: 2rem;
        font-weight: 500;
        padding: 0.5rem;
        text-align: center;
        width: auto;
        transition: color 0.2s ease;
    }

    .nav-links a:hover {
        color: #009BDF;
    }

    .mobile-menu-toggle.active span:first-child {
        transform: translateY(11px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:last-child {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Remove tap highlight */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .hero {
        height: 100vh;
        min-height: -webkit-fill-available;
    }

    .hero-content {
        position: absolute;
        top: 80px;  /* Account for nav height */
        bottom: auto;
        padding-bottom: 0;
    }

    .hero-content.container {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .hero-content-inner {
        margin-bottom: 0;
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.75rem !important;
        line-height: 1.1;
        max-width: none;
        text-align: center;
        margin: 0 auto;
        padding: 0 0.25rem;
        font-weight: 400;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
        width: 98%;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 0.15rem;
        line-height: 1.5;
        max-width: none;
        text-align: center;
        padding: 0 0.25rem;
        margin: 0 auto;
        font-weight: 300;
        width: 98%;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        opacity: 0.9;
        letter-spacing: 0.02em;
        transform: scale(0.75);
        transform-origin: center center;
    }

    .hero-subtitle span.comma {
        margin-right: 0.35em;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-cta {
        width: 85%;
        max-width: none;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        font-size: 1rem;
        padding: 0.75rem 2rem;
        min-width: 300px;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.5), 
            rgba(0, 0, 0, 0.4)
        );
    }

    .hero-video {
        filter: brightness(1.1);
    }

    .testimonials-header {
        margin-bottom: 3rem;
    }

    .testimonials-scroll-container {
        gap: 0.25rem;
    }

    .container {
        padding: 0;
    }
}

/* Remove any potential conflicts with other media queries */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Specific adjustments for iPhone 12 Pro */
@media only screen 
    and (device-width: 390px) 
    and (device-height: 844px) 
    and (-webkit-device-pixel-ratio: 3),
    only screen and (max-width: 390px) {
    
    .nav-container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        margin-right: 0;
        position: relative;
        right: 0;
    }

    .logo-img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content-inner {
        padding: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        max-width: 30ch;
    }
    
    .features .cards,
    .testimonial-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-form {
        padding: 1.5rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, 
        rgba(248, 249, 250, 0) 0%,
        rgba(248, 249, 250, 0.01) 10%,
        rgba(248, 249, 250, 0.02) 20%,
        rgba(248, 249, 250, 0.05) 30%,
        rgba(248, 249, 250, 0.08) 40%,
        rgba(248, 249, 250, 0.12) 50%,
        rgba(248, 249, 250, 0.18) 60%,
        rgba(248, 249, 250, 0.25) 70%,
        rgba(248, 249, 250, 0.35) 80%,
        rgba(248, 249, 250, 0.55) 90%,
        #f8f9fa 100%
    );
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1.3);
}

.hero-video-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    color: var(--color-text-light);
    width: 100%;
}

.hero-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 4rem;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 5.5rem;
    line-height: 1.1;
    max-width: 36ch;
    text-wrap: balance;
    color: var(--color-text-light);
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 42ch;
    line-height: 1.5;
    color: var(--color-text-light);
    margin: 0;
    font-weight: 300;
    font-family: var(--font-primary);
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2.25rem;
    border-radius: 999px;
    border: 2px solid #009BDF;
    background-color: #009BDF;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.0625rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 42px;
}

.hero-cta:hover {
    background-color: #F5A623;
    border-color: #F5A623;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(245, 166, 35, 0.2);
}

.hero-cta:active {
    transform: scale(0.98);
}

.hero-cta:focus {
    outline: none;
    box-shadow: none;
}

/* Video Background Fallback */
.no-video .hero-video {
    display: none;
}

.no-video .hero-video-fallback {
    display: block;
}

/* Section Dividers */
.divider {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
}

.divider-top {
    transform: rotate(180deg);
}

/* Features Section */
.features {
    background: var(--color-bg-tertiary);
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.3;
    background: radial-gradient(circle at center, var(--color-accent-primary), transparent 70%);
    bottom: -200px;
    left: -150px;
    z-index: 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    font-weight: 300;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin: 0 auto;
    line-height: 1.6;
    font-family: var(--font-primary);
    font-weight: 400;
}

.features .cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Glass-morphic feature cards */
.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform var(--transition-normal);
    position: static;
    display: block;
}

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

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

.card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Process Section */
.process {
    background-color: var(--color-bg-secondary);
    position: relative;
    padding: 6rem 0;
}

/* Removing the gradient overlay */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
    transition: transform var(--transition-normal);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.process-step h3 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* New Testimonials Section */
.testimonials-new {
    background: var(--color-bg-primary);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.testimonials-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: #1E1E1E;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.25rem;
    color: #666666;
    margin: 0 auto;
}

.testimonials-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    gap: 0.25rem;
    padding: 2rem;
    position: relative;
}

.scroll-track-inner {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0 2rem 0;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.scroll-right .scroll-track-inner {
    animation: scrollRight 60s linear infinite;
}

.scroll-left .scroll-track-inner {
    animation: scrollLeft 60s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem)); /* Adjust for gap */
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(calc(-50% - 1rem)); /* Adjust for gap */
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.scroll-track:hover .scroll-track-inner {
    animation-play-state: paused;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    width: 500px;
    min-width: 500px;
    height: 200px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Add smooth GPU acceleration */
.testimonial-card, .scroll-track-inner {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-font-smoothing: subpixel-antialiased;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    min-height: 40px;
    padding-top: 0;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.testimonial-name {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.125rem;
    font-size: 0.9375rem;
}

.testimonial-year {
    font-size: 0.8125rem;
    color: #6B7280;
}

.testimonial-stars {
    color: #F5A623;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.testimonial-content {
    color: #4B5563;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    height: 6.4em;
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-content {
    height: calc(100% - 44px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.testimonial-card:hover .testimonial-content::after {
    opacity: 0;
}

.testimonial-content::-webkit-scrollbar {
    width: 4px;
}

.testimonial-content::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.testimonial-scroll-indicator {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    color: #6B7280;
    font-size: 1rem;
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-scroll-indicator {
    opacity: 0;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 400px;
        min-width: 400px;
        height: 180px;
        padding: 0.75rem 1.5rem;
    }

    .testimonial-header {
        margin-bottom: 1rem;
    }

    .testimonial-avatar {
        width: 36px;
        height: 36px;
    }

    .testimonial-name {
        font-size: 0.875rem;
    }

    .testimonial-year {
        font-size: 0.75rem;
    }

    .testimonial-content {
        height: 6em;
    }

    .testimonial-content::after {
        height: 2.2em;
    }

    .testimonial-card:hover .testimonial-content {
        height: calc(100% - 40px);
    }

    .testimonials-new {
        padding: 4rem 0;
    }

    .short-section {
        display: none;
    }

    .solar-process {
        width: 100%;
    }

    .solar-process-content {
        width: 100%;
    }

    .solar-process-header {
        width: 100%;
    }

    .testimonials-scroll-container {
        gap: 0.25rem;
    }

    .scroll-track {
        gap: 0.25rem;
    }

    .scroll-track-inner {
        gap: 1.5rem;
    }

    .footer-column:first-child {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-column:last-child {
        text-align: left;
        padding-left: 2rem;
    }
}

/* Solar Process Section */
.solar-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #fff;
}

.solar-process-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.solar-process-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solar-process-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 250, 252, 1) 100%
    );
    min-height: 100vh;
}

.solar-process-header {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 0 2rem;
}

.solar-process-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.solar-process-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    font-weight: 400;
    margin: 0 auto;
    max-width: 32rem;
    white-space: nowrap;
}

.solar-process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 32rem;
    margin: 0 auto;
    padding-top: 2rem;
}

.solar-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.solar-step:nth-child(1) {
    animation-delay: 0.2s;
}

.solar-step:nth-child(2) {
    animation-delay: 0.4s;
}

.solar-step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(0, 155, 223, 0.1) 100%
    );
    box-shadow: 0 4px 12px rgba(0, 155, 223, 0.15);
    transition: all 0.3s ease;
}

.step-icon:hover {
    box-shadow: 0 8px 24px rgba(0, 155, 223, 0.25);
    transform: translateY(-2px);
}

.step-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: #009BDF;
    stroke-width: 1.5;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .solar-process {
        grid-template-columns: 1fr;
    }

    .solar-process-image {
        height: 50vh;
    }

    .solar-process-content {
        padding: 4rem 2rem;
        min-height: auto;
    }

    .solar-process-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .solar-process-content {
        padding: 3rem 1.5rem;
    }

    .solar-process-title {
        font-size: 2.25rem;
    }

    .solar-process-subtitle {
        font-size: 1.125rem;
        white-space: normal;
    }

    .step-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .step-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .step-description {
        font-size: 1rem;
    }

    .solar-process-header {
        max-width: 20rem;
        margin: 0 auto;
}

    .solar-process-subtitle {
        max-width: 20rem;
    }

    .solar-process-steps {
        max-width: 20rem;
    }
}

/* Benefits Section */
.benefits {
    background: var(--color-bg-primary);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.benefits .container {
    max-width: 100vw;
    width: 100vw;
    padding: 0;
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.benefits-header .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    font-weight: 300;
}

.benefits-header .section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin: 0 auto;
    line-height: 1.6;
    font-family: var(--font-primary);
    font-weight: 400;
    max-width: 600px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow);
    background-color: rgba(0, 155, 223, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-accent-primary);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.benefit-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1.125rem;
}

.benefit-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 1.5rem;
    display: block;
}

.benefits .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    justify-content: center;
}

@media (max-width: 1024px) {
    .benefits .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .benefits .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* CTA Form Section */
.cta-section {
    background: var(--color-bg-secondary);
    padding: 10rem 0 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-align: center;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

.cta-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #dcdcdc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group {
    text-align: left;
    width: 100%;
    margin-bottom: 2rem;
}

.form-group input {
    width: 100%;
    padding: 1.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--color-text-primary);
}

.form-group textarea {
    width: 100%;
    padding: 1.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--color-text-primary);
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-primary);
}

.form-group input:focus {
    border-color: #0099f7;
    outline: none;
}

.form-group input::placeholder {
    color: #b0b0b0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder {
    opacity: 0;
}

.form-group label {
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: #009BDF;
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 155, 223, 0.25);
}

.submit-button:hover {
    background: #F5A623;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.2);
}

.helper-text {
    font-size: 0.55rem;
    color: #6b7280;
    margin-top: 3rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.75rem;
    }
    
    .cta-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

/* Footer Section */
.footer {
    background: var(--color-bg-tertiary);
    color: var(--color-text-light);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2rem;
    padding-right: 0;
}

.footer-column:last-child {
    text-align: left;
}

.footer-column:last-child ul {
    text-align: left;
}

.footer-column:last-child li {
    text-align: left;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: #e5e7eb;
}

.footer-column p {
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li:last-child {
    color: #9ca3af;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #009BDF;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
        padding-right: 0;
    }
    
    .footer-column:last-child {
        text-align: left;
        padding-left: 2rem;
    }
    
    .footer-column:first-child {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cta-form {
        padding: 1.5rem;
    }
}

/* Elite Partnerships Section */
.elite-partnerships {
    background: var(--color-bg-primary);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
}

.elite-partnerships-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 0 6rem 0 4rem;
}

.elite-partnerships-header {
    position: relative;
    z-index: 3;
    margin-right: 4rem;
    padding-right: 2rem;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    width: 100%;
}

.elite-partnerships-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-align: left;
}

.elite-partnerships-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.125rem;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.partner-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .elite-partnerships-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        min-height: auto;
        padding: 0 var(--container-padding);
    }

    .elite-partnerships-header {
        margin-right: 0;
        padding-right: 0;
        text-align: center;
    }

    .elite-partnerships-title,
    .elite-partnerships-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .elite-partnerships {
        padding: 4rem 0;
    }

    .elite-partnerships-title {
        font-size: 2.75rem;
    }

    .elite-partnerships-subtitle {
        margin-bottom: 1rem;
    }

    .partner-logo {
        max-width: 280px;
        padding: 2.25rem;
    }

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

    .elite-partnerships-content {
        gap: 3rem;
    }

    .our-products-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .elite-partnerships-title {
        font-size: 2.25rem;
    }

    .elite-partnerships-subtitle {
        font-size: 1.125rem;
    }

    .partner-logo {
        max-width: 240px;
        padding: 2rem;
    }
}

/* Our Products Section */
.our-products {
    background: #F7F7F8;
    padding: 4rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.our-products .container {
    width: 100%;
    max-width: 100%;
    padding: 0 4rem;
}

.our-products-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.our-products-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.our-products-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    width: 95%;
    max-width: 600px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .product-title {
        font-size: 1.125rem;
        padding: 1.75rem 1.25rem;
    }
}

.tax-credit-section {
    background: var(--color-bg-primary);
    padding: 4rem 0 8rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.tax-credit-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.tax-credit-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.tax-credit-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 5rem;
    white-space: normal;
    margin-top: 3rem;
}

.tax-credit-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: #009BDF;
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.tax-credit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 155, 223, 0.25);
}

.tax-credit-footnote {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .tax-credit-title {
        font-size: 2.75rem;
    }
    
    .tax-credit-subtitle {
        font-size: 1.125rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .tax-credit-title {
        font-size: 2.25rem;
    }
}

.cta-columns {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 100vh;
}

.cta-left, .cta-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta-left {
    margin-left: 2rem;
}

.cta-right {
    padding: 0;
    margin: 0;
}

.cta-section .container {
    max-width: 100%;
    padding: 0;
}

.footer-column:first-child {
    margin: 0 2rem;
}

.footer-column:first-child p {
    max-width: 400px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal-icon-circle {
    background-color: #e0f7fa;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-icon {
    font-size: 2rem;
    color: #009BDF;
}

.modal-message {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-close-button {
    background-color: #009BDF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.modal-close-button:hover {
    box-shadow: 0 0 10px rgba(0, 155, 223, 0.5);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: #009BDF;
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 155, 223, 0.25);
}

.submit-button:hover {
    background: #F5A623;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.2);
}

/* Toast Notification */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-overlay.show {
    opacity: 1;
    visibility: visible;
}

.toast-notification {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    width: auto;
}

.toast-overlay.show .toast-notification {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-content p {
    margin: 0;
    font-size: 1.125rem;
    color: #1a1a1a;
    font-weight: 500;
}

.checkmark {
    font-size: 1.5rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .toast-notification {
        padding: 1.25rem 1.5rem;
    }
    
    .toast-content p {
        font-size: 1rem;
    }
}

.footer-column .logo-wrapper {
    margin-bottom: 1.5rem;
}

.footer-column .logo-img {
    max-height: 32px;
    width: auto;
    height: auto;
    display: block;
}

.footer-column .tm {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.75em;
    font-weight: bold;
    transform: translate(25%, -50%);
    color: #fff;
    line-height: 1;
}

/* Tablet Navigation Styles */
@media (min-width: 769px) and (max-width: 992px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .nav-buttons {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .our-products {
        padding: 4rem 0 4rem;
    }

    .cta-columns {
        grid-template-columns: 1fr;
        height: auto;
        gap: 3rem;
    }

    .cta-left {
        order: 1;
        margin: 0;
        padding: 0 1rem;
    }

    .cta-right {
        order: 2;
        padding: 0 1rem;
    }

    .our-products-title {
        font-size: 2.75rem;
    }
}

/* Tablet-specific styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Navbar Tablet Styles */
    .nav-links {
        display: flex !important;
        gap: 1.5rem !important;
        font-size: 0.875rem !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    .nav-links a {
        font-size: 0.8rem !important;
    }

    .nav-buttons {
        display: flex !important;
        margin-left: auto !important;
        gap: 0.75rem !important;
        white-space: nowrap !important;
    }

    .nav-contact,
    .nav-cta {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
        min-width: auto !important;
        height: auto !important;
    }

    /* Form Section Tablet Styles */
    .cta-columns {
        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 0.5rem !important;
        justify-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .cta-left {
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        margin-bottom: 0.25rem !important;
    }

    .cta-right {
        order: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .cta-title {
        font-size: 2.75rem !important;
        text-align: center !important;
    }

    .cta-subtitle {
        font-size: 1.25rem !important;
        text-align: center !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    /* Footer Tablet Styles */
    .footer .container {
        padding: 0 !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 1.5rem !important;
        justify-items: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 2rem !important;
    }

    .footer-column:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-column:last-child {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-column:last-child ul {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .social-icons {
        justify-content: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Section Titles Standardization */
    .section-title,
    .testimonials-title,
    .solar-process-title,
    .elite-partnerships-title,
    .our-products-title,
    .tax-credit-title {
        font-size: 2.75rem !important;
    }

    .section-subtitle,
    .testimonials-subtitle,
    .solar-process-subtitle,
    .elite-partnerships-subtitle,
    .our-products-subtitle,
    .tax-credit-subtitle {
        font-size: 1.25rem !important;
    }
}

/* Desktop Footer Styles */
@media (min-width: 1025px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4rem;
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 2rem !important;
    }

    .footer-column:first-child {
        grid-column: 1;
    }

    .footer-column:last-child {
        grid-column: 3;
    }

    .footer-column:last-child ul {
        margin-top: 0;
    }

    .footer-column:last-child li {
        margin-bottom: 1rem;
    }

    .social-icons {
        margin-top: 2rem;
    }

    .footer-column .logo-wrapper {
        margin-bottom: 2rem;
    }

    .footer-column p {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Ideal Candidate Section */
.ideal-candidate {
    background: var(--color-bg-primary);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ideal-candidate-content {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5rem;
    padding: 0 1.5rem;
    text-align: center;
}

@media (min-width: 1200px) {
    .ideal-candidate-content {
        max-width: 1600px;
    padding: 0 2rem;
    }
}

.ideal-candidate-header {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 0;
    min-width: 360px;
    max-width: 100%;
}

.ideal-candidate-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-align: left;
}

.ideal-candidate-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
    max-width: 98%;
}

.candidate-qualities {
    flex: 1 1 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 3.5rem;
    align-items: stretch;
    width: 100%;
    padding: 0;
}

.quality-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 2.25rem 1.5rem;
    height: 100%;
    min-width: 300px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: 0 4px 18px 0 rgba(0,0,0,0.06);
    margin: 0;
    min-width: 0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.quality-card h3 {
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    position: relative;
}

.quality-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6%;
    height: 1px;
    background-color: #e5e7eb;
    transition: height 0.3s ease, background-color 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
    border-radius: 1px;
}

.quality-card:hover h3::after {
    width: 30%;
    height: 2px;
    background-color: #b6e0fa;
    border-radius: 2px;
}

.quality-card p {
    margin-top: 0;
    text-align: center;
    width: 100%;
}

.quality-card.active {
    box-shadow: 0 8px 32px 0 rgba(0,155,223,0.20);
    border-color: #b6e0fa;
    transform: translateY(-4px) scale(1.02);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 1) 0%,
        rgba(0, 155, 223, 0.1) 100%
    );
    box-shadow: 0 4px 12px rgba(0, 155, 223, 0.15);
    transition: all 0.3s ease;
}

.step-icon:hover {
    box-shadow: 0 8px 24px rgba(0, 155, 223, 0.25);
    transform: translateY(-2px);
}

.step-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: #009BDF;
    stroke-width: 1.5;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .ideal-candidate-content {
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
        padding: 0 1rem;
    }
    .ideal-candidate-header {
        padding-right: 0;
        max-width: 100%;
        min-width: 0;
        text-align: center;
        align-items: center;
    }
    .candidate-qualities {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.5rem;
        padding: 0;
    }
    .quality-card {
        min-width: 0;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .ideal-candidate {
        padding: 4rem 0;
    }
    .ideal-candidate-content {
        padding: 0 0.5rem;
    }
    .candidate-qualities {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .quality-card {
        padding: 2rem 1.25rem;
        min-width: 0;
        min-height: 0;
    }
    }

.franchise-cta-columns {
    height: auto !important;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .benefits {
        padding: 6rem 0;
    }
    
    .benefits-header {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 4rem 0;
    }
    
    .benefits-header .section-title {
        font-size: 2.75rem;
    }

    .benefits-header .section-subtitle {
        font-size: 1.125rem;
    }
    }

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-header .section-title {
        font-size: 2.25rem;
    }

    .benefit-card {
        padding: 2rem;
    }
}

.solar-process .step-icon {
    color: #009BDF;
    /* Keep other existing styles */
}

.horizontal-form .form-row {
  display: flex;
  gap: 2rem;
  width: 100%;
}
.horizontal-form .form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.horizontal-form .form-group.full-width {
  flex: 1 1 100%;
}
.horizontal-form textarea {
  min-height: 120px;
}
@media (max-width: 900px) {
  .horizontal-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.franchise-form-vertical .cta-form-container {
  max-width: 100vw;
  width: 100vw;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.franchise-form-vertical .cta-form {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2vw;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .franchise-form-vertical .cta-form {
    max-width: 100vw;
    padding: 2rem 2vw;
  }
}
@media (max-width: 600px) {
  .franchise-form-vertical .cta-form {
    padding: 1.25rem 1vw;
  }
}

.franchise-form-vertical .form-header-width {
  max-width: 1400px;
  margin: 0 auto 2.5rem auto;
  padding: 0 2vw;
  width: 100%;
  text-align: center;
}

.franchise-form-vertical .cta-form .form-row {
  display: flex;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.franchise-form-vertical .cta-form .form-row .form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.franchise-form-vertical .cta-form .form-row .form-group input,
.franchise-form-vertical .cta-form .form-row .form-group select {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 44px;
}

.franchise-form-vertical .cta-form .form-row:last-child {
  gap: 0;
}

@media (max-width: 1024px) {
  .franchise-form-vertical .cta-form,
  .franchise-form-vertical .form-header-width {
    max-width: 100vw;
    padding: 2rem 2vw;
  }
  .franchise-form-vertical .cta-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .franchise-form-vertical .cta-form,
  .franchise-form-vertical .form-header-width {
    padding: 1.25rem 1vw;
  }
}

.franchise-form-vertical .cta-form .form-group select {
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  font-size: 1.125rem;
  background: transparent;
  color: var(--color-text-primary);
  padding: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.franchise-form-vertical .cta-form .form-group select:focus {
  border-color: #0099f7;
  outline: none;
}

.franchise-form-vertical .cta-form .form-group select option[value=""] {
  color: #e0e0e0;
  opacity: 0.5;
}

.franchise-form-vertical .cta-form .submit-button {
  width: 20% !important;
  min-width: 160px;
  max-width: 300px;
  margin: 2rem auto 0 auto !important;
  display: block;
  text-align: center;
}

.franchise-form-vertical .cta-form .helper-text {
  width: 100% !important;
  max-width: 100% !important;
  margin: 2rem auto 0 auto !important;
  padding: 0 2vw !important;
  text-align: center !important;
  box-sizing: border-box;
}

.franchise-form-vertical .cta-form .helper-text {
  font-size: 0.8rem !important;
  margin: 0.25rem 0 1.25rem 0 !important;
  text-align: left !important;
  color: var(--color-text-primary) !important;
  padding-left: 0 !important;
}

.franchise-form-vertical .cta-form .select-placeholder {
  color: #bcbcbc !important;
  opacity: 0.5 !important;
}

.franchise-form-vertical .cta-form .form-group select:placeholder-shown {
  color: #bcbcbc !important;
  opacity: 0.5 !important;
}

.benefits-header .section-subtitle {
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  max-width: 100vw;
}
.benefits-header {
  max-width: 100vw;
}

.product-card p {
  font-size: 1.13rem;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.product-card .product-title {
  font-size: 1.35rem;
}

.ideal-candidate-content {
  flex-direction: column !important;
  align-items: center !important;
}
.ideal-candidate-header {
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 0.7rem !important;
}
.candidate-qualities {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2.5rem !important;
  width: 100% !important;
}
.quality-card {
  width: 1200px !important;
  max-width: 99vw;
  min-height: 90px !important;
  height: 130px !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
.quality-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,155,223,0.20);
  border-color: #b6e0fa;
  transform: translateY(-4px) scale(1.03);
}

.ideal-candidate-subtitle {
  max-width: 1200px !important;
  white-space: nowrap !important;
  margin-left: auto;
  margin-right: auto;
}
.ideal-candidate-header {
  margin-bottom: 0.7rem !important;
}

@media (max-width: 1024px) {
    .quality-card {
        width: 100% !important;
        max-width: 100vw;
        min-width: 0;
        min-height: 0;
    }
}

/* Mobile Header Standardization for Franchising Page */
@media (max-width: 480px) {
    /* Exclude hero section */
    .section-title:not(.hero-title),
    .testimonials-title:not(.hero-title),
    .solar-process-title:not(.hero-title),
    .elite-partnerships-title:not(.hero-title),
    .our-products-title:not(.hero-title),
    .tax-credit-title:not(.hero-title),
    .ideal-candidate-title:not(.hero-title) {
        font-family: var(--font-heading);
        font-size: 2.25rem;
        font-weight: 300;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section-subtitle:not(.hero-subtitle),
    .testimonials-subtitle:not(.hero-subtitle),
    .solar-process-subtitle:not(.hero-subtitle),
    .elite-partnerships-subtitle:not(.hero-subtitle),
    .our-products-subtitle:not(.hero-subtitle),
    .tax-credit-subtitle:not(.hero-subtitle),
    .ideal-candidate-subtitle:not(.hero-subtitle) {
        font-family: var(--font-primary);
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.6;
        text-align: center;
        color: var(--color-text-secondary);
        margin: 0 auto;
        max-width: 90%;
    }

    /* Ensure header containers are centered */
    .benefits-header,
    .testimonials-header,
    .solar-process-header,
    .elite-partnerships-header,
    .our-products-header,
    .tax-credit-container,
    .ideal-candidate-header {
        text-align: center;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .benefits-header .section-subtitle,
    .ideal-candidate-subtitle {
        white-space: normal !important;
        overflow: visible !important;
        text-align: center !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 4rem 0 8rem 0;
    }

    .franchise-form-vertical .cta-form-container {
        padding-top: 2rem;
    }

    .franchise-form-vertical .cta-form {
        width: 92%;
        max-width: 92%;
        margin: 0 auto;
        padding: 1.5rem 1rem;
    }

    .franchise-form-vertical .form-header-width {
        padding-top: 1rem;
        margin-bottom: 1rem;
        width: 92%;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .franchise-form-vertical .cta-subtitle {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
  .franchise-form-vertical .cta-form .submit-button {
    width: 95% !important;
    min-width: unset !important;
    max-width: unset !important;
    margin: 1.5rem auto 0 auto !important;
    white-space: nowrap;
  }
}

/* First tablet range (768px-1000px) */
@media (min-width: 768px) and (max-width: 1000px) {
    .nav-links {
        display: flex !important;
        gap: 1.25rem !important;
        font-size: 0.875rem !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    .nav-links a {
        font-size: 0.75rem !important;
    }
}

/* Second tablet range (1001px-1025px) */
@media (min-width: 1001px) and (max-width: 1025px) {
    .nav-links {
        display: flex !important;
        gap: 1.5rem !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    .nav-links a {
        font-size: 1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .franchise-form-vertical .cta-form {
    width: 85% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
  }
  .franchise-form-vertical .cta-form .submit-button {
    width: 60% !important;
    min-width: 220px !important;
    max-width: 400px !important;
    margin: 2rem auto 0 auto !important;
    display: block;
    text-align: center;
    white-space: nowrap;
  }
}