:root {
    /* "White and Blue" Light Theme Variables */
    --primary: #00A3FF;
    /* Bright Blue from card style */
    --primary-dark: #007acc;
    --primary-light: #60c5ff;
    --secondary: #29b6f6;
    /* Cyan/Light Blue */

    --bg-main: #ffffff;
    --bg-alt: #f0f9ff;
    /* Very light blue tint */

    --text-main: #1e293b;
    /* Dark Slate */
    --text-muted: #64748b;
    /* Muted Slate */

    --card-bg: #ffffff;
    --card-border: #e0f2fe;
    /* Light Blue border */

    --nav-height: 80px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 163, 255, 0.15), 0 4px 6px -2px rgba(0, 163, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
    /* Blue Logo */
}

.logo span {
    color: var(--text-main);
    /* Dark Text for "Cleantech" or vice versa */
}

/* Reverse logo colors for visual interest if needed, but keeping primary aligned with "Indev" is good */

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    /* Light subtle gradient */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--card-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Background Design Element - White/Blue Theme */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.alt-bg {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    /* Removed left/transform centering as it conflicts with parent text-align: center */
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.about-card p {
    color: var(--text-muted);
}

/* Card Image */
.card-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--card-border);
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
}

.card-img-wrap::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-img-wrap:hover::after {
    opacity: 1;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.3s ease;
}

.card-img-wrap:hover .card-img {
    transform: scale(1.03);
}

/* Lightbox Modal */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 1rem;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-box img {
    display: block;
    max-width: 85vw;
    max-height: 82vh;
    border-radius: 0.5rem;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.4);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 163, 255, 0.1);
    /* Light Blue bg */
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.service-item:hover {
    background: var(--bg-alt);
    transform: translateX(10px);
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.service-item p {
    color: var(--text-muted);
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    text-align: center;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.contact-details i {
    color: var(--primary) !important;
}

.contact-details a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
}

.footer-logo span {
    color: var(--text-main);
}

.footer-content p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        /* White mobile menu */
        padding-top: var(--nav-height);
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-main);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}