/* Homepage Sections Stylesheet */

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: clamp(120px, 12vw, 170px) 0 clamp(70px, 8vw, 100px);
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content-left {
    position: relative;
    z-index: 5;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 19px);
    margin-top: 20px;
    margin-bottom: 35px;
    color: var(--navy-light);
}

.hero-btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.hero-features-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-light);
}

.hero-feature-badge i {
    color: var(--primary-red);
    font-size: 16px;
}

/* Right side - collage visual graphics */
.hero-visual-right {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brush-red {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 1;
}

.hero-kanji-watermark {
    position: absolute;
    font-size: clamp(180px, 20vw, 240px);
    font-family: serif;
    font-weight: 900;
    color: rgba(16, 42, 67, 0.03);
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.hero-instructor-cutout {
    position: relative;
    width: 85%;
    height: 90%;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(16, 42, 67, 0.15));
}

.hero-instructor-cutout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    border: 6px solid var(--surface);
    box-shadow: var(--shadow-heavy);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-student-bubble {
    position: absolute;
    border-radius: 50%;
    border: 4px solid var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 3;
    transition: var(--transition-slow);
}

.hero-student-bubble:hover {
    transform: scale(1.1) translateY(-5px);
}

.bubble-1 {
    width: 90px;
    height: 90px;
    top: 15%;
    left: 0;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 5%;
}

.bubble-3 {
    width: 95px;
    height: 95px;
    top: 25%;
    right: -10px;
}

.bubble-4 {
    width: 85px;
    height: 85px;
    bottom: 12%;
    right: 20px;
}

.hero-student-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge-estd {
    position: absolute;
    bottom: 5%;
    left: 25%;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    z-index: 4;
}

.hero-badge-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-red);
    color: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.hero-badge-text-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge-text-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

/* --- STATS COUNTER STRIP --- */
.stats-strip {
    background: var(--gradient-navy);
    color: var(--surface);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--surface);
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-plus {
    color: var(--primary-red);
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* --- WHY CHOOSE US --- */
.why-choose-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.why-choose-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--surface);
    box-shadow: var(--shadow-soft);
}

.why-choose-card.card-red .why-choose-icon-wrapper { background: var(--gradient-red); }
.why-choose-card.card-navy .why-choose-icon-wrapper { background: var(--gradient-navy); }
.why-choose-card.card-teal .why-choose-icon-wrapper { background: var(--gradient-teal); }
.why-choose-card.card-purple .why-choose-icon-wrapper { background: var(--gradient-purple); }

.why-choose-title {
    margin-bottom: 12px;
    font-weight: 700;
}

.why-choose-desc {
    font-size: 14px;
}

/* --- WEEKLY CLASS SCHEDULE (PREVIEW) --- */
.schedule-filter-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.schedule-filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.schedule-filter-btn:hover,
.schedule-filter-btn.active {
    background: var(--primary-red);
    color: var(--surface);
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.schedule-table {
    margin: 0;
    min-width: 850px;
}

.schedule-table th {
    background-color: var(--navy);
    color: var(--surface);
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.schedule-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    text-align: center;
}

.schedule-time-cell {
    font-weight: 700;
    color: var(--navy);
    background-color: var(--background);
}

.schedule-cell-item {
    background: var(--background);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    display: inline-block;
    width: 100%;
    transition: var(--transition);
}

.schedule-cell-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.schedule-cell-class {
    font-weight: 700;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 2px;
}

.schedule-cell-instructor {
    font-size: 11px;
    color: var(--muted-text);
    font-weight: 500;
}

.schedule-cell-empty {
    color: rgba(16, 42, 67, 0.2);
    font-size: 18px;
}

.schedule-view-action {
    text-align: center;
}

/* Mobile cards schedule fallback (hidden on desktop) */
.schedule-mobile-cards {
    display: none;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-section {
    background: var(--surface);
}

.testimonial-slider-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
}

.testimonial-card-inner {
    text-align: center;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 40px;
    color: rgba(230, 57, 70, 0.15);
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-msg {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 500;
    font-style: italic;
    color: var(--navy-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #ffb703;
    margin-bottom: 12px;
}

.testimonial-client-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-client-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Slider Controls */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--background);
    border: 1px solid var(--border);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}

.testimonial-nav-btn:hover {
    background-color: var(--primary-red);
    color: var(--surface);
    border-color: var(--primary-red);
}

.testimonial-prev-btn { left: 0; }
.testimonial-next-btn { right: 0; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testimonial-dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border);
    transition: var(--transition);
}

.testimonial-dot-indicator.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary-red);
}

/* --- ADMISSION CALL TO ACTION BANNER --- */
.admission-banner {
    position: relative;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-cta);
    overflow: hidden;
    color: var(--surface);
    box-shadow: 0 15px 45px rgba(230, 57, 70, 0.35);
    margin-bottom: 30px;
}

.admission-banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: clamp(30px, 6vw, 60px);
}

.admission-banner-left {
    position: relative;
    z-index: 5;
}

.admission-banner-title {
    color: var(--surface);
    font-size: clamp(24px, 4.5vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
}

.admission-banner-desc {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: 16px;
}

.admission-banner-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.admission-banner-btns .btn-secondary {
    background: transparent;
    color: var(--surface);
    border-color: rgba(255, 255, 255, 0.4);
}

.admission-banner-btns .btn-secondary:hover {
    background: var(--surface);
    color: var(--navy);
    border-color: var(--surface);
}

/* Right side graphic */
.admission-banner-right {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.admission-banner-students {
    width: 90%;
    height: 100%;
    z-index: 2;
}

.admission-banner-students img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.admission-banner-badge {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    padding: 10px;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    animation: floatShape 5s ease-in-out infinite;
}

/* --- FOOTER SECTION --- */
.footer-site {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 30px;
}

.footer-widget-title {
    color: var(--surface);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.footer-description {
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-social-strip {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.footer-social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--primary-red);
    font-size: 16px;
    margin-top: 3px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.footer-newsletter-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--surface);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-red);
    color: var(--surface);
    font-weight: 600;
    border-radius: 8px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-red);
    color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 990;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
}
