/* --- Page Banner --- */
.page-banner-clean {
    background:
        radial-gradient(circle at top right, rgba(193, 218, 255, 0.35), transparent 40%),
        linear-gradient(135deg, #eaf4ff, #f6fbff);
    padding: 90px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

body.dark-theme .page-banner-clean {
    background:
        radial-gradient(circle at top right, rgba(193, 218, 255, 0.12), transparent 40%),
        linear-gradient(135deg, #111827, #0f1720);
}

.page-banner-inner {
    max-width: 840px;
    margin: 0 auto;
}

.page-banner-inner h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.15;
}

.page-banner-inner p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
}

/* --- Story Section --- */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-story-text h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-story-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-image-placeholder {
    background: #f0f7ff; /* Very soft crystal blue */
    border: 2px dashed rgba(193, 218, 255, 0.8);
    border-radius: 16px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

body.dark-theme .about-image-placeholder {
    background: #202b36;
    border-color: #31404f;
    color: var(--primary);
}

/* --- Content Grids --- */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* --- 3D Testimonial Carousel --- */
.testimonial-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 480px; /* Fixed height so things don't jump around */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.t-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 440px;
    background: var(--card);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth snapping animation */
    
    /* Default Hidden State */
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    filter: blur(10px);
}

/* The Center Active Card */
.t-slide.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    filter: blur(0px);
}

/* The Left Card (Previous) */
.t-slide.prev {
    transform: translate(-110%, -50%) scale(0.85); /* Push to left */
    opacity: 0.4;
    z-index: 2;
    filter: blur(4px); /* The blur you requested! */
}

/* The Right Card (Next) */
.t-slide.next {
    transform: translate(10%, -50%) scale(0.85); /* Push to right */
    opacity: 0.4;
    z-index: 2;
    filter: blur(4px);
}

/* Navigation Buttons (Left & Right Arrows) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    transition: 0.3s ease;
}

body.dark-theme .nav-btn { background: var(--primary); color: #111827; }
.nav-btn:hover { background: #0f172a; transform: translateY(-50%) scale(1.1); }
.nav-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Progress Bar & Dots */
.carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.t-progress-container {
    width: 300px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.t-progress-bar {
    height: 100%;
    width: 0%;
    background: #1e3a8a;
    border-radius: 2px;
}
body.dark-theme .t-progress-bar { background: var(--primary); }

.t-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.t-dot.active {
    opacity: 1;
    background: #1e3a8a;
    transform: scale(1.3);
}
body.dark-theme .t-dot.active { background: var(--primary); }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .t-slide.prev { transform: translate(-100%, -50%) scale(0.8); opacity: 0; } /* Hide sides on mobile */
    .t-slide.next { transform: translate(0%, -50%) scale(0.8); opacity: 0; }
    .prev-btn, .next-btn { display: none; } /* Rely on touch/auto on mobile */
}

.about-value-card, .trust-card {
    padding: 36px 28px;
}

.about-value-card h3, .trust-card h3 {
    font-size: 24px;
    color: #1e3a8a; /* Deep navy blue for Sky Blossom theme */
    margin-bottom: 14px;
    font-weight: 800;
}

body.dark-theme .about-value-card h3,
body.dark-theme .trust-card h3 {
    color: var(--primary); /* Flips to soft crystal blue in dark mode */
}

.about-value-card p, .trust-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

/* --- Highlight Box Section --- */
.about-highlight-box {
    background: linear-gradient(135deg, #eaf4ff, #f6fbff);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    box-shadow: var(--shadow);
}

body.dark-theme .about-highlight-box {
    background: linear-gradient(135deg, #1a2430, #202b36);
}

.about-highlight-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.15;
}

.about-highlight-text p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.about-highlight-stats {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-stat-card {
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.highlight-stat-card h3 {
    font-size: 22px;
    color: #1e3a8a;
    font-weight: 800;
}

body.dark-theme .highlight-stat-card h3 {
    color: var(--primary);
}

.highlight-stat-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .about-story-grid,
    .about-highlight-box {
        grid-template-columns: 1fr;
    }
    
    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner-clean {
        padding: 60px 0;
    }
    
    .page-banner-inner h1 {
        font-size: 36px;
    }

    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .about-highlight-box {
        padding: 35px 24px;
        border-radius: 22px;
    }
    
    .about-story-text h2,
    .about-highlight-text h2 {
        font-size: 32px;
    }

    .about-image-placeholder {
        height: 280px;
    }
}

/* --- Modern Card Icons --- */
.card-icon {
    width: 54px;
    height: 54px;
    background: #eaf4ff; /* Soft icy blue background */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #1e3a8a; /* Deep navy blue icon color */
    transition: 0.3s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dark mode adjustments for icons */
body.dark-theme .card-icon {
    background: rgba(193, 218, 255, 0.1); /* Transparent crystal blue */
    color: var(--primary); /* Bright crystal blue icon color */
}

/* Hover effect so the icon lifts slightly */
.clean-card:hover .card-icon {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #E2F7F6, #C1DAFF);
    color: #0f172a;
}

/* --- Google-Style Testimonial Cards --- */
.testimonial-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Header layout */
.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Avatars */
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.default-avatar {
    background-color: #1e3a8a; /* Deep Navy */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

body.dark-theme .default-avatar {
    background-color: var(--primary);
    color: #111827;
}

/* Meta Data & Stars */
.testi-meta h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.testi-stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 18px;
    height: 18px;
}

.star.filled {
    fill: #fbbc04; /* Official Google Yellow */
}

.star.empty {
    fill: #dadce0; /* Gray for empty stars */
}

/* Comment Text */
.testi-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

/* Uploaded Review Image */
.testi-review-image-box {
    margin-top: auto; /* Pushes the image to the bottom of the card */
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
}

.testi-review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}