/* Green styling for all testimonial names and roles */
.zpimage-heading {
    color: #06290e !important;
}

.zpimage-text {
    color: #06290e !important;
}

.zpimage-text p {
    color: #06290e;
}
.zptext {
    color: #06290e;
}

/* Footer text override - make footer text white */
.theme-footer-area .zptext,
.theme-footer-area .zptext p,
.theme-footer-area .zpheading,
.theme-footer-area h6,
.theme-footer-area .zpelem-text,
.theme-footer-area .zpelem-text p,
.theme-footer-area .zpelem-text span {
    color: #ffffff !important;
}

/* Ensure newsletter form label stays white */
.theme-footer-area .newsletter-form label {
    color: #ffffff !important;
}

/* Keep newsletter success/error messages their original colors */
.theme-footer-area .newsletter-success {
    color: #28a745 !important;
}

.theme-footer-area .newsletter-error {
    color: #dc3545 !important;
}

/* Interactive Service Boxes */
.zscustom-box {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 120px; /* Ensure minimum height for consistency */
}

.zscustom-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #06290e;
    min-height: auto; /* Allow expansion on hover */
}

/* Icon Animation */
.zscustom-box .zpicon {
    transition: all 0.3s ease;
}

.zscustom-box:hover .zpicon {
    transform: scale(1.1);
    color: #06290e;
}

.zscustom-box:hover .zpicon svg {
    fill: #06290e;
}

/* Heading Animation */
.zscustom-box .zpicon-heading {
    transition: color 0.3s ease;
    font-weight: 600;
}

.zscustom-box:hover .zpicon-heading {
    color: #06290e;
}

/* Text Content - Show/Hide on Hover */
.service-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0;
    margin: 0;
}

.zscustom-box:hover .service-description {
    max-height: 400px; /* Increased from 200px to 400px */
    opacity: 1;
    padding: 15px 0; /* Removed horizontal padding to prevent overflow */
    margin-top: 10px;
}

/* Style the content inside service description */
.service-description ul {
    margin: 10px 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.4;
}

.service-description li {
    margin-bottom: 4px;
    color: #555;
}

.service-description p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
}

.service-description strong {
    color: #06290e;
    font-size: 14px;
}

.service-description em {
    color: #666;
    font-style: italic;
    font-size: 12px;
}

/* Brief tagline always visible */
.service-tagline {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.zscustom-box:hover .service-tagline {
    color: #06290e;
}

/* Add subtle background pattern on hover */
.zscustom-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 41, 14, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.zscustom-box:hover::before {
    left: 100%;
}

/* Ensure content stays above the background effect */
.zscustom-box > * {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zscustom-box:hover .service-description {
        max-height: 350px;
        padding: 10px 0;
    }
    
    .service-description ul {
        font-size: 12px;
    }
    
    .service-description p {
        font-size: 12px;
    }
}
/* Green Projects Photo Gallery */
.green-projects-gallery {
    padding: 20px 0;
}

.gallery-header {
    margin-bottom: 30px;
}

.gallery-title {
    font-size: 28px;
    font-weight: 700;
    color: #06290e;
    margin: 15px 0;
    line-height: 1.3;
}

.gallery-subtitle {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.photo-gallery-container {
    margin-bottom: 30px;
}

.featured-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image-container:hover .featured-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(6, 41, 14, 0.9));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.featured-image-container:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.impact-stats {
    display: flex;
    gap: 20px;
}

.impact-stats .stat {
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border-color: #06290e;
    box-shadow: 0 0 0 2px rgba(6, 41, 14, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 41, 14, 0.9);
    color: white;
    padding: 5px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.thumbnail:hover .thumb-label {
    transform: translateY(0);
}

.impact-summary {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #06290e, #218838);
    color: white;
    padding: 25px 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.impact-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Environmental Dashboard Styles */
.environmental-dashboard {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f4e4 0%, #e8f5e8 100%);
    border-radius: 15px;
    margin: 20px 0;
}

.impact-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.counter-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(6, 41, 14, 0.2);
    border-color: #06290e;
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.counter-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #06290e;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.counter-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.counter-trend {
    font-size: 12px;
    color: #218838;
    font-weight: 500;
}

.details-panel {
    background: white;
    margin: 0 20px 30px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-height: 120px;
    transition: all 0.3s ease;
}

.details-content h3 {
    color: #06290e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.progress-section {
    margin: 0 20px 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.progress-section h4 {
    color: #06290e;
    margin-bottom: 20px;
    text-align: center;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.progress-percentage {
    color: #06290e;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06290e, #218838);
    border-radius: 4px;
    transition: width 2s ease;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.achievement-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.achievement-card h5 {
    color: #06290e;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.achievement-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .impact-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .counter-value {
        font-size: 1.8rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .environmental-dashboard {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .impact-counters {
        grid-template-columns: 1fr;
    }
    
    .progress-label {
        font-size: 12px;
    }
}
/* Simplified Interactive Circular Image Enhancement */
[data-element-id="elm_6BxmDCn5R8em_bVAISodng"] {
    position: relative;
    overflow: visible !important;
}

.interactive-circle-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Make Electric Vehicle Fleet title white in the overlay */
.green-projects-gallery #imageTitle {
    color: #ffffff !important;
}

.interactive-circle-container .zpimage {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1.1);
    box-shadow: 0 20px 40px rgba(6, 41, 14, 0.15);
}

.interactive-circle-container:hover .zpimage {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
    box-shadow: 0 30px 60px rgba(6, 41, 14, 0.25);
}

/* Rotating border ring */
.rotating-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid transparent;
    border-top: 3px solid #06290e;
    border-right: 3px solid #06290e;
    border-radius: 50%;
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-circle-container:hover .rotating-ring {
    opacity: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulsing outer ring */
.pulse-ring {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border: 2px solid rgba(6, 41, 14, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Interactive floating elements */
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06290e, #0a4d1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(6, 41, 14, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-element:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 30px rgba(6, 41, 14, 0.4);
}

.floating-element.element-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 1s;
}

.floating-element.element-3 {
    top: 30%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Tooltip for interactive elements */
.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6, 41, 14, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.floating-element:hover .tooltip {
    opacity: 1;
}

/* Click ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(6, 41, 14, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Progress ring around image */
.progress-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke: #06290e;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0 1000;
    animation: progress 4s ease-in-out infinite;
}

@keyframes progress {
    0% { stroke-dasharray: 0 1000; }
    50% { stroke-dasharray: 500 1000; }
    100% { stroke-dasharray: 0 1000; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-element {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .rotating-ring,
    .pulse-ring {
        display: none;
    }
}
/* Override green text for Green Energy project card titles */
.green-projects-gallery .thumb-label {
    color: #ffffff !important;
}
