@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

/* 
Color Palette:
- Light Cyan: #e1f2f2 (Background)
- Dark Blue: #1a3a5a (Headings, Footer, Hero)
- Green: #6c9a42 (CTA, Icons, Accents)
- White: #ffffff
- Light Green: #a8c694 (Borders)
*/

:root {
    --light-cyan: #e1f2f2;
    --dark-blue: #1a3a5a;
    --green: #6c9a42;
    --white: #ffffff;
    --light-green: #a8c694;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: #444;
    margin: 0;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden; /* Prevent background from scrolling */
}

h1, h2, h3 {
    color: var(--dark-blue);
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

section {
    padding: 80px 20px;
    border-top: 1px solid #e8e8e8;
}

#hero {
    border-top: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-blue);
    text-decoration: none;
}

.logo i {
    color: var(--green);
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--green);
}

.nav-toggle {
    display: none;
}

/* Hero Section */
#hero {
    background: 
        radial-gradient(ellipse at center, rgba(30, 67, 107, 0.9), rgba(26, 58, 90, 0.98)),
        url('SolarPanels.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 80px); /* Full viewport height minus header */
    padding: 0 20px;
    border-top: none;
}

#hero .hero-content {
    max-width: 800px;
}

#hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

#hero .line1 {
    color: var(--green);
    display: block;
    font-weight: 700;
}

#hero .line2 {
    color: var(--white);
    display: block;
    font-weight: 900;
}

.tagline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background: var(--green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #5a8a34; /* Darker green */
    transform: translateY(-3px);
}

/* Section-specific Backgrounds with Better Delineation */
#services {
    background-color: var(--white);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#recent-projects {
    background-color: var(--light-cyan);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#recent-projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#testimonials {
    background-color: var(--white);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#process {
    background-color: var(--light-cyan);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#process::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#nj-incentives {
    background-color: var(--white);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#nj-incentives::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#about {
    background-color: var(--light-cyan);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#why-choose-us {
    background-color: var(--white);
    border-bottom: 3px solid var(--light-green);
    position: relative;
}

#why-choose-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

#partners {
    background: linear-gradient(180deg, #e1f2f2 0%, #f5f9f9 100%);
    position: relative;
    overflow: hidden;
}

#partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 154, 66, 0.2), transparent);
}

#partners::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 154, 66, 0.2), transparent);
}

#contact {
    background-color: var(--white);
}

/* Services Section */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    color: var(--green);
}

.service-card i {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* About Section */
#about .about-content h2 {
    text-align: left;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 20px;
    background: transparent;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-icon {
    width: 60px;
    height: 60px;
    background-color: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 4px var(--green);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Testimonials Section - Carousel */
.testimonials-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: var(--white);
    padding: 40px 0;
}

.testimonials-track {
    display: flex;
    width: calc(400px * 20); /* Accommodate all 20 cards */
    animation: scroll 200s linear infinite; /* Slower for smoother effect */
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 380px;
    max-width: 380px;
    margin: 0 10px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 58, 90, 0.1);
    border: 2px solid var(--light-green);
    position: relative;
    flex-shrink: 0;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: var(--light-green);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.stars i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 5px;
    text-align: center;
}

.testimonial-date {
    font-size: 14px;
    color: var(--green);
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 10)); /* Move by half the cards for seamless loop */
    }
}

/* NJ Solar Incentives Section */
.incentives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.incentive-card {
    background: var(--light-cyan);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.incentive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.incentive-card i {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 20px;
}

.incentive-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin: 0 0 10px 0;
}

.incentive-disclaimer {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.4;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

/* Recent Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: var(--dark-blue);
}

.project-info p {
    margin: 0;
    color: #555;
}

/* Partners Section - Improved Uniformity */
.partners-logo-wall {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin: 60px auto;
    padding: 40px;
    flex-wrap: nowrap;
    max-width: 1800px;
}

.partner-logo-container {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--green);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-logo-container:hover {
    transform: translateY(-8px);
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
    margin-bottom: 25px;
    background-color: var(--green);
    padding: 20px;
    border-radius: 10px;
}

.partner-logo-img {
    width: 200px;
    height: 100px;
    object-fit: contain;
    background: transparent;
    display: block;
    transition: all 0.3s ease;
    filter: none;
}

.partner-description {
    font-size: 0.95rem;
    color: white;
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 15px;
    font-weight: 500;
    max-width: 250px;
}

@media (max-width: 1400px) {
    .partners-logo-wall {
        gap: 25px;
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .partners-logo-wall {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .partner-logo-container {
        flex: 0 1 280px;
    }
}

@media (max-width: 768px) {
    .partners-logo-wall {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .partner-logo-container {
        width: 100%;
        max-width: 280px;
    }

    .partner-logo-img {
        width: 160px;
        height: 70px;
    }

    .partner-description {
        font-size: 0.9rem;
        margin-top: 15px;
    }
}

/* Contact Section */
.promo-contact-box {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #234b73 100%);
    box-shadow: 0 10px 30px rgba(26, 58, 90, 0.15);
    gap: 0;
}

.promo-offer, .promo-call {
    padding: 40px;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.promo-offer {
    background: linear-gradient(135deg, var(--green) 0%, #7eaf52 100%);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    padding-right: 60px;
}

.promo-offer h3 {
    color: white;
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-offer i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-call h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.promo-call p {
    color: var(--green);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-call i {
    color: var(--green);
    font-size: 2.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .promo-contact-box {
        flex-direction: column;
        margin: 20px;
    }

    .promo-offer {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding: 30px 20px;
    }

    .promo-offer h3 {
        font-size: 1.8rem;
    }

    .promo-call {
        padding: 30px 20px;
    }

    .promo-call h3 {
        font-size: 1.5rem;
    }

    .promo-call p {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}



footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .testimonials-track {
        animation: scroll 280s linear infinite; /* Slower on mobile */
    }
    
    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        margin: 0 8px;
        padding: 25px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-320px * 10));
        }
    }
    
    nav {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    nav .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin: 0;
    }

    #hero {
        height: auto;
        min-height: auto;
        padding: 80px 20px;
    }
    
    #hero h1 {
        font-size: 3rem;
    }

    .service-checklist {
       grid-template-columns: 1fr;
    }

    .promo-contact-box {
        flex-direction: column;
    }

    .promo-offer {
        border-right: none;
        border-bottom: 2px solid var(--light-green);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1; /* Move image to top on mobile */
        margin-bottom: 30px;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
        background: transparent;
        border: 0;
        padding: 0;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3000;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 28px;
        height: 3px;
        background: var(--dark-blue);
        transition: transform 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--dark-blue);
        transition: transform 0.3s ease, top 0.3s ease;
    }

    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    .nav-open .hamburger {
        transform: rotate(45deg);
    }

    .nav-open .hamburger::before {
        top: 0;
        transform: rotate(-90deg);
    }

    .nav-open .hamburger::after {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        gap: 2rem;
    }

    .nav-open .nav-links {
        transform: translateX(0);
    }
    
    nav {
        flex-direction: row;
        height: 80px;
    }

    nav .logo {
        margin-bottom: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    nav a {
        font-size: 1.5rem;
    }

    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 900px;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.modal-overlay.is-visible .modal-content {
    transform: scale(1);
}

.modal-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--dark-blue);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Feedback Form Styles */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.feedback-form label {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: -5px; /* Reduces space below label */
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.feedback-form textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-form .cta-button {
    align-self: flex-end;
    margin-top: 10px;
}

/* Photo Gallery Section */
.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #666;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--dark-blue);
    border: 2px solid var(--light-green);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    transform: translateY(-2px);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 90, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.gallery-item.hidden {
    display: none;
}

.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: var(--green);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: #5a8a34;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Testimonials Carousel Mobile */
.testimonials-track {
    animation: scroll 140s linear infinite;
    padding-left: 20px;
}

.testimonial-card {
    flex: 0 0 320px;
    min-height: 320px;
    padding: 30px 20px 20px 20px;
    padding-top: 40px;
}

.testimonial-card::before {
    font-size: 1.5rem;
    top: 10px;
    left: 15px;
}

/* Photo Gallery Mobile */
.photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-filters {
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.lightbox-prev,
.lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-close {
    top: -40px;
    right: -40px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
}

nav {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 15px;
}

.partners-logo-wall {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin: 60px auto;
    padding: 40px;
    flex-wrap: nowrap;
    max-width: 1800px;
}

.partner-logo-container {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--green);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-logo-container:hover {
    transform: translateY(-8px);
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
    margin-bottom: 25px;
    background-color: var(--green);
    padding: 20px;
    border-radius: 10px;
}

.partner-logo-img {
    width: 200px;
    height: 100px;
    object-fit: contain;
    background: transparent;
    display: block;
    transition: all 0.3s ease;
    filter: none;
}

.partner-description {
    font-size: 0.95rem;
    color: white;
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 15px;
    font-weight: 500;
    max-width: 250px;
}

@media (max-width: 1400px) {
    .partners-logo-wall {
        gap: 25px;
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .partners-logo-wall {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .partner-logo-container {
        flex: 0 1 280px;
    }
}

@media (max-width: 768px) {
    .partners-logo-wall {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .partner-logo-container {
        width: 100%;
        max-width: 280px;
    }

    .partner-logo-img {
        width: 160px;
        height: 70px;
    }

    .partner-description {
        font-size: 0.9rem;
        margin-top: 15px;
    }
}

.consultation-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

.consultation-section h2 {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
}

.consultation-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    text-align: center;
}

.consultation-button {
    background: var(--green);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(108, 154, 66, 0.3);
    position: relative;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.consultation-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(108, 154, 66, 0.4);
    background: #7eaf52;
}

.consultation-button:active {
    transform: translateY(1px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(108, 154, 66, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(108, 154, 66, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(108, 154, 66, 0.3);
    }
}

@media (max-width: 768px) {
    .consultation-section {
        padding: 40px 20px;
    }

    .consultation-section h2 {
        font-size: 2.2rem;
    }

    .consultation-section p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .consultation-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #666;
}

#contact .container {
    text-align: center;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
} 