/* ===================================
   NEW SECTIONS STYLING
   =================================== */

/* Statistics Section */
.stats {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 4rem 0;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--color-bg-alt);
    padding: 4rem 0;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 2.5rem;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: opacity 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text);
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-bg-alt);
}

.testimonial-author strong {
    display: block;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-bg);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--color-primary);
    color: white;
}

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

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 5px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Trust & Credentials Section */
.trust-credentials {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

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

.trust-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.trust-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
}

.video-container {
    max-width: 900px;
    margin: 3rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    background: var(--color-bg-alt);
    padding: 6rem 2rem;
    text-align: center;
}

.video-placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.video-placeholder svg {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.video-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: var(--color-text-light);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-signup .form-group {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-signup input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-signup button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-photo {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    display: block;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.team-role {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.value-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.why-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.why-item p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Update Notice Styles */
.update-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.update-notice strong {
    color: #856404;
}

.update-notice ol {
    margin: 0.5rem 0 0 1.5rem;
    color: #856404;
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-alt);
    border-radius: 12px;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }



    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-signup .form-group {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }



    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Image Styling */
.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile nav button positioning */
@media (max-width: 768px) {
    .testimonial-prev {
        left: 10px;
    }
    
    .testimonial-next {
        right: 10px;
    }
}
