/* ==============================================
   T6: Warm Sunset — Inner Pages CSS
   Design Language: Playful, warm, big rounded cards,
   circular icons, gradient badges, emoji-friendly
   ============================================== */

/* Page Banner — warm gradient */
.t6-page-banner {
    background: linear-gradient(135deg, var(--t6-orange, #f97316) 0%, var(--t6-amber, #f59e0b) 100%);
    padding: 52px 0;
    position: relative;
    overflow: hidden;
}

.t6-page-banner::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    /* white wave bottom */
    clip-path: ellipse(55% 100% at 50% 100%);
}

.t6-page-banner h1 {
    font-size: clamp(24px, 5vw, 44px);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.t6-page-banner .pg-icon {
    font-size: 42px;
    margin-bottom: 8px;
    display: block;
}

/* Breadcrumb */
.t6-bc {
    background: #fff7ed;
    border-bottom: 2px solid rgba(249, 115, 22, 0.15);
    padding: 10px 0;
    font-size: 13px;
}

.t6-bc a {
    color: var(--t6-orange, #f97316);
    font-weight: 700;
}

.t6-bc span {
    color: #92400e;
    margin: 0 8px;
}

/* Sections */
.t6-pg-section {
    padding: 64px 0;
    background: #fff;
}

.t6-pg-section.alt {
    background: #fff7ed;
}

/* BIG rounded card */
.t6-rcard {
    background: #fff;
    border: 2px solid rgba(249, 115, 22, 0.12);
    border-radius: 24px;
    padding: 28px 22px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.07);
    transition: .3s;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}

.t6-rcard:hover {
    border-color: var(--t6-orange, #f97316);
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(249, 115, 22, 0.15);
}

.t6-rcard img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.t6-rcard h5 {
    font-weight: 800;
    color: #1c0a00;
    font-size: 16px;
    margin-bottom: 6px;
}

.t6-rcard p {
    font-size: 13px;
    color: #78350f;
    line-height: 1.7;
}

/* Emoji circle icon card */
.t6-icon-card {
    background: #fff7ed;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: .3s;
    border: 2px solid transparent;
    height: 100%;
}

.t6-icon-card:hover {
    border-color: var(--t6-orange, #f97316);
    transform: translateY(-6px);
}

.t6-icon-card .circle-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--t6-orange, #f97316), var(--t6-amber, #f59e0b));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    font-size: 30px;
}

.t6-icon-card h5 {
    font-weight: 800;
    color: #1c0a00;
    font-size: 16px;
    margin-bottom: 6px;
}

.t6-icon-card p {
    font-size: 13px;
    color: #78350f;
    line-height: 1.7;
}

/* Badge */
.t6-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--t6-orange, #f97316), var(--t6-amber, #f59e0b));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 8px;
}

/* Contact — 3 big info bubbles */
.t6-contact-bubble {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
    border: 2px solid rgba(249, 115, 22, 0.12);
    height: 100%;
    transition: .3s;
}

.t6-contact-bubble:hover {
    border-color: var(--t6-orange, #f97316);
}

.t6-contact-bubble .big-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.t6-contact-bubble h5 {
    font-weight: 900;
    color: #1c0a00;
    font-size: 16px;
    margin-bottom: 8px;
}

.t6-contact-bubble p {
    font-size: 14px;
    color: #78350f;
}

/* FAQ — card style */
.t6-faq-item {
    background: #fff;
    border: 2px solid rgba(249, 115, 22, 0.1);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: .2s;
}

.t6-faq-item.open {
    border-color: var(--t6-orange, #f97316);
}

.t6-faq-q {
    padding: 18px 22px;
    font-weight: 800;
    color: #1c0a00;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t6-faq-q .toggle-icon {
    width: 32px;
    height: 32px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--t6-orange, #f97316);
    flex-shrink: 0;
    transition: .25s;
}

.t6-faq-item.open .toggle-icon {
    background: var(--t6-orange, #f97316);
    color: #fff;
}

.t6-faq-a {
    display: none;
    padding: 0 22px 20px;
    font-size: 14px;
    color: #78350f;
    line-height: 1.9;
}

/* Form — warm style */
.t6-form-wrap {
    background: #fff7ed;
    border-radius: 24px;
    padding: 36px;
    border: 2px solid rgba(249, 115, 22, 0.12);
}

.t6-form-wrap .form-control {
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
}

.t6-form-wrap textarea.form-control {
    border-radius: 16px !important;
}

.t6-form-wrap .form-control:focus {
    border-color: var(--t6-orange, #f97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    outline: none;
}

/* Teacher — big photo with overlay name */
.t6-teacher-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: .3s;
}

.t6-teacher-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.t6-teacher-card:hover img {
    transform: scale(1.06);
}

.t6-teacher-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 10, 0, 0.85) 0%, transparent 100%);
    padding: 20px 18px 16px;
}

.t6-teacher-card h5 {
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    margin: 0;
}

.t6-teacher-card small {
    color: var(--t6-amber, #f59e0b);
    font-size: 12px;
    font-weight: 700;
}