/* style.css */
:root {
    --slate: #1E293B;
    --slate-light: #334155;
    --teal: #06B6D4;
    --teal-dark: #0891B2;
    --amber: #F59E0B;
    --amber-dark: #D97706;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--slate);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--slate);
}

/* Common Layout Components */
.top-bar {
    background-color: var(--slate);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 300;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    font-weight: 800;
    color: var(--slate) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--teal);
}

.nav-link {
    color: var(--slate-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal) !important;
}

.btn-primary {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.btn-accent {
    background-color: var(--amber);
    border-color: var(--amber);
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-accent:hover {
    background-color: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
    color: var(--white);
}

.page-header {
    background: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.9)), url('../img/commercial_solar.png') center/cover;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: #CBD5E1;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--teal);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title.text-start::after {
    margin: 15px 0 0;
}

.footer {
    background-color: var(--slate);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer p {
    color: #94A3B8;
    line-height: 1.8;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-contact i {
    color: var(--teal);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Home Page specific */
.hero {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&q=80') center/cover fixed;
    color: var(--white);
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    color: #CBD5E1;
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .highlight {
    color: var(--teal);
}

.scheme-badge {
    background: linear-gradient(90deg, #F59E0B, #EA580C);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.stats-section {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    padding: 40px 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--slate-light);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
}

/* Project Cards */
.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
}

.project-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-body {
    padding: 20px;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
}

.testimonial-card i.quote {
    font-size: 3rem;
    color: rgba(6, 182, 212, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--slate-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    z-index: 1;
    position: relative;
}

.testimonial-author {
    font-weight: 700;
    color: var(--slate);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.testimonial-location {
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Services Page specific */
.service-card {
    background: var(--white);
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.1);
    border-color: var(--teal);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--teal);
}

.service-body {
    padding: 30px;
    position: relative;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--slate-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.category-label {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--teal);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

/* Products Page specific */
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
    border-color: var(--teal);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid var(--teal);
}

.product-body {
    padding: 30px;
}

.product-brand {
    color: var(--slate);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
}

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

.product-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--slate-light);
}

.product-features li i {
    color: var(--teal);
    margin-right: 10px;
    margin-top: 4px;
}

.inverter-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    text-align: center;
}

.inverter-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
}

.inverter-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.inverter-details {
    padding: 25px;
}

.inverter-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.inverter-details p {
    margin: 0;
    color: var(--slate-light);
    font-size: 1rem;
}

/* Blog Page specific */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
}

.blog-category {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal-dark);
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--slate);
}

.blog-excerpt {
    color: var(--slate-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(8px);
}

/* About & Contact specific */
.value-box {
    background: var(--white);
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.1);
    border-color: var(--teal);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px 18px;
    border-color: #CBD5E1;
    color: var(--slate);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--slate-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}