/* SHRI HARI ENTERPRISES - PREMIUM INTERACTIVE STYLESHEET
           Logo Colors: Deep Blue (#0056b3), Teal Green (#00a693), Aqua (#00d2ff)
        */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap');

:root {
    --blue: #0056b3;
    --teal: #00a693;
    --aqua: #00d2ff;
    --dark-navy: #0a0f1a;
    --dark: #0f172a;
    --white: #ffffff;
    --grey: #f8fafc;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--blue);
}

.logo-text span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--teal);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--teal);
    color: white !important;
    padding: 10px 22px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 166, 147, 0.2);
}

.logo-img {
    height: 85px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('./images/solar_panel_worker.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(0, 86, 179, 0.4) 100%);
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 25px 0;
}

.gradient-text {
    background: linear-gradient(to right, var(--aqua), var(--teal), var(--aqua));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.badge {
    background: var(--teal);
    letter-spacing: 2px;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--teal);
    color: white;
    padding: 16px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 166, 147, 0.4);
}

.btn-glass {
    border: 2px solid white;
    color: white;
    padding: 16px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-glass:hover {
    background: white;
    color: var(--blue);
    transform: translateY(-5px);
}

/* --- COMPLIANCE BAR --- */
.compliance-bar {
    background: var(--dark-navy);
    padding: 12px 0;
    overflow: hidden;
}

.compliance-bar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.compliance-tag {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.compliance-tag span {
    color: var(--teal);
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--grey);
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 20px;
}

.center-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--blue);
    font-weight: 800;
}

.center-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: #64748b;
}

/* --- ABOUT & PILLARS --- */
.side-by-side-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar-card {
    background: var(--grey);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid var(--blue);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--teal);
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.pillar-card i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 15px;
    transition: transform 0.5s;
    display: block;
}

.pillar-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* --- MISSION & WHY CHOOSE --- */
.mission-section {
    background: linear-gradient(135deg, var(--blue) 0%, #003d82 100%);
    color: white;
    padding: 80px 0;
}

.mission-section .section-title {
    color: white;
}

.mission-section .lead-text {
    color: var(--aqua);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-card i {
    color: var(--aqua);
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.why-card h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1rem;
}

.why-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* --- SERVICES --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-box {
    background: white;
    padding: 45px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-box:hover {
    transform: translateY(-12px);
    border-color: var(--teal);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.service-box i {
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 25px;
    transition: 0.5s;
    display: block;
}

.service-box:hover i {
    color: var(--teal);
}

.service-box h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* --- DETAILED SERVICE SECTIONS --- */
.service-detail {
    padding: 80px 0;
    border-top: 1px solid #e2e8f0;
}

.service-detail:nth-child(even) {
    background: var(--grey);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.service-detail-header i {
    font-size: 2.5rem;
    color: var(--teal);
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--blue);
    font-weight: 800;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.core-services-list {
    list-style: none;
}

.core-services-list>li {
    margin-bottom: 20px;
}

.core-services-list>li>strong {
    color: var(--teal);
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.sub-list {
    list-style: none;
    padding-left: 15px;
}

.sub-list li {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.sub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
}

.clients-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--blue);
    margin-top: 30px;
}

.clients-box h4 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1rem;
}

.client-tag {
    display: inline-block;
    background: var(--grey);
    color: var(--dark);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px 4px 4px 0;
    border: 1px solid #e2e8f0;
}

/* --- PRODUCTS TABLE --- */
.products-section {
    padding: 100px 0;
}

.products-table-wrap {
    overflow-x: auto;
    margin-top: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--blue);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.9rem;
}

td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #475569;
    vertical-align: top;
}

tr:hover td {
    background: #f0f9ff;
}

td strong {
    color: var(--dark);
    font-weight: 700;
}

.product-name {
    color: var(--blue);
    font-weight: 700;
    min-width: 140px;
}

.spec-text {
    line-height: 1.7;
}

/* --- INDUSTRIES TARGETED --- */
.industries-section {
    background: var(--grey);
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.industry-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 3px solid var(--teal);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--blue);
}

.industry-card i {
    font-size: 2.2rem;
    color: var(--blue);
    margin-bottom: 15px;
    display: block;
}

.industry-card h4 {
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 700;
}

/* --- QUALITY & ENGAGEMENT --- */
.quality-section {
    padding: 100px 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.qa-card {
    background: var(--grey);
    border-radius: 20px;
    padding: 40px;
}

.qa-card h3 {
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
}

.qa-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.qa-icon {
    background: var(--teal);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.engagement-steps {
    counter-reset: step;
}

.engagement-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.step-num {
    background: var(--blue);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text h4 {
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.step-text p {
    color: #64748b;
    font-size: 0.85rem;
}

/* --- CTA BANNER --- */
.cta-section {
    background: linear-gradient(135deg, var(--teal) 0%, #007a6d 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--teal);
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* --- FOOTER --- */
footer {
    background: var(--dark-navy);
    color: #94a3b8;
    padding: 100px 0 40px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: white;
}

.footer-brand span {
    color: var(--teal);
}

.footer-compliance {
    margin-top: 20px;
}

.footer-compliance span {
    display: block;
    font-size: 0.8rem;
    margin-top: 6px;
    color: #cbd5e1;
}

.footer-contact h4,
.footer-links h4,
.footer-address h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-contact h4::after,
.footer-links h4::after,
.footer-address h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 2px;
    background: var(--teal);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- ANIMATIONS & UTILS --- */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
}

/* Moved .nav-links.show to mobile query for optimization */

p {
    margin-bottom: 15px;
    color: #475569;
}

p:last-child {
    margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .side-by-side-grid,
    .mission-grid,
    .service-detail-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }

    .navbar .container {
        padding: 0 20px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        width: 220px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s;
        will-change: opacity, transform;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--blue);
        touch-action: manipulation;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pillar-card {
        padding: 25px 20px;
    }

    .pillar-card i {
        font-size: 2rem;
    }

    .center-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}