/* ============================================================
   Shreyans Energy Pvt. Ltd. — Shared Stylesheet
   Boxed layout, mobile responsive, clean green energy theme
   ============================================================ */

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

html { font-size: 100%; scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #e8ede8;
    -webkit-font-smoothing: antialiased;
}

a { color: #2e7d32; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1b5e20; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }

/* --- Boxed Wrapper --- */
.se-outer {
    background: #e8ede8;
    min-height: 100vh;
    padding: 0 16px;
}

.se-box {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

/* --- HEADER --- */
.se-header {
    background: #1b5e20;
    padding: 22px 32px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.se-logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #f9a825;
}

.se-logo img { width: 60px; height: 60px; object-fit: contain; }

.se-brand { flex: 1; }

.se-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.se-brand-tagline {
    font-size: 12px;
    color: #a5d6a7;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- BANNER --- */
.se-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #1b5e20;
}

.se-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.se-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27,94,32,0.55) 0%, rgba(0,0,0,0.1) 100%);
}

/* --- NAVIGATION --- */
.se-nav-wrap {
    background: #2e7d32;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #f9a825;
}

.se-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

.se-nav > li {
    position: relative;
    flex: 1 1 auto;
}

.se-nav > li > a {
    display: block;
    padding: 13px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    letter-spacing: 0;
    text-align: center;
}

.se-nav > li > a:hover,
.se-nav > li.active > a {
    background: #1b5e20;
    color: #f9a825;
    text-decoration: none;
}

/* Dropdown */
.se-nav .se-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1b5e20;
    min-width: 220px;
    list-style: none;
    padding: 6px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 200;
    border-top: 2px solid #f9a825;
}

.se-nav > li:hover .se-dropdown,
.se-nav > li:focus-within .se-dropdown {
    display: block;
}

.se-dropdown li a {
    display: block;
    padding: 9px 18px;
    color: #c8e6c9;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s, color 0.15s;
}

.se-dropdown li a:hover {
    background: rgba(249,168,37,0.15);
    color: #f9a825;
    text-decoration: none;
}

/* Mobile hamburger */
.se-mobile-toggle {
    display: none;
    width: 100%;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    border-bottom: 3px solid #f9a825;
    letter-spacing: 0.3px;
}

.se-mobile-toggle span { float: right; font-size: 18px; }

/* --- PAGE TITLE BAR --- */
.se-page-title {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    padding: 18px 32px;
    border-bottom: 2px solid #c8e6c9;
}

.se-page-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1b5e20;
    margin: 0;
}

/* --- MAIN LAYOUT --- */
.se-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 0;
    min-height: 400px;
}

.se-content {
    padding: 28px 32px;
    border-right: 1px solid #e8f5e9;
}

.se-sidebar {
    padding: 24px 20px;
    background: #f9fbe7;
}

/* --- CONTENT TYPOGRAPHY --- */
.se-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1b5e20;
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #c8e6c9;
}

.se-content h2:first-child { margin-top: 0; }

.se-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2e7d32;
    margin: 18px 0 8px;
}

.se-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #33691e;
    margin: 14px 0 6px;
}

.se-content ul li::marker { color: #2e7d32; }

.se-content .se-intro {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #f1f8e9;
    border-left: 4px solid #2e7d32;
    border-radius: 0 4px 4px 0;
}

/* --- HOME HERO FEATURES --- */
.se-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.se-feature-card {
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
}

.se-feature-card:hover {
    box-shadow: 0 4px 16px rgba(46,125,50,0.12);
    transform: translateY(-2px);
}

.se-feature-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.se-feature-card-body {
    padding: 14px;
}

.se-feature-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1b5e20;
    margin: 0 0 6px;
}

.se-feature-card-body p {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.se-feature-card-body a {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
}

/* --- SIDEBAR --- */
.se-sidebar h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1b5e20;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2e7d32;
}

.se-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 20px;
}

.se-gallery-grid img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #c8e6c9;
}

.se-gallery-single {
    margin-bottom: 12px;
}

.se-gallery-single img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #c8e6c9;
}

.se-gallery-single p {
    font-size: 11px;
    color: #666;
    margin: 4px 0 10px;
    text-align: center;
}

/* Quick links in sidebar */
.se-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.se-sidebar-nav li {
    border-bottom: 1px solid #dcedc8;
    margin: 0;
}

.se-sidebar-nav li a {
    display: block;
    padding: 8px 4px;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 500;
}

.se-sidebar-nav li a:hover {
    color: #1b5e20;
    text-decoration: none;
    padding-left: 8px;
}

/* Download box */
.se-download-box {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 14px;
    margin-top: 16px;
    text-align: center;
}

.se-download-box p { font-size: 12px; color: #555; margin-bottom: 8px; }

.se-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #2e7d32;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.se-btn:hover { background: #1b5e20; }

.se-btn-amber {
    background: #f9a825;
    color: #333 !important;
}

.se-btn-amber:hover { background: #f57f17; }

/* --- DATA TABLE --- */
.se-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 16px 0 24px;
}

.se-table th {
    background: #2e7d32;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
}

.se-table th:first-child { border-radius: 4px 0 0 0; }
.se-table th:last-child  { border-radius: 0 4px 0 0; }

.se-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #e8f5e9;
    vertical-align: top;
}

.se-table tr:nth-child(even) td { background: #f9fbe7; }
.se-table tr:hover td { background: #f1f8e9; }

/* --- PRODUCTS GRID --- */
.se-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.se-product-card {
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    text-align: center;
}

.se-product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.se-product-card-name {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1b5e20;
}

/* --- CONTACT CARDS --- */
.se-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.se-contact-card {
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 20px;
}

.se-contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2e7d32;
}

.se-contact-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* CEO profile */
.se-ceo-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f1f8e9;
    border: 1px solid #c8e6c9;
    border-left: 5px solid #2e7d32;
    border-radius: 0 8px 8px 0;
    padding: 24px;
    margin: 20px 0;
}

.se-ceo-photo {
    flex-shrink: 0;
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #c8e6c9;
}

.se-ceo-text blockquote {
    font-size: 14px;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    margin: 0 0 14px;
}

.se-ceo-text .se-ceo-sig {
    font-weight: 700;
    color: #1b5e20;
    font-style: normal;
    font-size: 15px;
}

/* --- FOOTER --- */
.se-footer {
    background: #1b5e20;
    color: #c8e6c9;
    padding: 28px 32px 16px;
}

.se-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 24px;
}

.se-footer h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #f9a825;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(249,168,37,0.3);
}

.se-footer p, .se-footer address {
    font-size: 12px;
    line-height: 1.8;
    color: #a5d6a7;
    font-style: normal;
}

.se-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.se-footer ul li { margin-bottom: 6px; }

.se-footer ul li a {
    font-size: 12px;
    color: #a5d6a7;
    text-decoration: none;
}

.se-footer ul li a:hover { color: #f9a825; text-decoration: none; }

.se-footer ul li a::before { content: '›  '; color: #f9a825; }

.se-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 14px;
    font-size: 12px;
    color: #81c784;
    text-align: center;
}

.se-copyright a { color: #f9a825; }

/* --- UTILITY --- */
.se-highlight-box {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-left: 4px solid #2e7d32;
    border-radius: 0 6px 6px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
}

.se-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 16px 0;
}

/* --- RESPONSIVE TABLET (max 900px) --- */
@media (max-width: 900px) {
    .se-outer { padding: 0; }

    .se-header { padding: 16px 20px; }
    .se-brand-name { font-size: 18px; }

    .se-banner { height: 160px; }

    .se-layout {
        grid-template-columns: 1fr;
    }

    .se-content { padding: 20px; border-right: none; }
    .se-sidebar {
        padding: 20px;
        border-top: 2px solid #c8e6c9;
    }

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

    .se-footer-grid { grid-template-columns: 1fr 1fr; }

    .se-contact-grid { grid-template-columns: 1fr; }
    .se-two-col { grid-template-columns: 1fr; }
}

/* --- RESPONSIVE MOBILE (max 600px) --- */
@media (max-width: 600px) {
    .se-header {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .se-brand-name { font-size: 16px; }

    /* Mobile nav */
    .se-mobile-toggle { display: block; }

    .se-nav {
        display: none;
        flex-direction: column;
    }

    .se-nav.open { display: flex; }

    .se-nav > li > a {
        padding: 11px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 14px;
        text-align: left;
    }

    .se-nav .se-dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border-top: none;
        background: #145214;
        padding: 0;
    }

    .se-nav .se-dropdown li a {
        padding-left: 32px;
    }

    .se-banner { height: 120px; }

    .se-page-title { padding: 14px 16px; }
    .se-page-title h1 { font-size: 17px; }

    .se-content { padding: 16px; }
    .se-sidebar { padding: 16px; }

    .se-features-grid { grid-template-columns: 1fr; }
    .se-products-grid { grid-template-columns: 1fr; }
    .se-gallery-grid { grid-template-columns: 1fr 1fr; }

    .se-footer { padding: 20px 16px 12px; }
    .se-footer-grid { grid-template-columns: 1fr; gap: 18px; }

    .se-ceo-box { flex-direction: column; }
    .se-ceo-photo { width: 100%; height: 200px; }

    .se-table { font-size: 12px; }
    .se-table th, .se-table td { padding: 7px 8px; }
}