/* 
* EcoLife Solutions - Main CSS
* Modern eco-friendly template 
*/

/* ------------------- */
/* Color Variables     */
/* ------------------- */
:root {
    --primary-color: #2ecc71; /* Vibrant green */
    --primary-dark: #27ae60;
    --primary-light: #a9dfbf;
    
    --secondary-color: #3498db; /* Blue accent */
    --secondary-dark: #2980b9;
    --secondary-light: #aed6f1;
    
    --accent-color: #f39c12; /* Energetic orange */
    --accent-dark: #d35400;
    --accent-light: #fde3a7;
    
    --neutral-color: #7f8c8d; /* Slate gray */
    --neutral-dark: #2c3e50;
    --neutral-light: #ecf0f1;
    
    --success-color: #2ecc71; /* Green */
    --warning-color: #f39c12; /* Orange */
    --danger-color: #e74c3c;  /* Red */
    --info-color: #3498db;    /* Blue */
    
    --body-bg: #ffffff;
    --text-color: #333333;
    --text-light: #7f8c8d;
    --heading-color: #2c3e50;
    --border-color: #e0e0e0;
    
    --section-padding: 100px 0;
    --card-border-radius: 10px;
    --btn-border-radius: 30px;
    --transition: all 0.3s ease;
    
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* ------------------- */
/* Base Styles         */
/* ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--heading-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section-header h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.section-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--neutral-light);
}

.text-center {
    text-align: center;
}

/* ------------------- */
/* Button Styles       */
/* ------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: var(--btn-border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.header.sticky {
    background-color: var(--body-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-item {
    margin-left: 20px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--heading-color);
    position: relative;
    padding: 5px 0;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    outline: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ------------------- */
/* Breadcrumb Section  */
/* ------------------- */
.breadcrumb-section {
    padding: 120px 0 40px;
    background-color: var(--neutral-light);
}

.breadcrumb-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.breadcrumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------- */
/* Hero Section        */
/* ------------------- */
.hero-section {
    position: relative;
    background: url('../images/hero-bg.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.8) 0%, rgba(52, 152, 219, 0.8) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    color: white;
}

.hero-section h1 {
    margin-bottom: 15px;
}

.hero-section h2 {
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-divider .shape-fill {
    fill: var(--body-bg);
}

/* ------------------- */
/* About Section       */
/* ------------------- */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--card-border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.about-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.about-feature .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-feature h4 {
    margin-bottom: 15px;
}

/* ------------------- */
/* Services Section    */
/* ------------------- */
.services-section {
    background-color: var(--neutral-light);
}

.service-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-item h4,
.service-item p,
.service-item ul,
.service-item .price {
    padding: 0 20px;
}

.service-item h4 {
    margin-top: 20px;
    color: var(--heading-color);
}

.service-item p {
    color: var(--text-light);
}

.service-item ul {
    margin: 20px 0;
    padding-left: 40px;
}

.service-item ul li {
    list-style: disc;
    margin-bottom: 5px;
    color: var(--text-light);
}

.service-item .price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ------------------- */
/* Features Section    */
/* ------------------- */
.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--card-border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* ------------------- */
/* Price Plan Section  */
/* ------------------- */
.price-item {
    text-align: center;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 40px 20px;
    position: relative;
    height: 100%;
    margin-bottom: 30px;
}

.price-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.price-item.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.price-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-item h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price-item p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.price-item ul {
    margin-bottom: 30px;
}

.price-item ul li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.price-item .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ------------------- */
/* Team Section        */
/* ------------------- */
.team-section {
    background-color: var(--neutral-light);
}

.team-member {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h4 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ------------------- */
/* Reviews Section     */
/* ------------------- */
.review-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.review-item p {
    font-style: italic;
    margin-bottom: 20px;
}

.review-item h5 {
    color: var(--heading-color);
}

.testimonials-slider {
    padding-bottom: 60px;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--primary-color);
}

/* ------------------- */
/* Core Info Section   */
/* ------------------- */
.coreinfo-section {
    background-color: var(--neutral-light);
}

.coreinfo-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.coreinfo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.coreinfo-icon {
    margin-bottom: 20px;
}

.coreinfo-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* ------------------- */
/* Contact Section     */
/* ------------------- */
.contact-info {
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-image {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-wrapper {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    height: 100%;
}

.form-control, .form-select {
    height: 50px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

textarea.form-control {
    height: auto;
    resize: none;
}

/* ------------------- */
/* Blog Section        */
/* ------------------- */
.blog-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-item:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    margin-bottom: 10px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-content a {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.blog-content a:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8rem;
}

/* ------------------- */
/* FAQ Section         */
/* ------------------- */
.faq-section {
    background-color: var(--neutral-light);
}

.accordion {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-item {
    border: none;
    background-color: white;
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    color: var(--heading-color);
    background-color: white;
    border: none;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.accordion-body {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* ------------------- */
/* Gallery Section     */
/* ------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ------------------- */
/* Additional Pages    */
/* ------------------- */
.add-page-section-1,
.add-page-section-2,
.add-page-section-3,
.add-page-section-4,
.add-page-section-5 {
    padding: var(--section-padding);
}

.feature-card {
    text-align: center;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.impact-image {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.impact-content {
    padding: 0 20px;
}

.impact-item {
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.success-story {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.story-image {
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 20px;
    text-align: center;
}

.resource-item {
    text-align: center;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.resource-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.benefit-icon {
    min-width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.material-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.material-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.material-image {
    height: 200px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.material-item:hover .material-image img {
    transform: scale(1.1);
}

.material-item h4,
.material-item p {
    padding: 15px;
    text-align: center;
}

.efficiency-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.efficiency-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.efficiency-icon {
    margin-bottom: 15px;
}

.efficiency-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.conservation-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.conservation-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.conservation-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.certification-item {
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.certification-logo {
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-logo img {
    max-height: 100%;
    object-fit: contain;
}

/* ------------------- */
/* Footer              */
/* ------------------- */
footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 80px 0 30px;
}

footer h4, footer h5 {
    color: white;
    margin-bottom: 25px;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

footer #site-copyright {
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
}

footer #site_disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
} 