/* --- TPM 2000 | Global Design System --- */

:root {
    /* Color Palette */
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #38BDF8;
    --accent: #10B981; /* Emeral Green for subtle sustainability/success signals */
    --surface: #F8FAFC;
    --text: #0F172A;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(226, 232, 240, 0.5);
    
    /* Layout */
    --header-height: 80px;
    --container: 1200px;
    --radius: 12px;
    
    /* Transitions */
    --slow: 0.5s ease;
    --fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Header & Navigation --- */

header {
    height: var(--header-height);
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--fast);
}

header.scrolled {
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-text-wrapper {
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-light);
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--fast);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

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

/* --- Services --- */

.services-section {
    padding: 100px 0;
    background-color: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    color: var(--text-muted);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Energy Highlight --- */

.energy-highlight {
    padding: 100px 0;
    background: linear-gradient(to right, #ffffff, #f1f5f9);
}

.highlight-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.highlight-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--slow);
}

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

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

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent);
}

/* --- Stats --- */

.stats-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Contact Section --- */

.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background-color: var(--surface);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background-color: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

input, select, textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.full-width {
    width: 100%;
}

/* --- Footer --- */

footer {
    padding: 40px 0;
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.social-links a:hover {
    color: var(--white);
}

/* --- Animations & Reveal --- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* --- Mobile Responsiveness --- */

@media (max-width: 968px) {
    .highlight-container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}
