/* ==========================================================================
   FOOTER STYLES - Shared across all pages
   ========================================================================== */

/* Testimonials - Two Column Layout */
.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    margin: 0;
    padding: 0;
}

.testimonials__image {
    background-image: url('../images/rcs_school_banner.jpg');
    background-size: cover;
    background-position: center top;
    min-height: 400px;
}

.testimonials__content {
    background: white;
    padding: clamp(48px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.testimonials__cross {
    width: clamp(60px, 8vw, 100px);
    margin: 0 auto 28px;
    display: block;
}

.testimonials__kicker {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.testimonials__carousel {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-slide__quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    line-height: 1.7;
    color: var(--green-800);
    margin: 0 0 20px;
    padding: 0;
    border: none;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-slide__author {
    font-size: 0.95rem;
    color: var(--green-700);
    font-weight: 600;
    text-align: center;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--cream-300);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.testimonials__dot:hover {
    background: var(--green-400);
}

.testimonials__dot.active {
    background: var(--green-700);
    transform: scale(1.2);
}

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

    .testimonials__image {
        min-height: 300px;
    }

    .testimonials__cross {
        width: 55px;
        margin-bottom: 20px;
    }

    .testimonials__kicker {
        font-size: 0.9rem;
    }

    .testimonials__carousel {
        min-height: 220px;
    }

    .testimonial-slide__quote {
        font-size: 1.1rem;
    }
}

/* Gold Border Above Footer */
.gold-border {
    height: 3px;
    background: #c9a227;
}

/* Map Section */
.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
}

/* Footer Bar - Dark Bottom Strip */
.footer-bar {
    background: #000;
    padding: 32px clamp(24px, 6vw, 48px);
    text-align: center;
}

.footer-bar__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-bar__nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-bar__nav a:hover {
    color: white;
}

.footer-bar__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bar__copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bar__copyright a:hover {
    color: white;
}

/* Footer Social - flush left on desktop, center on mobile */
.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--green-700);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(21, 50, 34, 0.25);
}

.go-to-top:hover {
    background: var(--green-800);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(21, 50, 34, 0.35);
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

@media (max-width: 768px) {
    .go-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .go-to-top svg {
        width: 20px;
        height: 20px;
    }
}
