/* Footer */
footer {
    background: var(--secondary-color);
    background-image: url(./img/footer-background.png);
    color: white;
    padding: 4.8rem 3.2rem 2.4rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

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

.footer-brand p {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3.2rem;
    font-size: 1.6rem;
}

.footer-section h4 {
    margin-bottom: 1.6rem;
    font-size: 1.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    font-size: 1.4rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.6rem 0;
    transition: color 0.3s;
    font-size: 1.6rem;
}

.footer-section a:hover {
    color: var(--white-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    font-size: 1.6rem;
    color: var(--white-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

footer .scroll-up {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--green-color);
    ;
    border: 1px solid var(--green-color);
    ;
    color: var(--white-color);
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

footer .scroll-up:hover svg path {
    fill: var(--black-color);
    transition: fill 0.3s;
}

footer .scroll-up svg {
    width: 30%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-rows: 2fr;
    }
    
    .footer-brand{
        grid-column: span 2;
    }

    footer {
        padding: 3rem 16px 2rem;
    }

    .footer-brand h3 {
        font-size: 3rem;
    }

    .footer-bottom p{
        margin-top: 0;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 50px 3.2rem;
    background: var(--sand);
}

.section-header {
    text-align: center;
    margin-bottom: 6.4rem;
}

.section-header h2 {
    font-size: 4.8rem;
    color: var(--primary-color);
    margin-bottom: 1.6rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider .slick-track {
    display: flex !important;
}

.testimonial-card {
    background: white;
    padding: 3.2rem;
    border-radius: 20px;
    position: relative;
    min-height: 380px;
    display: flex !important;
    flex-direction: column;
    margin: 0 1.6rem;
    transition: transform 0.3s, box-shadow 0.3s;
    height: auto !important;
}

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

.stars {
    color: #ffc107;
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
}

.author-info p {
    font-size: 1.4rem;
    margin: 0;
}

/* Slick Slider Customization */
.slick-dots {
    bottom: -75px !important;
}

.slick-dots li button:before {
    font-size: 14px !important;
    opacity: 1 !important;
    color: var(--secondary-color) !important;
    transition: color 0.3s ease-in-out;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary-color) !important;
}

.slick-dots li button:hover:before {
    color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
    .testimonials {
        padding: 6.4rem 2.4rem;
    }

    .section-header h2 {
        font-size: 4rem;
    }

    .section-header {
        margin-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 50px 0px;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    .section-header h2 {
        font-size: 3.2rem;
    }

    .section-header p {
        font-size: 1.6rem;
    }

    .testimonial-card {
        min-height: 320px;
        padding: 2.4rem;
        margin: 0 16px;
    }

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

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    padding: 8rem 3.2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./img/gallery/3.jpg');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    font-size: 20rem;
    opacity: 0.9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    pointer-events: none;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 6.4rem;
    color: white;
}

.stats-header h2 {
    font-size: 4.8rem;
    margin-bottom: 1.6rem;
    font-weight: 700;
    color: var(--accent-bright);
}

.stats-header p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 2.4rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 5.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-sublabel {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.8rem;
    font-weight: 300;
}

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

    .stats-section {
        padding: 6.4rem 2.4rem;
    }

    .stats-header h2 {
        font-size: 4rem;
    }

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

@media (max-width: 768px) {
    .stats-section {
        padding: 4.8rem 16px;
    }

    .stats-header {
        margin-bottom: 4rem;
    }

    .stats-header h2 {
        font-size: 3.2rem;
    }

    .stats-header p {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-rows: 2fr;
        gap: 2rem;
    }

    .stat-card {
        padding: 3.2rem 1rem;
    }

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

    .stat-number .suffix {
        font-size: 3.2rem;
    }

    .stat-label {
        font-size: 1.4rem;
    }

    .stat-sublabel {
        font-size: 1.3rem;
    }
}