﻿/* CSS Variables and Setup */
:root {
    /* Brand Colors derived from FreeElec logo & requirements */
    --primary: #F58220;
    /* Vibrant Orange for Buttons/CTAs */
    --primary-light: #F9A054;
    --primary-dark: #D46914;

    --accent: #2E7D32;
    /* Rich elegant Leaf Green */
    --accent-light: #4CAF50;
    --accent-dark: #1B5E20;

    /* Secondary brand color (from user's code for contrast) */
    --secondary-blue: #C9B59C;

    /* Light Theme backgrounds */
    --bg-color: #F9F8F6;
    --bg-alt: #EFE9E3;
    /* Slate 50 for very subtle section contrast if needed */
    --bg-white: #F9F8F6;

    --text-dark: #2b2825;
    /* Dark Grey for excellent readability */
    --text-dark-muted: #6b635c;
    /* Slate 600 for body text */
    --text-white: #F9F8F6;

    --border-color: #D9CFC7;
    /* Light grey border for forms and cards */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-dark {
    color: var(--text-dark);
}

.text-dark-muted {
    color: var(--text-dark-muted);
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.text-blue {
    color: var(--secondary-blue);
}

.bg-light-alt {
    background-color: var(--bg-alt);
}

.bg-white {
    background-color: var(--bg-white);
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-6 {
    margin-bottom: 2.5rem;
}

.mb-8 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 4rem;
}

.block {
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #FFB01A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-light {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-align: center;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px 0 rgba(245, 130, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.4);
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--text-white);
    box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background-color: #152A68;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logos */
.brand-logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.footer .brand-logo {
    max-height: 140px;
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* Generic Section Padding */
.section {
    padding: 7rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/modern_solar_panels_hero_1773008723004.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.12;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 650px;
    animation: fadeInUp 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark-muted);
    font-weight: 500;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Global Shared Styles */
.rounded-image {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    display: block;
}

.shadow-large {
    box-shadow: var(--shadow-lg);
}

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    position: relative;
    padding-left: 2rem;
}

.list-check li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Section Headings */
.section-heading {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-heading.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-heading .title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-heading .subtitle {
    font-size: 1.125rem;
}

/* Pricing Packages (Domestic) */
.package-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.package-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary-blue);
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
}

.package-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
    flex-grow: 1;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: 'âœ“';
    color: var(--primary);
    font-weight: bold;
}

/* Modern Generic Cards */
.card-modern {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-modern .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--primary);
}

/* Addon Cards */
.addon-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.addon-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.addon-icon-wrapper {
    flex-shrink: 0;
}

.addon-icon-wrapper img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.addon-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.addon-content .list-check {
    margin-top: 1rem;
}

.addon-content .list-check li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Grants Section */
.grants {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #2563EB 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.grants::before {
    content: 'â˜€ï¸';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 250px;
    opacity: 0.05;
    transform: rotate(15deg);
}

.grants h2,
.grants h3 {
    color: white;
}

.grants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.grant-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-base);
}

.grant-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.grant-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

/* Reviews */
.reviews-section {
    background-color: var(--bg-alt);
}

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Light themed CTA in about page */
.stat-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: 2rem;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Footer Section */
.footer {
    background-color: var(--text-dark);
    padding: 5rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Form Styles to exactly match the image requirement */
.contact-page {
    padding: 10rem 0 6rem;
    /* extra top padding for fixed nav */
    background-color: var(--bg-alt);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header .sun-icon {
    color: var(--primary);
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.contact-sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-col {
    flex: 1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    /* Image shows sharp/small radius edges */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: var(--transition-base);
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Phone Number Input Group Trick to look like image */
.phone-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.flag-prefix {
    position: absolute;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark-muted);
}

.phone-input-group .form-control {
    padding-left: 4.5rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\2304';
    /* Down arrow */
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-dark-muted);
    font-size: 1.2rem;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #3B82F6;
    border-radius: 3px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #F89C2F;
    /* exact shade matching the form image button */
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: 999px;
    /* Pill shaped button in image */
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: var(--font-body);
}

.btn-submit:hover {
    background-color: #E08520;
}

/* Contact About Side-by-side Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.map {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
}

/* About Section */
.about-hero {
    background: var(--bg-alt);
    padding: 10rem 0 6rem;
    text-align: center;
}

.about-content-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Calculator Section */
.calc-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.calc-view {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.calc-view.active {
    display: block;
}

.calc-header-box {
    background-color: #F89C2F;
    /* Matching Energy Saving Trust style */
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.calc-header-box::after {
    content: 'â˜€ï¸';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    opacity: 0.15;
}

.title.text-white {
    color: white;
}

.calc-subtitle {
    color: white;
    font-weight: 500;
}

.calc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.benefit-card.wide {
    padding: 1.5rem;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1.2rem;
}

.calc-body-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    padding: 3rem;
    align-items: start;
}

.calc-form-container {
    background: #FFF7EB;
    border: 1px solid #FCD3A1;
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.calc-input {
    background-color: #EBF1FF;
    /* Light blue accent for inputs */
    border: 1px solid #B4C6F0;
}

.number-stepper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-stepper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--text-dark);
    background: white;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-stepper:hover {
    background: #f3f4f6;
}

.stepper-val {
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.calc-steps-sidebar {
    padding-top: 1rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.5;
}

.step-item.active {
    opacity: 1;
}

.step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-item.active .step-num {
    border-color: var(--primary);
    color: var(--primary);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
}

.result-data {
    display: flex;
    flex-direction: column;
}

.result-data strong {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.result-data span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-dark-muted);
}

.panel-stepper {
    background: white;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    gap: 1.5rem;
}

.calc-illustration-area {
    padding: 0 4rem;
}

.calc-bottom-summary {
    padding: 0 4rem 4rem;
}

.summary-card {
    background: white;
    border: 1px solid var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-2 {
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grants {
        padding: 4rem 3rem;
    }

    .grants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 10rem;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .addon-card {
        flex-direction: column;
        text-align: center;
    }

    .addon-icon-wrapper img {
        width: 100%;
        height: 200px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-grid,
    .grants-grid {
        grid-template-columns: 1fr;
    }

    .grants {
        padding: 3rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .stats-grid,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
