/* =========================
   MINI CAMPUS PUBLIC SITE STYLES
   Updated with Excel Landscape Design
   ========================= */

/* Hero Section - Updated for Excel Style */
.page-hero {
    background: linear-gradient(135deg, #4A8FD2, #2c5530);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    width: 90%;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* CTA Section - Updated for Excel Style */
.tour-benefits-container {
    background: linear-gradient(135deg, #4A8FD2, #2c5530);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    width: 90%;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tour-benefits-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.tour-benefits-container p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.tour-benefits-container .btn {
    display: inline-block;
    background: #FFD369;
    color: #333;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tour-benefits-container .btn:hover {
    background: #e6b845;
    transform: translateY(-2px);
}

/* Pre-K / Content Boxes - Updated for Excel Style */
.prek-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    margin: 0 auto 30px auto;
}

.prek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.prek-box {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.prek-box:hover {
    transform: translateY(-3px);
}

.prek-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c5530;
}

.prek-box ul {
    font-size: 0.95rem;
    padding-left: 20px;
    line-height: 1.6;
}

/* Testimonials Section - Updated for Excel Style */
.testimonials {
    background: linear-gradient(135deg, #4A8FD2, #2c5530);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    width: 90%;
    margin: 0 auto 40px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: #ffffff;
}

.testimonials .testimonials-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonials .testimonials-track {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 20s linear infinite;
}

.testimonials .testimonial-slide {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left;
    backdrop-filter: blur(10px);
}

.testimonials .testimonial-slide p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonials .testimonial-slide strong {
    font-size: 0.9rem;
    color: #FFD369;
}

/* Horizontal scroll animation */
@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.testimonials:hover .testimonials-track {
    animation-play-state: paused;
}

/* Popup Styles - Updated for Excel Style */
#tour-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-container {
    background: linear-gradient(135deg, #4A8FD2, #2c5530);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    margin: 80px auto;
    padding: 30px;
    position: relative;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.popup-close {
    position: absolute;
    top: 15px; 
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    background: rgba(255,255,255,0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255,255,255,0.3);
}