/* Variables */
:root {
    /* Primary Colors */
    --primary-green: #2E7D32;
    /* Deep Forest Green */
    --dark-green: #1B5E20;
    /* Darker Green for Hover */
    --bright-green: #4CAF50;
    /* Vibrant Green */
    --primary-blue: #0277BD;
    /* Corporate Blue */
    --dark-blue: #01579B;
    /* Deep Blue */

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    --gradient-hover: linear-gradient(135deg, var(--bright-green), var(--primary-blue));
    --gradient-light: linear-gradient(135deg, #E8F5E9, #E1F5FE);
    /* Mint to Sky */

    /* Text Colors */
    --text-dark: #002f4b;
    /* Dark Blue-Grey (No Black) */
    --text-light: #455A64;
    /* Blue-Grey */
    --white: #ffffff;

    /* Backgrounds */
    --light-bg: #F1F8E9;
    /* Very Pale Green Tint */
    --white-bg: #ffffff;
    --dark-bg: #002f4b;
    /* Dark Blue instead of Black */

    /* UI Elements */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(2, 119, 189, 0.08);
    --shadow-md: 0 8px 24px rgba(2, 119, 189, 0.12);
    --shadow-lg: 0 16px 40px rgba(2, 119, 189, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Updated Styles for Blue Accents */

.highlight-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    background: rgba(2, 119, 189, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(2, 119, 189, 0.1);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 119, 189, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 119, 189, 0.4);
}

.nav-link {
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
    display: none;
}

.hero-badge {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(2, 119, 189, 0.3);
    backdrop-filter: blur(8px);
}

.impact-icon {
    background: var(--gradient-main);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.experience-badge {
    background: var(--gradient-main);
}

.card-icon {
    background: var(--gradient-main);
}

.tech-icon {
    color: var(--primary-blue);
}

.step-number {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--white);
}

.step-item:hover .step-number {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(2, 119, 189, 0.2);
}

.filter-btn {
    border-color: #B3E5FC;
    color: var(--primary-blue);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.awards-section {
    background: var(--gradient-main);
}

.cta-strip {
    background: var(--gradient-main);
}

.footer-col h4::after {
    background: var(--bright-green);
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--bright-green);
}

.calc-benefits li i {
    color: var(--primary-green);
    background: #E8F5E9;
}

.range-value {
    color: var(--primary-blue);
}

input[type=range]::-webkit-slider-thumb {
    background: var(--primary-blue);
    appearance: none;
    -webkit-appearance: none;
}

.highlight-result .result-value {
    color: var(--primary-green);
}

.cert-badge i {
    color: var(--primary-blue);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

body.projects-page {
    padding-top: 130px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

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

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

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

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

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.bg-primary {
    background-color: var(--primary-green);
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.highlight {
    color: var(--primary-green);
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-green);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-white .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    width: 150px;
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--primary-green);
    animation: load 2s ease-in-out forwards;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* Top Bar */
.top-bar {
    background: #f5f5f5;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}

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

.top-contact a {
    margin-right: 20px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.top-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-links a {
    color: var(--text-light);
}

.top-links a:hover {
    color: var(--primary-green);
}

.lang-select {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    box-shadow: none;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header .btn-outline-dark {
    border-color: var(--white);
    color: var(--white);
}

.header.scrolled .btn-outline-dark {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

/* Internal Page Header */
.header-internal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: fixed;
}

.header-internal .nav-link {
    color: var(--text-dark);
}

.header-internal .btn-outline-dark {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    /* Reduced height */
}

.logo-img {
    height: 70px;
    /* Increased size for better visibility */
}

.navbar {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push to right */
    margin-right: 40px;
    /* Space before icons */
}

.nav-links {
    display: flex;
    gap: 5px;
    /* Reduced space between links */
}

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    /* Green underline */
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header Right Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    /* Separator line */
    padding-left: 20px;
}

.icon-link {
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.icon-link:hover {
    color: var(--primary-blue);
    background: rgba(2, 119, 189, 0.05);
}

.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: var(--dark-green);
    color: var(--white) !important;
    /* Force text to stay white */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(2, 119, 189, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.highlight-text {
    color: var(--primary-green);
    background: linear-gradient(to right, var(--primary-green), #81c784);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 650px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Impact Dashboard */
.impact-dashboard-container {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 2;
}

.impact-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.impact-data {
    display: flex;
    flex-direction: column;
}

.impact-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.impact-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.impact-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-main-img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-main-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-green);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 5px;
}

.feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

/* Solar Calculator */
.calc-benefits {
    margin-top: 30px;
}

.calc-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.calc-benefits li i {
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.calculator-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

input[type=range] {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-value {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: right;
}

.calc-results {
    background: #f5f9f5;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-weight: 500;
    color: var(--text-light);
}

.result-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.highlight-result .result-value {
    color: var(--primary-green);
    font-size: 1.5rem;
}

/* Services (Expanding Cards) */
.expanding-cards {
    display: flex;
    height: 500px;
    gap: 20px;
}

.card {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.active {
    flex: 4;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    transition: background 0.3s;
}

.card-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: var(--white);
    z-index: 1;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--primary-green);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 10px;
}

.card-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.card.active .card-details {
    opacity: 1;
    max-height: 300px;
    margin-top: 15px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.btn-link:hover {
    background: var(--white);
}

/* Technology Showcase */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.tech-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Safety Section */
.safety-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.safety-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.safety-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.cert-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.cert-badge i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.step-item:hover .step-number {
    background: var(--primary-green);
    color: var(--white);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin-top: 30px;
}

/* Projects Gallery */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

/* Case Study */
.case-study-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-subtitle {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.case-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.case-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Awards Strip */
.awards-section {
    background: var(--primary-green);
    padding: 40px 0;
    color: var(--white);
}

.awards-track {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.award-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Clients Carousel */
.clients-carousel-container {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    background: #f8f9fa;
    /* Light grey background for contrast */
}

.clients-track {
    display: flex;
    gap: 80px;
    animation: scroll 35s linear infinite;
    width: max-content;
    align-items: center;
}

.client-logo {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 10px;
    background: #fff;
    /* White card background */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none;
    opacity: 1;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
    filter: grayscale(0%);
    /* Color on hover */
    opacity: 1;
    transform: scale(1.05);
    /* Slight grow */
}

/* Mobile Responsiveness for Logos */
@media (max-width: 768px) {
    .client-logo {
        width: 150px;
        height: 80px;
    }

    .clients-track {
        gap: 40px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CSR Section */
.csr-img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-green);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
    margin-bottom: 0 !important;
    /* Force no bottom space */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #999;
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-green);
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: #999;
    line-height: applied;
}

.footer-col ul li a {
    color: #999;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-green);
    padding-left: 0;
}

.footer-col ul li i {
    color: var(--primary-green);
    width: 20px;
    margin-top: 5px;
    /* Align icon with first line of text */
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #999;
    margin: 0 10px;
}

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

/* News Coverage */
.news-coverage-strip {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    background: var(--white);
}

.news-coverage-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.news-label {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    margin-bottom: 0;
}

.news-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-logos img {
    height: 60px;
    /* Increased height significantly */
    object-fit: contain;
    filter: none !important;
    /* Strictly enforce no filters */
    opacity: 1 !important;
    /* Strictly enforce full opacity */
    border-radius: 8px;
}

.news-logos img:hover {
    /* No transform on hover */
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

    .about-grid,
    .safety-wrapper,
    .case-study-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .impact-dashboard-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
    }

    .impact-dashboard {
        flex-direction: column;
        gap: 15px;
    }

    .impact-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {

    /* Global Mobile Adjustments */
    .section-padding {
        padding: 50px 0;
    }

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

    .section-subtitle,
    .section-desc {
        font-size: 1rem;
    }

    /* Header & Nav */
    .top-bar {
        display: none;
    }

    .navbar,
    .header-actions,
    .btn-primary.header-btn {
        /* Assuming header button might have this class or similar, but generic hiding for now if not needed */
        display: none;
    }

    .header-container {
        padding: 0 15px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
        /* Ensure above overlay */
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        align-items: center;
        /* Center content vertically */
        justify-content: center;
        flex-direction: column;
        /* Fix: Stack content vertically */
        overflow: hidden;
        /* Fix: Prevent overflow */
    }

    .hero-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        padding-top: 60px;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Impact Dashboard - Stacked & Static */
    .impact-dashboard-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        width: 100%;
        padding: 0 20px 40px;
    }

    .impact-dashboard {
        flex-direction: column;
        gap: 20px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .impact-divider {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

    .impact-item {
        justify-content: center;
        /* Center align items */
    }

    /* Map Section */
    .location-map {
        height: 300px;
        padding: 10px;
    }

    .india-map {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .map-pin {
        width: 10px;
        height: 10px;
    }

    /* News Coverage */
    .news-coverage-strip .container {
        flex-direction: column;
        gap: 20px;
    }

    .news-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .news-logos img {
        height: 40px;
        /* Adjusted for mobile but still visible */
    }

    /* Community Section */
    .community-section {
        overflow: hidden;
    }

    .community-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0;
    }

    .community-card {
        width: 100%;
        margin: 0;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        height: 300px;
        /* Fixed height for mobile */
    }

    .about-main-img {
        height: 100%;
        object-fit: cover;
    }

    .experience-badge {
        padding: 15px;
        right: 15px;
        bottom: 15px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    /* Services (Expanding Cards) */
    .expanding-cards {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .card {
        height: 80px;
        /* Collapsed state height */
        flex: none;
        width: 100%;
    }

    .card.active {
        height: 400px;
        /* Expanded state height */
        flex: none;
    }

    .card-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .card-title {
        font-size: 1.4rem;
    }

    /* Tech Grid */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* Safety Section */
    .safety-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .safety-image {
        height: 300px;
        order: -1;
        /* Image first on mobile */
    }

    /* Process Steps */
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: -20px auto 10px;
        /* Connect vertically */
        background: #ddd;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* Case Study */
    .case-study-wrapper {
        grid-template-columns: 1fr;
    }

    .case-image {
        order: -1;
    }

    /* Awards */
    .awards-track {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    /* Calculator */
    .calculator-card {
        padding: 25px 20px;
    }

    .calc-results {
        padding: 15px;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .result-value {
        align-self: flex-end;
    }


}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    padding: 25px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-logo {
    height: 40px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-links {
    flex: 1;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-nav-links a:hover {
    color: var(--primary-green);
}

.mobile-dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-submenu li {
    margin-bottom: 10px;
}

.mobile-submenu li:last-child {
    margin-bottom: 0;
}

.mobile-submenu a {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}

.mobile-menu-actions {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Google Rating Badge */
.google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.rating-score {
    color: var(--text-dark);
}

.stars {
    color: #fbbc05;
    letter-spacing: -2px;
}

.review-count {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* News Coverage Strip */
.news-coverage-strip {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-coverage-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-label {
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}



/* System Types Section */
.system-types-section {
    background: var(--white);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.system-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.system-card.featured {
    background: linear-gradient(to bottom, #f0fdf4, #ffffff);
    border: 2px solid var(--primary-green);
    transform: scale(1.05);
    z-index: 2;
}

.system-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.system-icon {
    width: 70px;
    height: 70px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.system-card:hover .system-icon {
    background: var(--primary-green);
    color: var(--white);
}

.system-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.system-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 60px;
}

.system-features {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 10px;
}

.system-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.system-features li i {
    color: var(--primary-green);
}

.system-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .system-card.featured {
        transform: none;
    }
}

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

    .news-coverage-strip .container {
        flex-direction: column;
        gap: 15px;
    }

    .news-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location-map {
    position: relative;
    /* background: #eef; Removed background for cleaner look */
    /* border-radius: 20px; */
    padding: 20px;
    height: 500px;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.india-map {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    /* Add depth to the map itself */
    opacity: 1;
    /* Full opacity */
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.city-tags span {
    background: var(--white);
    border: 1px solid #eee;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: default;
}

.city-tags span:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.community-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.community-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.community-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
}

.team-avatars img:first-child {
    margin-left: 0;
}

.more-team {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: -10px;
    color: var(--text-light);
}

.text-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.webinar-date {
    background: rgba(2, 136, 209, 0.1);
    color: var(--primary-blue);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-list {
    margin-bottom: 20px;
}

.job-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.job-list li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

/* =========================================
   Lead Generation Modal (Popup)
   ========================================= */
/* Header Scroll State */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header.scrolled .logo-img {
    filter: none;
    /* Show original colors if needed */
    height: 50px;
    /* Resize slightly on scroll */
}

/* =========================================
   Lead Generation Modal (Popup)
   ========================================= */
.lead-modal {
    /* Fixed overlay */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2147483647;
    /* Max Z-Index */

    /* Layout */
    display: flex;
    /* Always flex, hide with opacity/visibility */
    align-items: center;
    justify-content: center;

    /* Visibility State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.lead-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lead-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
}

.lead-modal.show .lead-modal-content {
    transform: translateY(0);
}

.lead-modal-header {
    background-color: #2E7D32;
    /* Grun Power Green */
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lead-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-modal:hover {
    opacity: 1;
}

.lead-modal-body {
    padding: 25px;
}

.lead-modal-body form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group.half {
    width: 50%;
}

.lead-modal-body input,
.lead-modal-body select,
.lead-modal-body textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* Rounded corners like ref */
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
    background: #fff;
    font-family: inherit;
    appearance: none;
    /* Remove default browser arrow */
    -webkit-appearance: none;
}

/* Custom Select styling to match cleaner look */
.custom-select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    font-size: 0.8rem;
}

.lead-modal-body input:focus,
.lead-modal-body select:focus,
.lead-modal-body textarea:focus {
    border-color: #2E7D32;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.checkbox-group input {
    width: auto;
    accent-color: #2E7D32;
}

.btn-submit-lead {
    width: 100%;
    background-color: #F57C00;
    /* Orange submit button */
    color: white;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    /* Rounded pill */
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-submit-lead:hover {
    background-color: #E65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group.half {
        width: 100%;
    }

    .lead-modal-content {
        width: 95%;
    }

    .lead-modal-header h3 {
        font-size: 1.25rem;
    }
}

.modal-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
}

.modal-left {
    background: var(--gradient-main);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-left h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.modal-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.trust-badges {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.modal-right {
    padding: 40px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

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

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

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.radio-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.radio-card:hover {
    border-color: var(--primary-blue);
}

.radio-card input {
    display: none;
}

.radio-card input:checked+i {
    color: var(--primary-blue);
}

.radio-card input:checked~span {
    color: var(--primary-blue);
    font-weight: 600;
}



/* CSS :has support is good now */
.radio-card:has(input:checked) {
    border-color: var(--primary-blue);
    background: rgba(2, 136, 209, 0.05);
}

.radio-card i {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-light);
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}

/* Responsive */


/* CSR Section Alignment */
.csr-section .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -15px;
    /* Negative margin for gutter */
}

.csr-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    /* Gutter padding */
}

.csr-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.csr-img:hover {
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .csr-section .row {
        flex-direction: column-reverse;
    }

    .csr-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .csr-img {
        margin-top: 30px;
        height: 300px;
    }
}

/* Video Testimonials Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 119, 189, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
    text-align: left;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Header Buttons */
.header-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-left: 5px;
}

@media (max-width: 992px) {
    .header-btn {
        display: none;
    }
}

/* Project Cards (Shared with Projects Page) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.capacity-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
}

.project-details {
    padding: 25px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-location {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: var(--primary-green);
}

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

/* Fix for View All Projects Button */
.view-all-projects-btn {
    display: inline-block;
    margin-top: 60px;
    color: var(--white) !important;
    background: var(--gradient-main);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(2, 119, 189, 0.3);
    transition: var(--transition);
    text-decoration: none !important;
}

.view-all-projects-btn:hover,
.view-all-projects-btn:focus,
.view-all-projects-btn:active {
    background: var(--gradient-hover) !important;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.view-all-projects-btn:active {
    transform: translateY(-1px);
}

/* Pulse Button Animation */
.pulse-btn {
    animation: pulse-animation 2s infinite;
    box-shadow: 0 0 0 0 rgba(2, 119, 189, 0.7);
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 119, 189, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(2, 119, 189, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 119, 189, 0);
    }
}

/* Process Grid Styles */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
    padding-bottom: 20px;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.process-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.process-content {
    padding: 0 20px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -55px;
    /* Adjusted to overlap image and content */
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.process-content h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
}

.process-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonial Tabs */
.testimonial-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 119, 189, 0.3);
}

.testimonial-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

/* Client Testimonial Card Styles */
/* Testimonials Grid System */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on large screens */
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(2, 119, 189, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 6rem;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
}

.card-footer-custom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.author-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-role {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* =========================================
   About Us Page - Reference "Grun Power" Style
   ========================================= */

/* --- Internal Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.page-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-hero .hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Full Split Section (The "Grun Power" Look) --- */
/* This removes the container constraint for a true edge-to-edge split feel, 
   or uses a very wide container to match the reference's expansive look. */

.full-split-section {
    padding: 0;
    /* No padding on the section wrapper to let image touch edges if needed */
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-wrap: wrap;
}

.split-image-side {
    padding: 0;
    min-height: 500px;
    position: relative;
}

.split-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-content-side {
    padding: 80px 60px;
    /* Generous padding like the reference */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography matching the reference */
.split-content-side .section-tag {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    background: none;
    padding: 0;
    border: none;
    text-transform: none;
    /* Reference has "About Us", not uppercase badge */
}

.split-content-side h2 {
    font-size: 2.8rem;
    /* Large headline */
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 500;
    /* Slightly thinner/cleaner */
}

.split-content-side p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Stat Counters in the text side */
.split-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.split-stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.split-stat-item p {
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Vision & Mission (Stacked) --- */
.vm-row {
    display: flex;
    background: var(--white);
    /* No shadow, clean flat look or subtle border like reference */
    border: 1px solid #f0f0f0;
    border-radius: 0;
    /* Reference looks sharper */
    margin-bottom: 60px;
    align-items: center;
}

.vm-row.reverse {
    flex-direction: row-reverse;
}

.vm-img-col {
    flex: 1;
    height: 400px;
}

.vm-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-text-col {
    flex: 1;
    padding: 60px;
}

.vm-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.vm-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- Core Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border: 1px solid #eee;
    /* Clean border */
    border-radius: 12px;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.value-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.8rem;
    transition: var(--transition);
}

.value-card:hover .value-icon-box {
    background: var(--primary-green);
    color: var(--white);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .full-split-section {
        flex-direction: column;
    }

    .split-image-side {
        min-height: 300px;
        order: -1;
        /* Ensure image is top on mobile */
    }

    .split-content-side {
        padding: 40px 20px;
    }

    .vm-row,
    .vm-row.reverse {
        flex-direction: column;
    }

    .vm-img-col {
        height: 250px;
        width: 100%;
    }

    .vm-text-col {
        padding: 30px 20px;
    }
}

/* =========================================
   About Us Page Specific Styles
   ========================================= */

/* --- Internal Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=formathttps://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&q=80&w=1000fit=crophttps://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&q=80&w=1000q=80https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&q=80&w=1000w=1600');
    background-size: cover;
    background-position: center;
    height: 350px;
    /* Reduced height as requested implicitly */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.page-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.page-hero .hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s backwards;
}

/* --- About Split Section (Side-by-Side) --- */
.about-split-section {
    padding: 60px 0;
    overflow: hidden;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    /* Keep reasonable height but let grid control width */
    min-height: 400px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.stat-row {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

/* --- Vision & Mission (Stacked Side-by-Side) --- */
.vm-section {
    background: var(--light-bg);
}

.vm-row {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    transition: transform 0.4s ease;
}

.vm-row:hover {
    transform: translateY(-5px);
}

.vm-row:last-child {
    margin-bottom: 0;
}

.vm-img-col {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.vm-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vm-row:hover .vm-img-col img {
    transform: scale(1.08);
}

.vm-text-col {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-row.reverse {
    flex-direction: row-reverse;
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vm-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.vm-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Core Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.value-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(46, 125, 50, 0.2);
}

.value-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    transition: all 0.5s ease;
}

.value-card:hover .value-icon-box {
    background: var(--primary-green);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.value-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

    .vm-row,
    .vm-row.reverse {
        flex-direction: column;
    }

    .vm-img-col,
    .vm-text-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .vm-img-col {
        height: 250px;
        min-height: 250px;
    }

    .vm-text-col {
        padding: 30px;
    }

    .about-split-section .row {
        /* Keep row reverse on mobile or standard? Standard usually stacks image then text. */
        /* But if user complains about image on top, we might want text first? 
            Standard stacking is fine, just need grid to work on desktop. */
    }
}

/* =========================================
   About Us Page Specific Styles
   ========================================= */

/* --- Internal Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(2, 62, 138, 0.4), rgba(2, 62, 138, 0.4)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    /* Removing margin to connect flux smoothly */
}

.page-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.page-hero .hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s backwards;
}

/* --- About Split Section (Side-by-Side) --- */
.about-split-section {
    padding: 80px 0;
    overflow: hidden;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 450px;
    /* Taller for professional look */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.stat-row {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

/* --- Vision & Mission (Stacked Side-by-Side) --- */
.vm-section {
    background: var(--light-bg);
}

.vm-row {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    transition: transform 0.4s ease;
}

.vm-row:hover {
    transform: translateY(-5px);
}

.vm-row:last-child {
    margin-bottom: 30px;
}

.vm-img-col {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.vm-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vm-row:hover .vm-img-col img {
    transform: scale(1.08);
}

.vm-text-col {
    flex: 0 0 50%;
    padding: 50px;
    /* Generous padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-row.reverse {
    flex-direction: row-reverse;
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vm-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.vm-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- Core Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(46, 125, 50, 0.2);
}

.value-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.5s ease;
}

.value-card:hover .value-icon-box {
    background: var(--primary-green);
    color: var(--white);
    transform: rotateY(180deg);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

    .vm-row,
    .vm-row.reverse {
        flex-direction: column;
    }

    .vm-img-col,
    .vm-text-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .vm-img-col {
        height: 250px;
        min-height: 250px;
    }

    .vm-text-col {
        padding: 30px;
    }
}

/* --- Internal Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
}

.page-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-hero .hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Professional Team List Card --- */
.team-list-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 119, 189, 0.2);
}

.team-img-side {
    width: 140px;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.team-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-list-card:hover .team-img-side img {
    transform: scale(1.05);
}

.team-info-side {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .team-list-card {
        flex-direction: row;
        /* Keep side-by-side on mobile too if possible, or stack */
        align-items: flex-start;
    }

    .team-img-side {
        width: 100px;
        min-width: 100px;
        height: auto;
    }

    .team-info-side {
        padding: 15px;
    }


    .team-name {
        font-size: 1.1rem;
    }
}

/* Awards Section */
.award-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.award-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    filter: none !important;
}

.news-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Contact Page Specific Styles
   ========================================= */

.contact-split-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 20px;
}

.contact-map-side {
    flex: 1;
    min-width: 300px;
    min-height: 450px;
    position: relative;
}

.contact-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-side {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    /* Matches p-5 roughly */
}

.contact-form-side .form-group {
    margin-bottom: 20px;
}

.contact-form-side .form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.contact-form-side .form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.contact-form-side h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .contact-split-wrapper {
        flex-direction: column;
    }

    .contact-map-side {
        min-height: 300px;
        height: 300px;
    }

    .contact-form-side {
        padding: 30px;
    }
}

/* =========================================
   Full Split Section (About Page)
   ========================================= */

.full-split-section {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    background: var(--white);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.split-image-side {
    position: relative;
    padding: 0 !important;
    min-height: 180px;
    overflow: hidden;
    flex: 0 0 35%;
    max-width: 35%;
}

.split-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
    display: block;
}

.full-split-section:hover .split-image-side img {
    transform: scale(1.05);
}

.split-content-side {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    flex: 0 0 65%;
    max-width: 65%;
}

.split-content-side h2 {
    font-size: 1.6rem;
    /* Reduced from 2rem */
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-dark);
}

.split-content-side p {
    font-size: 0.9rem;
    /* Reduced from 0.95rem */
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.split-stats {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.split-stat-item h4 {
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.split-stat-item p {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 991px) {
    .full-split-section {
        flex-direction: column;
    }

    .split-image-side,
    .split-content-side {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .split-image-side {
        height: 200px;
        /* Reduced from 300px */
        min-height: 200px;
    }

    .split-content-side {
        padding: 30px 20px;
    }

    .split-content-side h2 {
        font-size: 1.5rem;
    }
}

/* ========================
   Responsive Design
   ======================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

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

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    /* Header & Navigation */
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .navbar {
        display: none;
        /* Hide desktop nav */
    }

    .header-right .btn {
        display: none;
        /* Hide header buttons on mobile */
    }

    .header-right {
        border-left: none;
        padding-left: 0;
    }

    /* Layouts */
    .split-section,
    .about-grid,
    .contact-split-wrapper,
    .full-split-section {
        flex-direction: column;
    }

    .split-image-side,
    .split-content-side,
    .about-image-col,
    .about-content-col,
    .contact-map-side,
    .contact-form-side {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-image-col {
        margin-bottom: 30px;
    }

    /* Grid Systems */
    .projects-grid,
    .systems-grid,
    .achievements-grid,
    .values-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

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

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .projects-grid,
    .systems-grid,
    .achievements-grid,
    .values-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr !important;
    }

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

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

    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

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

    .header-container {
        padding: 0 10px;
    }

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

/* Solar EPC Page Sidebar Styles */
.sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    padding: 15px;
    background: var(--dark-blue);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -30px -30px 20px -30px;
}

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

.service-list li {
    margin-bottom: 10px;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-list a {
    display: block;
    padding: 12px 20px;
    background: #f8f9fa;
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.service-list a:hover,
.service-list a.active {
    background: var(--light-bg);
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Query Form Widget */
.query-widget {
    background: linear-gradient(135deg, #FF512F 0%, #F09819 100%);
    color: var(--white);
}

.query-widget .widget-title {
    background: transparent;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.query-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    margin-bottom: 15px;
    padding: 12px 15px;
}

.query-form .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--white);
    color: var(--white);
    width: 100%;
    margin-top: 10px;
}

.query-form .btn:hover {
    background: var(--white);
    color: #FF512F;
}

/* EPC Content Specifics */
.epc-feature-list {
    list-style: none;
    padding: 0;
}

.epc-feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.epc-feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-green);
}

.epc-main-img {
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}


/* Email Popup Styles */
.email-popup {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.email-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
}

.email-popup a {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.email-popup button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.email-popup button:hover {
    color: #ff4d4d;
}

/* Solutions Page Styles */
.solution-block {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.solution-block:last-child {
    border-bottom: none;
}

.solution-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.solution-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.solution-features {
    list-style: none;
    margin-bottom: 30px;
}

.solution-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.solution-features li i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.solution-img {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.solution-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.solution-img:hover img {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.solution-img::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.solution-img:hover::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
    opacity: 0.6;
}

.bg-light-alt {
    background-color: #f9fbfd;
}

/* Fix Desktop Nav Visibility on Internal Pages */
body.projects-page .nav-link {
    color: var(--text-dark) !important;
}

body.projects-page .header {
    background: #fff;
    /* Ensure background is white */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Add shadow for visibility */
}

body.projects-page .header .mobile-toggle span {
    background-color: var(--text-dark);
}

.calc-input-card,
.calc-results-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

/* Inputs with Icons */
.input-with-icon {
    position: relative;
    margin-top: 8px;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    /* Icon color */
    font-size: 1.1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    /* Space for icon */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

.bill-display {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.bill-display .currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 10px;
    padding-left: 10px;
}

.bill-display input {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    width: 100%;
}

.bill-display input:focus {
    outline: none;
}

/* Range Slider */
.range-slider-container input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
}

.range-slider-container input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* Results Card */
.results-header {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.system-size-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.system-size-badge i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.badge-content strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.roof-area-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.roof-icon i {
    font-size: 1.5rem;
    color: #666;
}

.roof-details strong {
    font-size: 1.2rem;
    color: #333;
}

.savings-section h4 {
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.savings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.savings-item {
    background: #f4f6f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.savings-item.highlight {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.savings-item .value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 5px;
}

/* Consultation Page Styles */
.consult-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.consult-info {
    flex: 1;
    min-width: 300px;
    background: #e8f5e9;
    padding: 40px;
    border-radius: 12px;
}

.consult-info h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.consult-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.consult-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.consult-features li i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.consult-form-wrapper {
    flex: 1.2;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.consult-form .form-group {
    margin-bottom: 20px;
}

.consult-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
}

.consult-form input,
.consult-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.consult-form input:focus,
.consult-form select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

@media (max-width: 768px) {
    .consult-container {
        flex-direction: column;
        gap: 30px;
    }

    .consult-info,
    .consult-form-wrapper {
        min-width: 100%;
        padding: 30px 20px;
    }
}

/* Webinar Page Styles */
.webinar-hero {
    background: var(--gradient-main);
    padding: 180px 0 100px;
    /* Top padding accounts for fixed header */
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bright-green);
}

.webinar-card-lg {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.webinar-card-lg:hover {
    transform: translateY(-5px);
}

.webinar-thumb {
    flex: 1;
    min-width: 400px;
    /* Ensure image takes space */
}

.webinar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.webinar-details {
    flex: 1;
    padding: 40px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webinar-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
}

.speaker-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.speaker-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Past Webinars */
.past-webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.past-webinar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.past-webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.past-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.past-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.past-webinar-card:hover .past-thumb img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.past-webinar-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.past-content {
    padding: 20px;
}

.past-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .webinar-card-lg {
        flex-direction: column;
    }

    .webinar-thumb {
        min-width: 100%;
        height: 250px;
    }

    .webinar-details {
        padding: 25px;
    }
}

/* Careers Page Styles */
.careers-hero {
    background: var(--gradient-main);
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.culture-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.culture-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Job Openings */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-left: 5px solid var(--primary-green);
    transform: translateX(10px);
}

.job-info h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-meta span i {
    color: var(--primary-green);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .job-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .job-card .btn {
        width: 100%;
    }
}

/* Projects Page Styles */
.projects-hero {
    background: var(--gradient-main);
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.zone-select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    cursor: pointer;
}

.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    /* Ensure existing weak styles don't conflict */
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.capacity-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(39, 174, 96, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.project-thumb {
    height: 250px;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-details {
    padding: 20px;
    text-align: left;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.project-title a:hover {
    color: var(--primary-green);
}

.project-location {
    font-size: 0.95rem;
    color: #666;
}

.project-location i {
    color: var(--primary-green);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .projects-grid-full {
        grid-template-columns: 1fr;
        /* Full width on mobile */
        gap: 20px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Team Page Styles */
.team-hero {
    background: var(--gradient-main);
    padding: 180px 0 100px;
    color: var(--white);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-img-wrapper {
    height: 320px;
    overflow: hidden;
    background: #f4f6f8;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-role {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f4f6f8;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* Service Pages (Solar EPC, Install, O&M) */
.page-hero {
    background: var(--gradient-main);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img-col,
.service-text-col {
    flex: 1;
}

.service-section-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.epc-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.epc-feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

.epc-feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-green);
}

.sidebar-widget {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 120px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    background: transparent !important;
    padding: 0;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 10px;
}

.service-list a {
    display: block;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.service-list a:hover,
.service-list a.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    transform: translateX(5px);
}

@media (max-width: 991px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
    }

    .service-content {
        order: 1;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: var(--gradient-main);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more-btn {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 10px;
}

/* Catalogue Page Styles */
.catalogue-hero {
    background: var(--gradient-main);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.catalogue-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.catalogue-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.catalogue-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.catalogue-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.download-link:hover {
    background: var(--hover-blue);
    color: #fff;
}

/* Load Calculator Styles */
.calc-hero {
    background: var(--gradient-main);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
}

.load-calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.appliances-panel {
    flex: 2;
    min-width: 300px;
}

.result-panel {
    flex: 1;
    min-width: 300px;
    background: var(--gradient-main);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
    height: fit-content;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.appliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.appliance-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.appliance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.appliance-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.appliance-name {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.counter-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 50px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.counter-btn:hover {
    background: var(--primary-blue);
    color: #fff;
}

.counter-value {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 20px;
}

.total-load-display {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0 5px;
}

.recommendation-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rec-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.rec-system {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    /* Or white to stand out on dark bg? Let's use accent green */
    color: #00ff88;
    margin-bottom: 5px;
}

.btn-white {
    background: #fff;
    color: var(--primary-blue);
    font-weight: 600;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .load-calculator-container {
        flex-direction: column;
    }

    .result-panel {
        position: static;
        order: -1;
        /* Show result on top on mobile? Or bottom? Usually bottom is better if list is long. Let's keep default order */
        order: 1;
    }
}

/* Fix for Expanding Cards Text Visibility (Index Page) */
.card-content .card-title {
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.card-details p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-details .btn-link {
    color: #fff !important;
    text-shadow: none;
}

/* Fix for Locations / Presence Section (Mobile & Aesthetics) */
@media (max-width: 991px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .city-tags {
        justify-content: center;
    }

    .location-map {
        height: auto;
        /* Allow auto height on mobile */
        min-height: 300px;
        padding: 0;
    }

    .india-map {
        max-height: 400px;
        /* Limit height on mobile so it doesn't take up whole screen */
        width: 100%;
        object-fit: contain;
    }

    .city-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Polishing the Tags */
.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.city-tags span {
    background: #f8f9fa;
    /* Slight grey bg */
    border: 1px solid transparent;
    /* Cleaner look */
    padding: 8px 18px;
    font-size: 0.95rem;
    /* Slightly larger text */
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.city-tags span:hover {
    background: var(--white);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Fix for Community Section (Join the Solar Movement) - Mobile Stacking */
@media (max-width: 991px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr !important;
        /* Force stack on mobile */
        gap: 30px;
        width: 100%;
        margin: 0;
    }

    .community-card {
        width: 100%;
        margin-bottom: 0px;
    }
}

/* Clients Page Styles */
.featured-client {
    background: linear-gradient(135deg, #fff, #f4f6f9);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.featured-client::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-blue);
}

.featured-client img {
    height: 80px;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.featured-client:hover img {
    transform: scale(1.05);
}

.featured-client h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.featured-client p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.client-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    /* Reduced padding for more logos */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.client-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    /* filter: grayscale(100%); Removed as per user request */
    opacity: 1;
    /* Make full opacity immediately */
    transition: all 0.3s;
}

.client-item:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .featured-client {
        padding: 40px 20px;
    }

    .featured-client h3 {
        font-size: 1.5rem;
    }

    .client-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}