:root {
    --black: #080808;
    --black-light: #121212;
    --white: #ffffff;
    --white-mute: #f4f5f7;
    --sky: #87CEEB;
    --sky-dark: #1E5A8F;
    --sky-dim: rgba(135, 206, 235, 0.1);
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: padding 0.3s;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(8, 8, 8, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--sky);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--white-mute);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 90, 143, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 143, 0.6);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--sky);
}

.btn-secondary:hover {
    background: var(--sky-dim);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('./images/service/1.png') center/cover; /* Fallback visually pleasing image */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,8,8,0.95) 0%, rgba(30,90,143,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--white-mute);
    margin-bottom: 40px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features / How We Work */
.features-section {
    position: relative;
    z-index: 10;
    padding-top: 60px; /* Sit under the line with comfortable spacing */
    margin-bottom: 60px; 
}

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

.feature-box {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
    /* Add entry animation */
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.3s; }
.feature-box:nth-child(3) { animation-delay: 0.5s; }

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

.feature-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--sky);
    box-shadow: 0 15px 40px rgba(135,206,235,0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(30,90,143,0.3) 0%, rgba(135,206,235,0.2) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--sky);
    stroke-width: 1.5;
}

.feature-box h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--white-mute);
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--black);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.section-header p {
    color: var(--sky);
    font-weight: 600;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--black-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(135, 206, 235, 0.15);
    border-color: rgba(135, 206, 235, 0.3);
}

.card-image-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-details {
    padding: 25px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #152A4A 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-details h3 {
    font-size: 1.1rem;
    color: var(--white);
    flex: 1;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    margin-left: 15px;
    transition: 0.3s;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--sky);
    stroke-width: 2;
}

.service-card:hover .card-icon {
    background: var(--sky);
}

.service-card:hover .card-icon svg {
    stroke: var(--black);
}

/* About / Video */
.about {
    padding: 100px 0;
    background: var(--black-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--white-mute);
    margin-bottom: 30px;
}

.about-text ul {
    list-style: none;
}

.about-text ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--sky);
}

/* Footer */
.footer {
    background: #040404;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(135,206,235,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--white-mute);
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--sky);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a:hover {
    color: var(--sky);
}

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

/* Mind Map Section */
.engineer-section {
    padding: 100px 0;
    background: var(--black-light);
    overflow: hidden;
}

.mindmap-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mindmap-center {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 10;
}

.mindmap-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--sky);
    box-shadow: 0 0 30px rgba(135,206,235,0.4);
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid var(--sky);
    animation: pulse 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.skill-node {
    position: absolute;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a3c61 100%);
    border: 1px solid rgba(135,206,235,0.4);
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    animation: floatNode 4s ease-in-out infinite alternate;
}

.skill-node:hover {
    transform: scale(1.1);
    border-color: var(--sky);
    cursor: pointer;
    z-index: 100;
}

@keyframes floatNode {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Distribute nodes in a circle */
.p-solar { top: 10%; left: 50%; margin-left: -70px; animation-delay: 0s; }
.p-elec { top: 25%; left: 15%; animation-delay: 0.5s; }
.p-sec { top: 25%; right: 15%; animation-delay: 1.2s; }
.p-net { top: 75%; left: 20%; animation-delay: 0.8s; }
.p-smart { top: 75%; right: 20%; animation-delay: 1.5s; }
.p-plumb { bottom: 10%; left: 50%; margin-left: -90px; animation-delay: 0.3s; }

/* Connecting subtle lines (using radial background trick) */
.mindmap-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 150px, rgba(135,206,235,0.05) 151px, transparent 152px),
                radial-gradient(circle at center, transparent 250px, rgba(135,206,235,0.05) 251px, transparent 252px);
    z-index: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
}
