/* ===================================
   EnerMind - Smart Energy Solutions
   Main Stylesheet
   =================================== */

/* CSS Variables - Brand Colors */
:root {
    --primary-blue: #0A2540;
    --energy-green: #22C55E;
    --light-gray: #E5E7EB;
    --white: #FFFFFF;
    --dark-gray: #1F2937;
    --medium-gray: #6B7280;
    --border-gray: #D1D5DB;
    --success-green: #10B981;
    --gradient-start: #0A2540;
    --gradient-end: #1E3A5F;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-blue);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--energy-green);
}

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

ul {
    list-style: none;
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #F9FAFB;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    color: var(--energy-green);
    font-size: 1.75rem;
}

.logo:hover {
    color: var(--white);
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-nav {
    background-color: var(--energy-green);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 6px;
}

.btn-nav:hover {
    background-color: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.7);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, 0.7);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Introduction Content */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

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

/* Cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--energy-green) 0%, #16A34A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Highlight Cards */
.highlight-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--energy-green);
    margin-bottom: 20px;
}

.highlight-card h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.highlight-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Efficiency Section */
.efficiency-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.efficiency-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.efficiency-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--energy-green);
    line-height: 1;
    min-width: 80px;
}

.efficiency-content h3 {
    margin-bottom: 15px;
}

.efficiency-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.efficiency-list {
    list-style: none;
    padding-left: 0;
}

.efficiency-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--medium-gray);
}

.efficiency-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--energy-green);
    font-weight: 700;
}

/* Consultation Box */
.consultation-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    border-radius: 16px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.consultation-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.consultation-content p {
    margin-bottom: 25px;
    opacity: 0.95;
}

.consultation-features {
    list-style: none;
}

.consultation-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.consultation-features i {
    color: var(--energy-green);
    font-size: 1.2rem;
}

.consultation-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--energy-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    background: #D1FAE5;
    border: 2px solid var(--success-green);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: var(--dark-gray);
}

.form-success i {
    font-size: 3rem;
    color: var(--success-green);
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    margin-bottom: 0;
}

/* Solution Detail */
.solution-detail {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--energy-green) 0%, #16A34A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.solution-header h2 {
    margin-bottom: 5px;
}

.solution-tagline {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.solution-image {
    width: 100%;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.solution-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.solution-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.solution-text h3 {
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

.solution-text p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--medium-gray);
    line-height: 1.7;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--energy-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-list strong {
    color: var(--primary-blue);
}

.solution-features-box {
    background: #F9FAFB;
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.solution-features-box h4 {
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

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

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

.feature-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    padding: 40px 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--energy-green) 0%, #16A34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Articles */
.featured-article {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.article-badge {
    display: inline-block;
    background: var(--energy-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-article h2 {
    margin-bottom: 20px;
    font-size: 2.25rem;
}

.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--medium-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--energy-green);
}

.article-content h3 {
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
}

.article-content p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.article-content ul li {
    color: var(--medium-gray);
    padding: 5px 0;
    line-height: 1.7;
}

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

.article-card {
    background: var(--white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.article-card > *:not(.article-image) {
    padding: 0 35px;
}

.article-card > .article-card-header {
    padding-top: 25px;
}

.article-card > .article-footer {
    padding-bottom: 35px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.article-category {
    background: #E5E7EB;
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-date {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.article-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
}

.read-time {
    color: var(--medium-gray);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-link {
    color: var(--energy-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-link:hover {
    gap: 12px;
}

/* Case Studies */
.case-studies {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-study {
    background: var(--white);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.case-study-header h3 {
    font-size: 1.75rem;
}

.case-study-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.case-badge {
    background: var(--energy-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.case-location {
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: #F9FAFB;
    border-radius: 10px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--energy-green);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.case-study-content p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-study-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Trends */
.trends-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.trend-item {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trend-item i {
    font-size: 3rem;
    color: var(--energy-green);
    margin-bottom: 20px;
}

.trend-item h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.trend-item p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Newsletter */
.newsletter-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    padding: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-content p {
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* About Page */
.about-story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-story-content h2 {
    margin-bottom: 25px;
}

.about-story-content p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-story-values h3 {
    margin-bottom: 25px;
}

.value-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.value-item i {
    color: var(--energy-green);
    font-size: 1.5rem;
    margin-top: 2px;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--energy-green);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-photo i {
    font-size: 3.5rem;
    color: var(--white);
    opacity: 0.7;
}

.team-member h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.team-role {
    color: var(--energy-green);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-bio {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.credential-item {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.credential-item i {
    font-size: 3rem;
    color: var(--energy-green);
    margin-bottom: 20px;
}

.credential-item h4 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.credential-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ethics */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.ethics-item {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ethics-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.ethics-item h3 i {
    color: var(--energy-green);
    font-size: 1.5rem;
}

.ethics-item p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Commitments */
.commitments-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.commitment-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.commitment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--energy-green) 0%, #16A34A 100%);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commitment-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.commitment-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.commitment-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    text-align: left;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-section h2 {
    margin-bottom: 20px;
}

.contact-info-section > p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--energy-green) 0%, #16A34A 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.contact-info-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

.contact-info-content a {
    color: var(--primary-blue);
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--medium-gray) !important;
    margin-top: 5px !important;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--energy-green);
    transform: translateY(-3px);
}

.contact-form-section h2 {
    margin-bottom: 15px;
}

.form-intro {
    color: var(--medium-gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-form {
    background: var(--white);
}

.form-success-message {
    background: #D1FAE5;
    border: 2px solid var(--success-green);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.success-icon i {
    font-size: 4rem;
    color: var(--success-green);
    margin-bottom: 20px;
}

.form-success-message h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.form-success-message p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Map */
.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    text-align: center;
    color: var(--dark-gray);
}

.map-overlay i {
    font-size: 4rem;
    color: var(--energy-green);
    margin-bottom: 15px;
}

.map-overlay p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Service Areas */
.service-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-area-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-area-card i {
    font-size: 3rem;
    color: var(--energy-green);
    margin-bottom: 20px;
}

.service-area-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.service-area-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.faq-item p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Legal Pages */
.legal-nav-section {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 2px solid var(--border-gray);
}

.legal-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.legal-nav-link {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-nav-link.active {
    background: var(--energy-green);
    color: var(--white);
}

.legal-nav-link:hover {
    background: var(--energy-green);
    color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.legal-update {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 40px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.legal-block h4 {
    font-size: 1.25rem;
    margin: 20px 0 10px 0;
}

.legal-block p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-block ul {
    list-style: disc;
    padding-left: 30px;
    margin: 15px 0;
}

.legal-block ul li {
    color: var(--medium-gray);
    line-height: 1.8;
    padding: 5px 0;
}

.legal-block strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    color: var(--white);
}

.cta-box {
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0F1F35 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--energy-green);
    font-size: 1.75rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--energy-green);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--energy-green);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a:hover {
    color: var(--energy-green);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.5);
}

/* Article Modals */
.article-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 37, 64, 0.95);
    animation: fadeIn 0.3s ease;
}

.article-modal.active {
    display: block;
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    position: relative;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--energy-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: #16A34A;
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
    padding: 30px 60px 20px 40px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-category {
    background: var(--energy-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.modal-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.modal-content h2 {
    color: var(--white);
    padding: 20px 40px 30px;
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A5F 100%);
}

.modal-meta {
    padding: 20px 40px;
    border-bottom: 2px solid var(--border-gray);
    display: flex;
    gap: 30px;
    background: #F9FAFB;
}

.modal-meta span {
    color: var(--medium-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-meta i {
    color: var(--energy-green);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--primary-blue);
    margin: 35px 0 20px 0;
    font-size: 1.5rem;
    padding-top: 10px;
    border-top: 2px solid var(--border-gray);
}

.modal-body h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.modal-body p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.modal-body .lead-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 30px;
    padding: 20px;
    background: #F0FDF4;
    border-left: 4px solid var(--energy-green);
    border-radius: 4px;
}

.modal-body ul,
.modal-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.modal-body ul {
    list-style: disc;
}

.modal-body ol {
    list-style: decimal;
}

.modal-body li {
    color: var(--medium-gray);
    margin-bottom: 12px;
    line-height: 1.7;
}

.modal-body li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.modal-body strong {
    color: var(--primary-blue);
}

/* Scrollbar styling for modal */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: #F9FAFB;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--energy-green);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #16A34A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .consultation-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
    }
    
    .about-story {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
        flex-direction: column;
        padding: 30px 20px;
        gap: 10px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: left;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .efficiency-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .newsletter-box {
        flex-direction: column;
        padding: 40px 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .ethics-grid {
        grid-template-columns: 1fr;
    }
    
    .commitments-content {
        grid-template-columns: 1fr;
    }
    
    .service-areas {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .card,
    .solution-detail,
    .featured-article {
        padding: 30px 20px;
    }
    
    .consultation-box {
        padding: 30px 20px;
    }
    
    .consultation-form {
        padding: 25px 20px;
    }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 25px 50px 15px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        padding: 15px 20px 25px;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-body h3 {
        font-size: 1.25rem;
    }
    
    .modal-close {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}
