/* Language Section */
.language-switcher .lang-option.active {
    background-color: transparent !important;
    border: 2.2px solid var(--primary-color) !important;
    border-radius: 4px !important;
}

.language-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px; 
    margin-left: 20px; 
}

.lang-option {
    display: flex; 
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #444; 
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 12px;
}

.flag-icon {
    width: 24px; 
    height: 16px; 
    margin-right: 5px; 
}

.lang-option:hover {
    color: var(--primary-color); 
}

.lang-option.active {
    color: var(--primary-color);
    font-weight: 800;
    padding: 7px 11px;
}

header .language-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    position: absolute;
    top: 25px;
    right: 80px;
}

header .language-selector .lang-option {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 5px;
}

header .language-selector .lang-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .language-selector .lang-option.active {
    background-color: var(--primary-color);
    color: white;
}

header .language-selector .flag-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Global Styles */
:root {
    --primary-color: #799172;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white-color: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 15px 30px rgba(46, 204, 113, 0.2);
}

.nav-links li.nav-lang-item {
    margin-left: auto; 
    display: flex; 
    align-items: center; 
    margin: 0 0 0 40px; 
}

header .language-selector:not(.nav-lang-item .language-selector),
footer .language-selector {
    display: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray-color);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    transition: var(--transition);
}

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

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    margin-right: 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color)
}

.nav-links {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: auto;
}

.nav-lang-item {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.nav-links li:not(.nav-lang-item) {
    margin: 0 15px;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 16px;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -2px;
    left: 0;
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
}

/* Dropdown styling */
.nav-links li.dropdown > a:hover::after {
  width: 0;
}

.nav-links li.dropdown {
    position: relative;
}

.nav-links li.dropdown > a::after {
    content: " ";
    position: absolute;
    right: -20px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-color);
    transition: transform 0.3s ease;
}

.nav-links li.dropdown > a {
    padding-right: 25px;
}

.nav-links li.dropdown.open > a::after {
    transform: translateY(-50%) rotate(45deg);
}

.dropdown-menu {
    display: none; /* hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 999;
    transition: all 0.3s ease;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--dark-color);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.nav-links li.dropdown.open > .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg2.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 0;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px; /* Add padding to account for fixed header */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.5s ease;
}

.hero-social-sidebar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 10;
}

.hero-social-sidebar a {
    color: var(--white-color);
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-social-sidebar a:hover {
    color: #4CAF50; 
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-social-sidebar {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row; 
        justify-content: center; 
        margin-top: 40px; 
        gap: 30px;
    }

    .hero-social-sidebar a {
        font-size: 28px; 
        color: var(--light-color);
    }
}

@media (max-width: 1024px) {
    .hero-social-sidebar {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row; 
        justify-content: center;
        margin-top: 40px; 
        gap: 40px; 
    }

    .hero-social-sidebar a {
        font-size: 30px;
        color: var(--light-color);
    }
}

/* About Section */
.ecohub-section {
  padding: 80px 10%;
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #222;
}

.ecohub-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.ecohub-info {
  flex: 1 1 450px;
}

.ecohub-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ecohub-heading {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.ecohub-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.ecohub-visual {
  flex: 1 1 450px;
  position: relative;
}

.ecohub-visual img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Contact Section */
.contact {
    perspective: 1000px;
    position: relative;
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
}

.info-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    background-color: var(--white-color);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: -1;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(46, 204, 113, 0.3);
}

.info-item:hover::before {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
}

.info-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.info-item:hover i {
    transform: translateZ(20px) scale(1.1);
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: transform 0.5s ease, color 0.3s ease;
}

.info-item:hover h3 {
    transform: translateZ(15px);
    color: var(--primary-color);
}

.info-item p {
    transition: transform 0.5s ease;
}

.info-item:hover p {
    transform: translateZ(10px);
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.contact-form:hover {
    box-shadow: var(--card-hover-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

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

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    position: relative;
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: right; 
  max-width: 180px; 
}

.footer-socials ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0.5rem 0 0 0;
  list-style: none;
}

.footer-socials ul li a {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.footer-socials ul li a:hover {
  color: #555; 
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

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

.footer-logo p {
    margin-bottom: 20px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

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

.footer-links h3,
.footer-services h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

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

.footer-links ul li a,
.footer-services ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: #bbb;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Update the nav-links active state */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Services Grid Styles */
.services-grid-title {
    text-align: center;
    font-size: 28px;
    margin: 60px 0 30px;
    color: var(--primary-color);
}

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

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(46, 204, 113, 0.3);
}

.service-card:hover::before {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    transform: rotateY(360deg);
}

.service-card .service-icon i {
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon i {
    color: var(--white-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

/* Process Section */
.process {
    background-color: var(--light-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(46, 204, 113, 0.2);
    z-index: 0;
}

.process-step {
    text-align: center;
    width: 18%;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
}

.process-step:hover .step-icon {
    transform: rotateY(360deg);
    background-color: rgba(46, 204, 113, 0.1);
}

.step-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.process-step:hover h3 {
    color: var(--primary-color);
}

.process-step p {
    color: var(--gray-color);
    font-size: 14px;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 4s infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.cta .btn {
    animation: fadeIn 1.5s ease;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.cta .btn:hover {
    transform: scale(1.05);
}

/* Service Detail on Home Page */
.service-detail {
    margin-bottom: 60px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.service-detail:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.service-detail-header {
    padding: 25px;
    text-align: center;
}

.service-detail-header h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(46, 204, 113, 0.3);
}

.separator i {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0 15px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse .service-detail-text {
    direction: ltr;
}

.service-detail-text {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-detail-text .btn {
    align-self: flex-start;
    margin-top: 10px;
}

.service-detail-image {
    height: 100%;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.05);
}

.view-all-services {
    text-align: center;
    margin: 40px 0;
}

.cta-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content {
    flex: 1;
    min-width: 300px;
}

/* Card Swections */
.circular-section {
  max-width: 100%;
  text-align: center;
}

.highlight {
  background-color: #0066cc;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
}

.cards-container2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 360px;
  box-shadow: 0 4px 12px var(--primary-color);
  transition: background-color 0.3s ease, transform 0.3s ease; /* comma added */
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 20px;
  text-align: left;
}

.card-content h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.card-content p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 16px;
}

.card-content a {
  color: #000000;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
}

.card-content a:hover {
  text-decoration: underline;
}

/* Tips Page */
.page-bannertips {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/image7.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-bannertips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
}

.page-bannertips::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.page-bannertips h1 {
    font-size: 48px;
    margin-bottom: 18px;
    animation: fadeInDown 1s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-bannertips p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.accordion {
    background-color: #fff; /* white background */
      color: #333;
      cursor: pointer;
      padding: 15px;
      width: 100%;
      border: none;
      border-bottom: 2px solid #799172;
      text-align: left;
      outline: none;
      font-size: 18px;
      transition: background-color 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.accordion:hover { 
    background-color: #f9f9f9; /* light hover effect */
}

.accordion:after {
    content: '▼'; 
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion.active:after {
    transform: rotate(180deg); 
}

.panel {
    padding: 0 15px;
    background-color: white;
    display: none;
    overflow: hidden;
    border: none; /* no border around panel */
}

.panel p {
  border: none; 
  padding-left: 20px;
  padding-right: 20px;
  text-align: justify; /* optional */
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px 0;
  list-style: none;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 100;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-links .dropdown-menu li a:hover {
  background: #f4f4f4;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.masonry-gallery {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.gallery {
  column-count: 3; 
  column-gap: 10px; 
  width: 80%; 
}

.gallery img {
  width: 100%;
  margin-bottom: 10px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}
/* Announcement CTA*/
.announcement-cta {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #9ea39b 0%,
    #7b8578 45%,
    #2f3b2b 100%
  );
}

.announcement-contentcta {
  display: flex;
  height: 100%;
  position: relative;
  z-index: 2;
}

.announcement-imagecta {
  position: relative;
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98%;
}

.announcement-imagecta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.08);
  opacity: 0.85;
  border-radius: 4px;
}

.announcement-textcta {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: #ffffff;
}

.announcement-textcta h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 28px;
}

.announcement-btncta {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  transition: all 0.3s ease;
}

.announcement-btncta:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* About Us Page */
.page-bannerabout {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/recycling-1.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-bannerabout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
}

.page-bannerabout::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.page-bannerabout h1 {
    font-size: 48px;
    margin-bottom: 18px;
    animation: fadeInDown 1s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-bannerabout p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.section-p1 {
    padding: 40px 80px;
}

#contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details {
    width: 40%;
}

#contact-details .details span,
#form-details form h2 {
    font-size: 12px;
}

#contact-details .details h2, 
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}

#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
}

#contact-details .details li {
    list-style: none;
    display: flex;
    align-items: flex-start !important; 
    padding: 10px 0;
}

#contact-details .details li i {
    font-size: 18px;
    padding-right: 15px;
    margin: 0 !important;
    padding: 0 !important;
}

#contact-details .details li p {
    font-size: 15px;
    margin: 0 !important;
    margin-left: 6px !important;
    padding-bottom: 2px !important;
    text-align: left;
    line-height: 1.5;
}

#contact-details .details li p span {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  max-width: 600px; 
  height: 250px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
}

/* Contact Form Section */

#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px;
    padding: 80px;
    border: 1px solid #e1e1e1;
}

#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}

#form-details form button {
    background-color: #088178;
    color: #fff;
}

#form-details .people div {
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    margin-right: 15px;
}

#form-details .people div p {
   margin: 0;
   font-size: 13px;
   line-height: 25px;
}

#form-details .people div p span {
    font-size: 16px;
    display: block;
    font-weight: 600;
    color: #000;
 }

/* Testimonials Section */
.testimonials {
      max-width: 1100px;
      margin: auto;
      text-align: center;
    }
    
.testimonials-subtitle {
color: var(--primary-color);
font-weight: 600;
font-size: 14px;
margin-bottom: 10px;
}

.testimonials-title {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 50px;
      color: #111827;
}

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

.testimonials-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: left;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonials-card:hover {
    transform: translateY(-6px);
    box-shadow:0 20px 40px var(--primary-color),
    0 6px 12px var(--primary-color);
}

    .testimonials-quote {
      font-size: 40px;
      font-weight: 700;
      position: absolute;
      top: 20px;
      right: 24px;
      opacity: 0.15;
    }

.testimonials-quote.purple { color: #6d28d9; }
.testimonials-quote.red { color: #ef4444; }

    .testimonials-user {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 16px;
    }

    .testimonials-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
    }

    .testimonials-name {
      font-weight: 600;
      font-size: 15px;
      color: #111827;
    }

    .testimonials-role {
      font-size: 13px;
      color: #6b7280;
    }

    .testimonials-text {
      font-size: 14px;
      line-height: 1.7;
      color: #4b5563;
    }

/* WHY ECOHUB PAGE */
.benefits-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.benefits-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.benefits-container h2 {
    font-size: 28px;
    line-height: 1.4;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none; /* Removes default bullet points */
    padding: 0;
    margin: 0;
    text-align: left;
}

.benefits-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.benefits-list li::before {
    content: "🔹";
    font-size: 20px;
    padding-right: 15px;
    color: var(--secondary-color);
}

.call-to-action {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
    color: var(--primary-color);
    margin-top: 40px;
}

/* Form Section */
.form-details {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 40px;
    padding: 30px 20px;
    background-image: linear-gradient(to right, #0c460d, var(--primary-color), #ffffff );
}

.contact-header {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex;
    text-align: right;
    padding-top: 50px; 
}

.contact-header h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-header p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
}

.form-container {
    flex: 1;
    min-width: 400px;
    max-width: 550px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); 
    border: 1px solid #f0f0f0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    width: 100%;
}

.name-fields {
    display: flex;
    gap: 15px; 
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.input-group label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fcfcfc; 
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--light-color); 
    box-shadow: 0 0 0 2px rgba(5, 58, 9, 0.701); 
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Submit Button --- */
.submit-btn {
    padding: 14px 25px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start; 
}

.submit-btn:hover {
    background-color: rgba(5, 58, 9, 0.701); 
}

/* READ MORE STYLES */
.announcement-full {
    display:none;
    margin-top:10px;
}

.read-more-btn {
    background:none;
    border:none;
    color:#2e7d32;
    font-weight:600;
    cursor:pointer;
    margin-top:10px
}

.read-more-btn:hover {
    text-decoration:underline
}

/* ===================================== */
/* ========= RESPONSIVE STYLES ========= */
/* ===================================== */

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .contact .language-selector,
    .cta .language-selector {
        right: 10px;
        padding: 10px;
    }
    
    .lang-option {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .flag-icon {
        width: 20px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .contact .language-selector,
    .cta .language-selector {
        right: 5px;
        padding: 8px;
    }
    
    .lang-option {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
    }
}

@media screen and (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center; /* center everything on mobile */
    text-align: center; /* center text */
  }
  
  .footer-socials {
    align-items: center; /* center social section on mobile */
    max-width: 100%;
    margin-top: 1rem;
  }
  
  /* Optional: center the list of icons */
  .footer-socials ul {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
    nav {
        position: relative;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 12px 0 !important;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 8px 20px;
        font-size: 16px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-lang-item {
        margin: 15px 0 0 0 !important;
        padding-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .language-selector {
        display: flex !important;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: auto;
        gap: 10px;
        background-color: rgba(46, 204, 113, 0.05);
        padding: 8px 15px;
        border-radius: 25px;
    }
    
    .lang-option {
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 20px;
        background-color: var(--white-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    .lang-option:hover {
        background-color: var(--primary-color);
        color: var(--white-color);
        transform: translateY(-2px);
    }
    
    .lang-option.active {
        background-color: var(--primary-color);
        color: var(--white-color);
        box-shadow: 0 3px 8px rgba(46, 204, 113, 0.2);
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
        margin-right: 6px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .language-selector {
        padding: 3px 10px;
    }
    
    .lang-option {
        padding: 2px 6px;
        font-size: 12px;
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
    }
    
    header {
        padding-top: 30px;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .service-detail-text {
        padding: 0 25px 25px;
    }
    
    .service-detail-content.reverse .service-detail-text,
    .service-detail-content.reverse .service-detail-image {
        direction: ltr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .process-step {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .process-step {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .language-selector {
        position: absolute;
        top: 15px;
        right: 70px;
        flex-direction: row;
        margin-right: 0;
        border-left: none;
        padding-left: 0;
    }
    
    .lang-option {
        margin: 0 3px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .flag-icon {
        width: 18px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .language-selector {
        right: 60px;
    }
    
    .lang-option {
        margin: 0 2px;
        padding: 3px 6px;
    }
}

@media screen and (max-width: 768px) {
    .language-selector {
        bottom: 15px;
        right: 15px;
        padding: 8px;
    }
    
    .lang-option {
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .language-selector {
        bottom: 10px;
        right: 10px;
        padding: 6px;
    }
    
    .lang-option {
        padding: 3px 6px;
        font-size: 12px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }
}

@media screen and (max-width: 768px) {
    .contact .language-selector,
    footer .language-selector {
        padding: 8px;
        right: 15px;
    }
    
    footer .language-selector {
        bottom: 60px;
    }
}

@media (max-width: 480px) {
    .contact .language-selector,
    footer .language-selector {
        padding: 6px;
        right: 10px;
    }
    
    footer .language-selector {
        bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .cta-flex-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta .language-selector {
        align-self: center;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    header .language-selector {
        position: absolute;
        top: 15px;
        right: 70px;
    }
    
    header .language-selector .lang-option {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    header .language-selector .flag-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    header .language-selector {
        top: 15px;
        right: 60px;
    }
    
    header .language-selector .lang-option {
        padding: 3px 6px;
    }
} 

@media (max-width: 992px) {
  .service-item {
    flex-direction: column;
  }

  .service-text {
    flex: 1 1 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  nav {
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    margin-right: auto; 
  }

  .mobile-menu {
    margin-left: auto; 
  }

  .footer-links,
  .footer-logo {
    text-align: center;
  }
}

@media (max-width: 1024px) {
    .review-card {
        flex: 1 1 45%;
    }

    .gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
    .review-card {
        flex: 1 1 100%; /* full width on mobile */
    }

    .review-top {
        flex-direction: column; /* stack text + author + rating */
        align-items: flex-start;
    }

    .author-info {
        align-items: flex-start;
    }
}

@media (max-width: 992px) {
    #contact-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #contact-details .details {
        width: 100%;
        margin-bottom: 20px;
    }

    #contact-details .map {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .page-bannerabout h1 {
        font-size: 32px;
    }

    .page-bannerabout p {
        font-size: 16px;
        padding: 0 15px;
    }

    #contact-details .map {
        height: 250px;
    }

    .gallery {
    column-count: 1;
  }
}

@media (max-width: 480px) {
  #contact-details .map {
    max-width: 460PX;   
    height: 250px;     
  }
}

@media (max-width: 768px) {
    .nav-links li.dropdown {
        width: 100%;
    }

    .nav-links li.dropdown > a {
        width: 100%;
        padding: 12px 20px;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%; 
        box-shadow: none; 
        border-radius: 0;
        padding: 0;
        max-height: 200px;
        overflow-y: auto;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .language-switcher {
        flex-direction: row; /* side by side for mobile */
        justify-content: center;
        margin: 10px 0 0 0;
    }
}

@media (max-width: 900px) {
  .ecohub-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .ecohub-heading {
    font-size: 2.2rem;
  }
  .ecohub-stats {
    grid-template-columns: 1fr 1fr;
  }

  section.form-details {
    background: linear-gradient(to bottom,  #0c460d, var(--primary-color), #ffffff );
    padding: 40px 10px;
    flex-direction: column;
    align-items: center;
  }

  .contact-header {
    text-align: center;
    align-items: center;
    padding-top: 20px; 
  }

  .form-container {
    width: 60%;    
    max-width: 500px;
  }

  .name-fields {
    flex-direction: column;
  }

  .contact-header {
    margin-bottom: 25px;
  }
}