:root {
    --primary-color: #00a335;
    --primary-dark: #006000;
    --secondary-color: #00a335;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}
.top-bar ul{
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-align: right;
    font-weight: 100;
}
.top-bar ul li{
    color: var(--white);
    list-style: none;
    display: inline-block;
    margin: 0 2px;
}
.top-bar ul li a{
    color: var(--white);
    text-decoration: none;
}
.top-bar{
    background: var(--primary-color);
    color: var(--white);
}

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-brand a {
    display: block;
    line-height: 0;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1.35;
    display: inline-block;
    padding: 25px 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Dropdown Navigation Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown > a i {
    font-size: 0.75rem;
    margin-left: 0.35rem;
    transition: transform 0.3s ease;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: -60%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0px;
    width: 250px;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.has-sub-dropdown {
    position: relative;
}

.has-sub-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-sub-dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0px;
    width: 250px;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    margin-left: 1px;
}

.has-sub-dropdown:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown a {
    padding: 0.65rem 1.25rem;
    line-height: 1.35;
}

.sub-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.hero::before{
    content: '';
    background: linear-gradient(45deg, black, rgb(0 0 0 / 84%));
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.6;
}
.hero .hero-container{  
    position: relative;
    z-index: 1;
}
.hero {
    background-image: url(../images/bg-ehe.webp);
    color: var(--white);
    padding: 9rem 0;
    text-align: center;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #008c5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.intro {
    padding: 4rem 0;
    background: var(--white);
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.bundle-promo {
    padding: 3rem 0;
    background: var(--bg-light);
}

.promo-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.promo-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.promo-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.services {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card .service-img{
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 12px;
    transform: scale(1.1);
    padding: 0;
    height: 200px;
}
.service-card:hover .service-img img{
    transform: scale(1.1);
}
.service-card .service-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-card.detailed {
    background: var(--bg-light);
}

.renewable-energy {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #008c5a 100%);
    color: var(--white);
}

.renewable-content {
    text-align: center;
}

.renewable-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.renewable-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.accreditations {
    padding: 4rem 0;
    background: var(--bg-light);
}

.accreditation-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.logo-item {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.logo-item p {
    font-weight: 600;
    color: var(--text-dark);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.page-header {
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    background-image: url(../images/bg-ehe.webp);
    color: var(--white);
    background-position: center;
    background-size: cover;
    position: relative;
}
.page-header::before {
    content: '';
    background: radial-gradient(circle farthest-corner at 50.3% 47.3%, rgb(0 163 53 / 49%) 0.1%, rgb(0 163 53 / 94%) 90%);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.relative{
    position: relative;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.3;
    font-weight: 300;
}

.services-detailed {
    padding: 4rem 0;
    background: var(--white);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.pricing-tables {
    padding: 3rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px solid var(--border-color);
}

.price-table tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 0.875rem 0;
    font-size: 0.95rem;
}

.price-table .price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
    text-align: right;
}

.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.service-detail {
    padding: 4rem 0;
    background: var(--white);
}

.service-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pricing-table-inline {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.pricing-table-inline h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-content {
    max-width: 900px;
}

.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.service-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
}

.service-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.service-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-light);
}

.service-content h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .navbar{
        padding: 10px 0px;
    }
    .page-header h1{
        font-size: 1.9rem;
    }
    .page-header p{
        font-size: 1rem;
    }
    .top-bar ul{
        text-align: center;
    }
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu li{
        width: 100%;
    }
    .nav-menu li a{
        width: 100%;
        padding: 13px 0px 13px;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow);
        overflow: hidden;
        transition: max-height 0.3s ease;
        max-height: 0;
        align-items: start;
        padding: 0px 20px;
        gap: 0;
    }
    
    .nav-menu.active {
        max-height: 100vh;
        overflow-y: auto;
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    /* Mobile dropdown styles */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--bg-light);
        padding: 0;
        width: 100%;
    }
    .has-dropdown.active > .dropdown {
        max-height: 600px;
        padding: 0.5rem 0;
    }
    .dropdown a {
        padding: 0.6rem 1.5rem 0.6rem !important;
        font-size: 0.95rem;
    }
    
    .sub-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: transparent;
        padding: 0;
        width: 100%;
    }
    
    .has-sub-dropdown.active > .sub-dropdown {
        max-height: 500px;
        padding: 0.25rem 0;
    }
    
    .sub-dropdown a {
        padding-left: 3rem;
        font-size: 0.9rem;
    }
    
    .has-dropdown > a i.fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .has-dropdown.active > a i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .has-sub-dropdown > a i.fa-chevron-right {
        transition: transform 0.3s ease;
    }
    
    .has-sub-dropdown.active > a i.fa-chevron-right {
        transform: rotate(90deg);
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .promo-card {
        padding: 2rem 1.5rem;
    }
    
    .promo-card h3 {
        font-size: 1.5rem;
    }
}
