@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap');

/* CSS Variables & Theme Setup */
:root {
    --primary: #5F5AF6;
    --primary-hover: #454ae0;
    --navy-dark: #1A1B24;
    --bg-gray: #F8FBFF;
    --surface-white: #FFFFFF;
    --border-gray: #C4C5D8;
    --text-dark: #1A1B24;
    --text-light: #666666;
    --success: #16A34A;
    --success-bg: #DCFCE7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans Flex', sans-serif !important;
}

body {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--text-dark);
    font-family: 'Google Sans Flex', sans-serif !important;
    line-height: 1.6;
    overflow-x: hidden;
}

body.body-page-onboarding {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background-color: var(--bg-gray) !important; /* Keep onboarding screen solid light blue-gray */
    background-image: none !important;
}

.body-has-absolute-header {
    padding-top: 0;
}

/* Shared Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header {
    background-color: var(--navy-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    backdrop-filter: blur(12px);
    transition: background-color 0.3s ease, border-bottom 0.3s ease, position 0.3s ease;
}

body:not(.body-page-solid-header) .header-transparent {
    background-color: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

body.body-page-solid-header .header-transparent,
body.body-page-solid-header header {
    background-color: #5a5ff6 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 80px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    z-index: 2000 !important;
    display: flex !important;
    align-items: center !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--surface-white);
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain !important;
    border-radius: 50%;
    background-color: #ffffff;
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
    border-bottom: 6px solid #000000;
    border-style: solid;
    padding: 8px !important; /* Increased from 6px to completely eliminate edge clipping */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    box-sizing: border-box !important;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255 255 255 / 0.8);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 4.5px solid #272727;
    border-style: solid;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease;
    box-sizing: border-box;
}

.btn:hover {
    transform: translateY(1.5px);
    border-bottom-width: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(4px);
    border-bottom-width: 0.5px;
    box-shadow: none;
}

.btn-primary {
    background-color: #E87257; /* premium coral color */
    color: #000000;
    border-color: #272727;
}

.btn-primary:hover {
    background-color: #f2826a;
}

.btn-outline {
    background-color: transparent;
    color: #272727;
    border-color: #272727;
}

.btn-outline:hover {
    background-color: rgba(39, 39, 39, 0.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    color: var(--text-dark);
    text-align: left;
    padding: 80px 0 100px 0;
    border-bottom: 1px solid var(--border-gray);
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hero-actions .btn {
    padding: 16px 36px;
    font-size: 16px;
}

.hero-actions .btn-primary {
    background-color: var(--surface-white);
    color: var(--primary);
}

.hero-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Statistics */
.stats-bar {
    background-color: var(--surface-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 40px 0;
}

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

.stat-val {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* Main Section Styling */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Flex Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    padding: 24px;
    border: 4px solid #272727;
    border-radius: 32px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727;
}

.feature-anim-container {
    height: 160px;
    border-radius: 20px;
    border: 3px solid #272727;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Caterpillar Base Structure */
.caterpillar-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual body segments overlapping */
.segment {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A78BFA 0%, #6366F1 100%);
    border: 3px solid #272727;
    margin-right: -12px;
    position: relative;
    animation: crawl-wave 1.6s ease-in-out infinite;
    box-sizing: border-box;
}

.seg-3 { animation-delay: 0.4s; }
.seg-2 { animation-delay: 0.2s; }
.seg-1 { animation-delay: 0s; }

.caterpillar-head {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818CF8 0%, #4F46E5 100%);
    border: 3px solid #272727;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: crawl-wave 1.6s ease-in-out infinite;
    animation-delay: -0.1s;
}

/* Eyes */
.eye {
    width: 14px;
    height: 18px;
    background: #FFFFFF;
    border: 2px solid #272727;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-left { left: 6px; transform: rotate(-5deg); }
.eye-right { right: 6px; transform: rotate(5deg); }

.pupil {
    width: 6px;
    height: 8px;
    background: #272727;
    border-radius: 50%;
    position: relative;
}

.pupil::after {
    content: '';
    width: 2px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
}

/* Crawling animation */
@keyframes crawl-wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Live Classes Accessories */
.live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #EF4444;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    border: 2px solid #272727;
    animation: pulse-badge 1s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

.headset-mic {
    position: absolute;
    width: 48px;
    height: 24px;
    border: 3px solid #272727;
    border-bottom: none;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    top: -6px;
    left: -5px;
    pointer-events: none;
    z-index: 12;
}

.headset-mic::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 10px;
    background-color: #F43F5E;
    border: 2px solid #272727;
    border-radius: 3px;
    left: -4px;
    bottom: -5px;
}

.headset-mic::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 10px;
    background-color: #F43F5E;
    border: 2px solid #272727;
    border-radius: 3px;
    right: -4px;
    bottom: -5px;
}

.video-stream-box {
    position: absolute;
    width: 85%;
    height: 80%;
    border: 2px dashed rgba(39, 39, 39, 0.15);
    border-radius: 16px;
    pointer-events: none;
}

/* Whiteboard Drawing Accessories */
.whiteboard-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#272727 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.08;
    left: 0;
    top: 0;
}

.whiteboard-drawing-path {
    position: absolute;
    width: 120px;
    height: 80px;
    border: 3px dashed #10B981;
    border-radius: 50%;
    animation: rotate-path 6s linear infinite;
    pointer-events: none;
}

@keyframes rotate-path {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pencil-stylus {
    position: absolute;
    width: 10px;
    height: 36px;
    background: linear-gradient(to bottom, #F59E0B, #D97706);
    border: 2px solid #272727;
    border-radius: 3px;
    top: 30px;
    left: 30px;
    transform-origin: bottom center;
    animation: draw-motion 3s ease-in-out infinite;
}

@keyframes draw-motion {
    0%, 100% { transform: translate(0, 0) rotate(15deg); }
    50% { transform: translate(30px, -15px) rotate(-15deg); }
}

/* AI Companion Accessories */
.ai-companion-bot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    border: 2.5px solid #272727;
    border-radius: 50%;
    top: 25px;
    right: 35px;
    z-index: 15;
    animation: hover-bot 2s ease-in-out infinite;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes hover-bot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.bot-face {
    display: flex;
    gap: 4px;
}

.bot-eye {
    width: 4px;
    height: 4px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: pulse-eye 1.5s infinite;
}

@keyframes pulse-eye {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.2); }
}

.bot-antenna {
    position: absolute;
    width: 3px;
    height: 6px;
    background-color: #272727;
    top: -5px;
    left: 10px;
}

.orbit-ring {
    position: absolute;
    width: 140px;
    height: 60px;
    border: 2px dashed rgba(99, 102, 241, 0.25);
    border-radius: 50%;
    transform: rotate(-15deg);
    pointer-events: none;
    animation: rotate-orbit 10s linear infinite;
}

@keyframes rotate-orbit {
    from { transform: rotate(-15deg) rotate(0deg); }
    to { transform: rotate(-15deg) rotate(360deg); }
}


.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Subjects Section */
.subjects-section {
    background-color: var(--surface-white);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.subject-card {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    padding: 32px 24px;
    border-radius: 24px;
    border: 4px solid #272727;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.subject-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}

.subject-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.subject-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.subject-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* Program Cards (Pricing) */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border: 4px solid #272727;
    border-radius: 32px;
    padding: 32px 24px;
    position: relative;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727;
}

.program-card.popular {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border: 4px solid #E87257;
    box-shadow: none;
}

.program-card.popular:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #E87257;
}

.badge {
    background-color: var(--primary);
    color: var(--surface-white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    position: absolute;
    top: -12px;
    left: 24px;
}

.program-grade {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.program-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.program-subjects {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.program-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
    height: 72px;
}

.program-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.program-card .btn {
    width: 100%;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background-color: #FFFFFF;
    padding: 32px 24px;
    border-radius: 24px;
    border: 4px solid #272727;
    box-shadow: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}

.step-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* Forms & Booking */
.form-container {
    background-color: var(--surface-white);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-select-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.form-select-option {
    background-color: var(--bg-gray);
    border: 1px solid var(--border-gray);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.form-select-option.selected {
    background-color: var(--primary);
    color: var(--surface-white);
    border-color: var(--primary);
}

/* Success View */
.success-view {
    text-align: center;
    padding: 60px 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-bg);
    color: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
}

/* Blogs Grid */
.blogs-filter-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.blog-filter-btn {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    background-color: var(--surface-white);
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-filter-btn.active {
    background-color: var(--primary);
    color: var(--surface-white);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Blogs Pagination - Neo-Brutalist Design System */
.blogs-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
}

.blogs-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    min-width: 44px;
    height: 44px;
    border: 3px solid #272727;
    border-radius: 16px;
    background-color: #FFFFFF;
    color: #272727;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 0 #272727;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #272727;
    background-color: #FEF3C7;
}

.pagination-btn:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #272727;
}

.pagination-btn.active {
    background-color: var(--primary, #FF5B29);
    color: #FFFFFF;
    box-shadow: 0 4px 0 #272727;
}

.pagination-btn.active:hover {
    background-color: var(--primary, #FF5B29);
    color: #FFFFFF;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    background-color: #F3F4F6;
    border-color: #9CA3AF;
}

.pagination-info {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light, #6B7280);
    text-align: center;
}

.blog-card {
    background-color: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: none;
    box-sizing: border-box;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 0 #272727;
}

.blog-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-card-meta .category {
    color: var(--primary);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-card-summary {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* Student Dashboard */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-header-title {
    font-size: 28px;
    font-weight: 800;
}

.dashboard-header-tag {
    background-color: var(--navy-dark);
    color: var(--surface-white);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
}

.dashboard-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.class-schedule-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 4px solid #272727;
    padding: 24px;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 0 #272727;
}

.schedule-details {
    display: flex;
    flex-direction: column;
}

.schedule-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

.schedule-status {
    background-color: rgba(0, 51, 202, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.workspaces-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.workspace-card {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 20px;
    border: 4px solid #272727;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 0 #272727;
}

.workspace-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Mitra AI Companion */
.mitra-chat-box {
    background-color: var(--surface-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 480px;
}

.mitra-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.mitra-header-title {
    font-size: 16px;
    font-weight: 700;
}

.mitra-messages {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 8px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message.user {
    align-self: flex-end;
}

.message.mitra {
    align-self: flex-start;
}

.message-sender {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2px;
    padding: 0 4px;
}

.message.user .message-sender {
    text-align: right;
}

.message-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.message.user .message-bubble {
    background-color: var(--primary);
    color: var(--surface-white);
}

.message.mitra .message-bubble {
    background-color: var(--surface-white);
    border: 1px solid var(--border-gray);
    color: var(--text-dark);
}

.mitra-input-row {
    display: flex;
    gap: 12px;
}

.mitra-input-row .form-control {
    padding: 10px 16px;
    border-radius: 24px;
}

.btn-send {
    background-color: var(--primary);
    color: var(--surface-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-send:hover {
    background-color: var(--primary-hover);
}

/* Footer (Premium Joined with CTA in Duolingo Dynamic Aesthetic) */
footer {
    background-color: #5F5AF6;
    color: var(--surface-white);
    padding: 80px 0 40px 0;
    margin-top: 0; /* Joins completely flush with CTA */
    border-top: none !important; /* Removed section border line for seamless single-page flow */
    position: relative;
    overflow: hidden;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer .footer-col-title {
    color: #FFFFFF !important;
    font-weight: 800;
}

footer .footer-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .footer-links a:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--surface-white);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    margin-bottom: 24px;
}

.footer-copy {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Additional Homepage Styling Extensions */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.hero-tag {
    background-color: #F2F8FF;
    color: var(--primary);
    padding: 10px 20px;
    border: 1.5px solid var(--border-gray);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    display: inline-block;
}

.hero-title-left {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc-left {
    font-family: 'Poppins', sans-serif;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 500;
}

.hero-actions-left {
    display: flex;
    gap: 16px;
}

.hero-actions-left .btn-primary {
    background-color: #E87257;
    color: #000000;
    border-radius: 16px;
    padding: 14px 32px;
    font-size: 15.5px;
    font-weight: 700;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 4.5px solid #272727;
    border-style: solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease;
}

.hero-actions-left .btn-primary:hover {
    background-color: #f2826a;
    transform: translateY(1.5px);
    border-bottom-width: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mockup-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 4px solid #272727;
    box-shadow: none;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 0 #272727;
    z-index: 10;
}

.mockup-schedule {
    width: 240px;
    padding: 16px;
    top: 20px;
    left: 20px;
    color: var(--text-dark);
}

.mockup-schedule h4 {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--primary);
}

.mockup-schedule p {
    font-size: 12px;
}

.mockup-chat {
    width: 260px;
    padding: 16px;
    bottom: 20px;
    right: 20px;
    background: var(--navy-dark);
    color: var(--surface-white);
}

.mockup-chat h4 {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--surface-white);
}

.mockup-chat p {
    font-size: 11px;
    opacity: 0.8;
}

.mockup-video {
    width: 280px;
    height: 180px;
    top: 80px;
    right: 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0033CA 0%, #001166 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: white;
}

.mockup-video h4 {
    font-size: 15px;
    font-weight: 800;
}

.mockup-video p {
    font-size: 12px;
    opacity: 0.9;
}

/* Subject Badges Ticker */
.subject-ticker-bar {
    background-color: var(--surface-white);
    border-bottom: none !important; /* Removed section border line for seamless single-page flow */
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.subject-ticker-bar::before,
.subject-ticker-bar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.subject-ticker-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--surface-white), transparent);
}

.subject-ticker-bar::after {
    right: 0;
    background: linear-gradient(to left, var(--surface-white), transparent);
}

.ticker-container {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0;
    animation: ticker-slide 38s linear infinite;
}

.ticker-container:hover {
    animation-play-state: paused;
}

.ticker-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 9999px;
    background-color: var(--bg-gray);
    border: 1.5px solid var(--border-gray);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ticker-badge:hover {
    border-color: var(--primary);
    background-color: rgba(0, 51, 202, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 202, 0.1);
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Wellness Corner */
.wellness-section {
    background-color: var(--surface-white);
}

.wellness-card {
    background: linear-gradient(135deg, rgba(0, 51, 202, 0.02) 0%, rgba(0, 51, 202, 0.06) 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 51, 202, 0.08);
    padding: 60px 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.wellness-moods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mood-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mood-btn {
    background: var(--surface-white);
    border: 1.5px solid var(--border-gray);
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.mood-btn span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
}

.mood-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* App Download CTA */
.download-cta-card {
    background: #5F5AF6;
    color: var(--surface-white);
    border-radius: 0;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.download-cta-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.download-cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.download-badge-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.download-badge-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.download-badge-icon {
    font-size: 24px;
}

.download-badge-text {
    text-align: left;
}

.download-badge-sub {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.6;
}

.download-badge-main {
    font-size: 15px;
    font-weight: 800;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 12px 10px;
    z-index: 101;
    outline: none;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle .toggle-bar {
    width: 100%;
    height: 2px;
    background-color: var(--surface-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Drawer Body */
.mobile-drawer-body {
    width: 100%;
    max-width: 380px;
    background-color: #000000 !important;
    height: 100%;
    padding: 70px 40px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mobile-drawer.active .mobile-drawer-body {
    transform: translateX(0);
}

.drawer-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: all 0.25s ease;
    z-index: 2010;
}

.drawer-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Redesigned Logo Emblem */
.drawer-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.drawer-logo-circle {
    width: 110px;
    height: 110px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.drawer-logo-circle:hover {
    transform: scale(1.08) rotate(5deg);
}

.drawer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Redesigned Navigation Links */
.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 40px 0;
    padding: 0;
    width: 100%;
}

.drawer-links li {
    width: 100%;
    text-align: center;
}

.drawer-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    display: inline-block;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 4px 12px;
}

.drawer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #eb6c50;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.drawer-links a:hover {
    opacity: 1;
    color: #eb6c50 !important;
    transform: translateY(-2px);
}

.drawer-links a:hover::after {
    width: 80%;
}

.drawer-links a.active {
    opacity: 1;
    color: #eb6c50 !important;
    font-weight: 700;
}

.drawer-links a.active::after {
    width: 80%;
}

/* Drawer Actions container */
.drawer-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

/* Premium Signup Button (Figma matching style) */
.btn-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #eb6c50 !important; /* Coral red */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 24px;
    width: auto;
    min-width: 200px;
    border: 3px solid #1a1a1a;
    box-shadow: 4px 4px 0px #1a1a1a; /* Neobrutalist tactile shadow */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-signup svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    transition: transform 0.2s ease;
}

/* Signup Hover Interactions */
.btn-signup:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #1a1a1a;
    background-color: #f17c62 !important; /* Lighter coral */
}

.btn-signup:hover svg {
    transform: translateX(3px);
}

.btn-signup:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #1a1a1a;
}

@media (max-width: 480px) {
    .mobile-drawer-body {
        max-width: 100%;
        padding: 60px 24px 40px;
    }
    .drawer-logo-circle {
        width: 100px;
        height: 100px;
    }
    .drawer-logo-img {
        width: 60px;
        height: 60px;
    }
    .drawer-links a {
        font-size: 22px;
    }
    .btn-signup {
        font-size: 20px;
        padding: 12px 32px;
    }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
    .nav-actions {
        gap: 10px;
    }
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    footer {
        padding: 50px 0 30px 0;
        margin-top: 80px;
    }
    
    /* Homepage Responsiveness Overrides */
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-title-left {
        font-size: 32px;
        text-align: center;
    }
    
    .hero-desc-left {
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions-left {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions-left .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-right {
        display: none !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .wellness-card {
        grid-template-columns: 1fr;
        padding: 32px 20px;
        gap: 32px;
    }
    
    .mood-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .mood-btn {
        padding: 12px 6px;
        font-size: 20px;
    }
    
    .download-cta-card {
        padding: 40px 20px;
    }
    
    .download-cta-title {
        font-size: 26px;
    }
    
    .download-badges {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .download-badge-btn {
        justify-content: center;
    }
}

/* === CORE VALUES SECTION === */
.values-section {
    background: var(--bg-light);
    border-top: none !important; /* Removed section border line for seamless single-page flow */
    border-bottom: none !important; /* Removed section border line for seamless single-page flow */
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.value-card {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.8;
}
.value-badge-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 12px;
}
.value-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.value-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-light);
}

/* === LATEST BLOGS SECTION === */
.blogs-teaser-section {
    background: var(--bg-light);
    border-top: none !important; /* Removed section border line for seamless single-page flow */
}
.blogs-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.blog-teaser-card {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-teaser-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}
.blog-teaser-img-wrapper {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}
.blog-teaser-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-teaser-card:hover .blog-teaser-img-wrapper img {
    transform: scale(1.05);
}
.blog-teaser-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-teaser-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.blog-teaser-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 12px;
    flex-grow: 1;
}
.blog-teaser-date {
    font-size: 13px;
    color: var(--text-light);
}

/* === INTERACTIVE WELLNESS WIDGET === */
.wc-interactive-container {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border: 4px solid #272727;
    border-radius: 32px;
    box-shadow: 0 8px 0 #272727;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 40px auto 0;
}
.wc-tabs-header {
    display: flex;
    background: #f7f9fc;
    border-bottom: 4px solid #272727;
    padding: 12px;
    gap: 12px;
}
.wc-tab-button {
    flex: 1;
    padding: 14px 20px;
    border: 3px solid transparent;
    background: transparent;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.wc-tab-button:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #272727;
}
.wc-tab-button.active {
    background: #ffffff;
    color: #272727;
    border: 3px solid #272727;
    box-shadow: 0 4px 0 #272727;
}
.wc-tab-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5px;
}
.wc-canvas-body {
    padding: 48px;
    min-height: 480px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tab 1: Mindfulness */
.wc-mindful-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.wc-mindful-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wc-mindful-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-dark);
    line-height: 1.2;
}
.wc-mindful-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}
.wc-mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px;
}
.wc-mood-btn {
    padding: 18px 8px;
    background: #f8fbff;
    border: 1.5px solid var(--border-gray);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
.wc-mood-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: #edf3f9;
}
.wc-mood-btn.selected {
    background: rgba(0, 51, 202, 0.06);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}
.wc-mood-emoji {
    font-size: 28px;
}
.wc-mood-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}
.wc-feedback-box {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #f2f8ff;
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.3s ease-out;
}
.wc-feedback-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Breathing Bubble animation panel */
.wc-mindful-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #f8fbff;
    border-radius: 20px;
    padding: 40px 24px;
    border: 1.5px solid #edf3f9;
}
.wc-breath-bubble-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wc-breath-bubble {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 51, 202, 0.4) 0%, rgba(0, 51, 202, 0.1) 70%);
    border: 2px solid rgba(0, 51, 202, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;
    box-shadow: 0 0 30px rgba(0, 51, 202, 0.1);
}
.wc-breath-bubble.inhale {
    transform: scale(1.6);
    background: radial-gradient(circle, rgba(0, 51, 202, 0.6) 0%, rgba(0, 51, 202, 0.2) 70%);
    border-color: var(--primary-color);
    box-shadow: 0 0 45px rgba(0, 51, 202, 0.2);
}
.wc-breath-bubble.hold {
    transform: scale(1.6);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, rgba(99, 102, 241, 0.2) 70%);
    border-color: #6366f1;
    box-shadow: 0 0 45px rgba(99, 102, 241, 0.2);
}
.wc-breath-bubble.exhale {
    transform: scale(1.0);
    background: radial-gradient(circle, rgba(0, 51, 202, 0.3) 0%, rgba(0, 51, 202, 0.05) 70%);
    border-color: rgba(0, 51, 202, 0.2);
    box-shadow: 0 0 20px rgba(0, 51, 202, 0.05);
}
.wc-breath-timer {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}
.wc-breath-bubble.hold .wc-breath-timer {
    color: #6366f1;
}
.wc-breath-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}
.wc-breath-btn {
    background-color: #E87257;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 4.5px solid #272727;
    border-style: solid;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.wc-breath-btn:hover {
    background-color: #E87257;
    color: #000000;
    transform: translateY(1.5px);
    border-bottom-width: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.wc-breath-btn.active {
    background-color: #555566;
    color: #FFFFFF;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 0.5px solid #272727;
    transform: translateY(4px);
    box-shadow: none;
}

/* Tab 2: Pathfinder */
.wc-pathfinder-layout {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.wc-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.wc-step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.wc-step-dots {
    display: flex;
    gap: 6px;
}
.wc-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #edf3f9;
    transition: background 0.3s;
}
.wc-step-dot.active {
    background: var(--primary-color);
}
.wc-question-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.wc-options-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wc-option-btn {
    padding: 18px 24px;
    background: #ffffff;
    border: 1.5px solid var(--border-gray);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    font-size: 15.5px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
.wc-option-btn:hover {
    border-color: var(--primary-color);
    background: #f8fbff;
    transform: translateX(4px);
}
.wc-option-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    background: #f8fbff;
    transition: all 0.2s ease;
}
.wc-option-btn:hover .wc-option-marker {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

/* Pathfinder Result Card */
.wc-result-card {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 8px 0 #272727;
    animation: fadeIn 0.4s ease-out;
}
.wc-result-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.wc-result-badge {
    padding: 6px 14px;
    background: rgba(0, 51, 202, 0.08);
    border: 1px solid rgba(0, 51, 202, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wc-result-match {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
    line-height: 1;
}
.wc-result-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.wc-result-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 750;
    color: var(--text-dark);
}
.wc-result-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}
.wc-skills-box {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 20px;
}
.wc-skills-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.wc-skills-content {
    font-size: 14.5px;
    color: var(--text-dark);
    font-weight: 500;
}
.wc-result-footer {
    display: flex;
    justify-content: flex-end;
}

/* Tab 3: Expert FAQ expanders */
.wc-expert-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wc-faq-item {
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}
.wc-faq-item.open {
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(0, 51, 202, 0.04);
}
.wc-faq-trigger {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    text-align: left;
    outline: none;
}
.wc-faq-trigger:hover {
    color: var(--primary-color);
}
.wc-faq-arrow {
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}
.wc-faq-item.open .wc-faq-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}
.wc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
}
.wc-faq-answer p {
    padding: 0 24px 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }


/* === RESPONSIVE STYLES OVERRIDES === */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blogs-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .blogs-teaser-grid {
        grid-template-columns: 1fr;
    }
    .wc-mindful-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .wc-canvas-body {
        padding: 24px;
    }
    .wc-mood-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wc-tabs-header {
        flex-direction: column;
        gap: 4px;
        padding: 4px;
    }
    .wc-tab-button {
        padding: 12px 14px;
        font-size: 14px;
    }
    .wc-result-card {
        padding: 24px;
    }
}

/* === INTRO SECTION (WHO WE ARE?) === */
.intro-section {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-gray);
}
.intro-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
}
.intro-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.intro-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.intro-heading strong {
    font-weight: 700;
    color: var(--primary);
}
.intro-right {
    display: flex;
    justify-content: center;
}
.intro-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border: 1.5px solid var(--border-gray);
}

/* === NEW INTRO SECTION (MIND MATTERS / FLOATING CARD REDESIGN) === */
.intro-section-new {
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border-bottom: none !important; /* Removed section border line for seamless single-page flow */
    position: relative;
    padding: 100px 0 60px 0;
    overflow: hidden;
}

.intro-new-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.intro-new-content {
    max-width: 800px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.intro-new-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    margin-top: 16px;
    letter-spacing: -0.03em;
}

.intro-new-subheading {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Cards Area */
.intro-floating-cards {
    width: 100%;
    height: 480px;
    position: relative;
    margin-top: 20px;
}

/* Animated Pointer Cursor */
.intro-cursor {
    position: absolute;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-2px, -2px) scale(1);
    transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1), top 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s ease, opacity 0.5s ease;
    transform-origin: top left;
}

.intro-cursor.clicking {
    transform: translate(-2px, -2px) scale(0.8);
}

/* Tooltip message bubble style */
.intro-tooltip {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    background: #5a5ff6;
    color: #FFFFFF;
    border: 3px solid #272727;
    border-radius: 16px;
    padding: 10px 14px;
    width: 180px;
    box-shadow: none;
    font-family: 'Google Sans Flex', 'Google Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-tooltip.show,
.anim-card:hover .intro-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Arrow for the tooltip message bubble */
.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #272727;
}

.tooltip-arrow::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #5a5ff6;
}

/* Active triggered state of cards when tapped */
.anim-card.active {
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 0 #272727 !important;
}

.anim-card.card-center-middle.active {
    transform: translate(-50%, -8px) !important;
    box-shadow: 0 10px 0 #272727 !important;
}

/* Base style for floating cards */
.floating-card {
    background: #FFFFFF;
    border-radius: 32px;
    border: 4px solid #272727;
    box-shadow: none;
    padding: 24px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-blue { background: #EBF3FF; }
.avatar-orange { background: #FFF3EB; }

.card-info {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.card-subtitle {
    font-size: 12px;
    color: #888888;
    margin: 2px 0 0 0;
}

.card-body-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.status-text {
    color: #555555;
    font-weight: 500;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.status-live {
    background: #EBF3FF;
    color: #0066FF;
}

.status-completed {
    background: #FFF3EB;
    color: #FF6600;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #F0F0F0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
}

.bar-blue { background: #0066FF; }
.bar-orange { background: #FF6600; }

/* Rewards Card style (Middle bubble) */
.card-center-middle {
    width: 250px;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.floating-card.card-center-middle:hover {
    transform: translate(-50%, -6px);
}

.card-header-rewards {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rewards-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards-title {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.card-tags-rewards {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.reward-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.tag-purple {
    background: #F3EFFF;
    color: #6C5CE7;
}

.tag-green {
    background: #EFFFFA;
    color: #00B894;
}

.card-footer-rewards {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #666666;
    border-top: 1px solid #F0F0F0;
    padding-top: 8px;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Precise coordinates for floating layout on desktop */
.card-top-left {
    width: 280px;
    position: absolute;
    top: 20px;
    left: 5%;
}

.card-top-right {
    width: 280px;
    position: absolute;
    top: 30px;
    right: 5%;
}

.card-bottom-left {
    width: 280px;
    position: absolute;
    bottom: 40px;
    left: 5%;
}

.card-bottom-right {
    width: 280px;
    position: absolute;
    bottom: 60px;
    right: 5%;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .intro-floating-cards {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .card-top-left, .card-top-right, .card-center-middle, .card-bottom-left, .card-bottom-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .floating-card:hover {
        transform: translateY(-6px) !important;
    }
}

@media (max-width: 600px) {
    .intro-floating-cards {
        grid-template-columns: 1fr;
    }
    .intro-section-new {
        padding: 60px 20px;
    }
}

.hero-mockup-img {
    max-width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border: 1.5px solid var(--border-gray);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mockup-img:hover {
    transform: translateY(-8px) scale(1.02);
}


/* === HOW OUR APP WORKS GRID === */
.how-it-works-section {
    background: #FFFFFF;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.step-card {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}
.step-text-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}
.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background: #F2F8FF;
    border: 1.5px solid var(--border-gray);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}
.step-title-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}
.step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}
.step-mockup-wrapper {
    height: 200px;
    background: #F8FBFF;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mockups inside Step cards */
.teacher-card-mock {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    gap: 16px;
    width: 85%;
    box-shadow: 0 4px 0 #272727;
}
.teacher-photo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}
.teacher-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-info-mock h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
}
.teacher-info-mock p {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}
.teacher-badge-row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.mock-badge {
    font-size: 9px;
    font-weight: 700;
    background: #F2F8FF;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
}
.phone-mock-img {
    height: 90%;
    width: auto;
    object-fit: contain;
}
.dashboard-card-mock {
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 20px;
    padding: 18px;
    width: 85%;
    box-shadow: 0 4px 0 #272727;
}
.dashboard-card-mock h4 {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.class-subject {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 6px;
}
.class-time {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}
.class-progress-mock {
    height: 6px;
    background: #edf3f9;
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}
.progress-bar-fill {
    width: 60%;
    height: 100%;
    background: var(--primary);
}
.progress-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

/* === CORE VALUES IMAGE WRAPPER === */
.value-img-wrapper {
    height: 180px;
    width: 100%;
    overflow: hidden;
    background: #F8FBFF;
    border-bottom: 1.5px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.value-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}
.value-card-body {
    padding: 24px;
}
.value-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}
.value-keyword-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5a5ff6;
    background: #EFF6FF;
    border: 1.5px solid #272727;
    border-radius: 12px;
    padding: 3px 8px;
    line-height: 1;
}

/* === MITRA SVG CORE VALUE ILLUSTRATIONS === */
.mitra-svg {
    width: 100%;
    height: 100%;
    max-height: 160px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover .mitra-svg {
    animation: imageWobble 0.8s ease-in-out infinite alternate;
}
@keyframes imageWobble {
    0% {
        transform: scale(1.06) rotate(-1.5deg) translateY(0);
    }
    100% {
        transform: scale(1.06) rotate(1.5deg) translateY(-3px);
    }
}
.mitra-worm {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: 50% 115px;
}
.value-card:hover .mitra-worm {
    animation: mitraWormBounce 0.8s ease-in-out infinite alternate;
}
.heart-pulse {
    transform-origin: 80px 90px;
}
.value-card:hover .heart-pulse {
    animation: heartPulseAnim 0.6s ease-in-out infinite alternate;
}
@keyframes mitraWormBounce {
    0% {
        transform: translateY(0) scaleY(1);
    }
    100% {
        transform: translateY(-6px) scaleY(0.98) rotate(1deg);
    }
}
@keyframes heartPulseAnim {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}
.value-card:hover .bubble-anim-1 {
    animation: bubbleUp 0.8s ease-out infinite;
}
.value-card:hover .bubble-anim-2 {
    animation: bubbleUp 0.8s ease-out infinite 0.3s;
}
@keyframes bubbleUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-12px);
        opacity: 0;
    }
}

/* === BLOG DETAIL VIEW === */
.blog-detail-section {
    padding: 140px 0 100px 0;
    background-color: var(--surface-white);
}

.blog-back-btn {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 32px;
    transition: var(--transition);
}

.blog-back-btn:hover {
    color: var(--primary-dark, #00228b);
    transform: translateX(-4px);
}

.blog-detail-header {
    margin-bottom: 40px;
    max-width: 800px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 500;
}

.category-badge {
    background-color: rgba(0, 51, 202, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.dot-separator {
    color: var(--border-gray);
}

.blog-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.blog-detail-tagline {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-detail-author {
    font-size: 15px;
    color: var(--text-dark);
}

/* Aspect Ratio Blur Wrapper for Images */
.aspect-ratio-blur-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0c10;
    overflow: hidden;
}

.aspect-ratio-blur-wrapper .blur-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.65);
    opacity: 0.8;
    z-index: 1;
    transform: scale(1.15);
}

.aspect-ratio-blur-wrapper .main-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .aspect-ratio-blur-wrapper .main-img {
    transform: scale(1.03);
}

.blog-detail-cover-wrapper {
    width: 100%;
    height: 480px; /* fixed height for detail cover */
    border-radius: 16px;
    margin-bottom: 48px;
    box-shadow: var(--shadow);
}

.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

.blog-detail-body p {
    margin-bottom: 24px;
}

.blog-detail-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.blog-detail-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-detail-body strong {
    font-weight: 700;
    color: var(--text-dark);
}

.blog-detail-body em {
    font-style: italic;
}

.blog-detail-body ul, .blog-detail-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-detail-body li {
    margin-bottom: 8px;
}

.blog-detail-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-light);
    margin: 32px 0;
}

.blog-detail-share {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-detail-share h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-share-link {
    background: #F8FBFF;
    border: 1.5px solid var(--border-gray);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-share-link:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

.latest-blogs-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .intro-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-tag {
        align-self: center;
    }
    .hero-desc-left {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions-left {
        justify-content: center;
    }
    .blog-detail-title {
        font-size: 30px;
    }
    .blog-detail-tagline {
        font-size: 17px;
    }
    .blog-detail-body {
        font-size: 16px;
        line-height: 1.7;
    }
    .blog-detail-cover-wrapper {
        height: 280px;
    }
}

/* ==========================================================================
   Figma Redesign Hero Section Styles
   ========================================================================== */

.hero-new {
    background-color: #5F5AF6;
    position: relative;
    width: 100%;
    min-height: 820px;
    overflow: hidden;
    padding: 100px 0 0 0; /* flat bottom padding so the image sits flat at bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Semi-transparent decorative wave vectors floating in background */
.hero-waves-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.wave-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: waveFlowDiagonal 32s linear infinite;
    will-change: transform;
}

@keyframes waveFlowDiagonal {
    0% {
        transform: translate(-200px, -200px);
    }
    100% {
        transform: translate(200px, 200px);
    }
}

.wave-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mathematically precise wave positions and transforms from Figma (centered for all screens, scaled super thick) */
.wave-wrapper-1 {
    left: 50%;
    margin-left: -1153px;
    top: -802px;
    width: 1424.724px;
    height: 1550.017px;
}
.wave-wrapper-1 .wave-img {
    transform: scale(2.2) rotate(-29.03deg) scaleY(2.2) skewX(-14.06deg);
    opacity: 0.4;
}

.wave-wrapper-2 {
    left: 50%;
    margin-left: -941.91px;
    top: -505.48px;
    width: 1403.101px;
    height: 1414.208px;
}
.wave-wrapper-2 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.4;
}

.wave-wrapper-3 {
    left: 50%;
    margin-left: -707.93px;
    top: -293.19px;
    width: 1403.101px;
    height: 1414.208px;
}
.wave-wrapper-3 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.4;
}

.wave-wrapper-4 {
    left: 50%;
    margin-left: -476.68px;
    top: -81.3px;
    width: 1403.101px;
    height: 1414.208px;
}
.wave-wrapper-4 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.4;
}

.wave-wrapper-5 {
    left: 50%;
    margin-left: -231.1px;
    top: 174.39px;
    width: 1384.105px;
    height: 1326.608px;
}
.wave-wrapper-5 .wave-img {
    transform: scale(2.2) rotate(-17.59deg) scaleY(2.2) skewX(-8.9deg);
    opacity: 0.4;
}

/* Hero Content Area */
.hero-content-new {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-title-sub {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 700;
    color: #0F172A; /* Slate-900 */
    letter-spacing: -1px;
    margin: 0;
    line-height: 1.2;
}

.hero-title-main {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(52px, 8.5vw, 115.53px);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -2.31px;
    margin: 0;
    line-height: 0.85;
}

/* Buttons Area */
.hero-buttons-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

/* Neumorphic flat-3D tonal button */
.btn-tonal {
    background-color: #E87257; /* coral */
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 36px;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 4.5px solid #272727;
    border-style: solid;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-tonal:hover {
    transform: translateY(1.5px);
    border-bottom-width: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-tonal:active {
    transform: translateY(4px);
    border-bottom-width: 0.5px;
    box-shadow: none;
}

/* Ghost Text Button */
.btn-text {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 36px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-text:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.btn-text:active {
    transform: scale(0.98);
}

.hero-foreground-illustration {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1040px;
    margin: -150px auto 0 auto; /* Pull further up to reach close to the CTA buttons above */
    display: flex;
    justify-content: center;
    pointer-events: none;
    transform: scale(1.04) translateY(14px); /* Zoom and push down to hide bottom cut-off */
}

.hero-scroll-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1114 / 673; /* Enforces correct layout height instantly matching the high-quality cropped frames */
    display: block;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.2));
    animation: gentleFloat 6s ease-in-out infinite;
}

.hero-scroll-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: none; /* Instant frame swaps without any fade latency */
    color: transparent; /* Hides alt text visually on slow mobile connections before image loads */
    
    /* Hardware accelerated, high-fidelity subpixel anti-aliasing and image edge-smoothing */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 0);
    will-change: opacity;
}

.hero-scroll-frame.active {
    opacity: 1;
}

/* Gentle floating micro-animation to feel alive and interactive */
@keyframes gentleFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 768px) {
    .hero-new {
        padding-top: 80px;
        min-height: 700px;
    }
    .hero-title-main {
        line-height: 0.9;
        letter-spacing: -1.2px;
    }
    .hero-buttons-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-tonal, .btn-text {
        width: 100%;
    }
    .hero-foreground-illustration {
        max-width: 440px;
        transform: scale(1.1) translateY(12px); /* Zoom in slightly on mobile/tablets */
    }
}

@media (max-width: 480px) {
    .hero-new {
        padding-top: 60px;
        min-height: 600px;
    }
    .hero-foreground-illustration {
        max-width: 320px;
        transform: scale(1.2) translateY(10px); /* Zoom in further on small phones */
    }
}

/* ==========================================================================
   More Than Just Academics Section (Interactive Tab Showcase)
   ========================================================================== */
.academics-extra-section {
    background-color: #F8FAFC;
    border-top: 3px solid #000000;
    border-bottom: 3px solid #000000;
    padding: 100px 0;
}

.academics-accordion-container {
    max-width: 100%;
    margin: 54px auto 0 auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.accordion-item {
    border-bottom: 1.5px solid #D4CBE1;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.accordion-item:first-child {
    border-top: 1.5px solid #D4CBE1;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-title-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accordion-arrow {
    font-size: 20px;
    color: #5F5AF6;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
    display: inline-block;
}

.accordion-title {
    font-size: 19px;
    font-weight: 600;
    color: #1E293B;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    transition: color 0.25s ease;
}

.accordion-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(95, 90, 246, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F5AF6;
    font-size: 22px;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

/* Hover States with Micro-Animations */
.accordion-header:hover {
    background-color: rgba(95, 90, 246, 0.02);
}

.accordion-header:hover .accordion-arrow {
    transform: translateX(6px);
}

.accordion-header:hover .accordion-title {
    color: #5F5AF6;
}

.accordion-header:hover .accordion-icon-box {
    background-color: #5F5AF6;
    color: #FFFFFF;
}

/* Expanded Active State */
.accordion-item.active {
    background-color: rgba(95, 90, 246, 0.01);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(90deg) scale(1.1);
    color: #5F5AF6;
}

.accordion-item.active .accordion-title {
    color: #5F5AF6;
    font-weight: 700;
}

.accordion-item.active .accordion-icon-box {
    background-color: #5F5AF6;
    color: #FFFFFF;
    transform: rotate(45deg);
}

/* Slid-Open Content Animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
    padding: 0 16px 24px 52px;
}

.accordion-content-inner p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Responsive Styles for Accordion */
@media (max-width: 768px) {
    .academics-extra-section {
        padding: 60px 0;
    }
    
    .accordion-header {
        padding: 20px 8px;
    }
    
    .accordion-title {
        font-size: 16px;
    }
    
    .accordion-arrow {
        font-size: 16px;
    }
    
    .accordion-title-box {
        gap: 12px;
    }
    
    .accordion-content-inner {
        padding: 0 8px 20px 36px;
    }
    
    .accordion-content-inner p {
        font-size: 14px;
    }
    
    .accordion-icon-box {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

/* ==========================================================================
   Figma Redesign: "Your path to excellence" & "What do you want to master today"
   ========================================================================== */

/* 1. Your Path to Excellence Section (Node 19:569) */
.path-excellence-section {
    background-color: #5F5AF6;
    color: #FFFFFF;
    padding: 120px 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Waves for Path to Excellence Section */
.path-waves-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.path-wave-wrapper-1 {
    left: 50%;
    margin-left: -1153px;
    top: -450px;
    width: 1424.724px;
    height: 1550.017px;
}
.path-wave-wrapper-1 .wave-img {
    transform: scale(2.2) rotate(-29.03deg) scaleY(2.2) skewX(-14.06deg);
    opacity: 0.18;
}

.path-wave-wrapper-2 {
    left: 50%;
    margin-left: -941.91px;
    top: -150px;
    width: 1403.101px;
    height: 1414.208px;
}
.path-wave-wrapper-2 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.18;
}

.path-wave-wrapper-3 {
    left: 50%;
    margin-left: -707.93px;
    top: 60px;
    width: 1403.101px;
    height: 1414.208px;
}
.path-wave-wrapper-3 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.18;
}

.path-wave-wrapper-4 {
    left: 50%;
    margin-left: -476.68px;
    top: 270px;
    width: 1403.101px;
    height: 1414.208px;
}
.path-wave-wrapper-4 .wave-img {
    transform: scale(2.2) rotate(-21.99deg) scaleY(2.2) skewX(-10.98deg);
    opacity: 0.18;
}

.path-wave-wrapper-5 {
    left: 50%;
    margin-left: -231.1px;
    top: 520px;
    width: 1384.105px;
    height: 1326.608px;
}
.path-wave-wrapper-5 .wave-img {
    transform: scale(2.2) rotate(-17.59deg) scaleY(2.2) skewX(-8.9deg);
    opacity: 0.18;
}


.path-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.path-header {
    text-align: center;
    margin-bottom: 64px;
}

.path-title {
    font-family: 'Outfit', 'Google Sans', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.path-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto;
}

.path-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    width: 100%;
}

.path-step-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 28px;
    border: 4px solid #272727;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727;
}

.step-num-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #E87257;
    opacity: 0.8;
}

.step-title-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #272727;
}

.step-desc-para {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
    margin: 0;
}

/* 2. What Do You Want to Master Today Section (Node 19:589) */
.master-today-section {
    background-color: #FAFCFF;
    padding: 120px 80px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.master-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.master-header {
    text-align: center;
    margin-bottom: 56px;
    width: 100%;
}

.master-title {
    font-family: 'Outfit', 'Google Sans', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: #272727;
    margin: 0;
    letter-spacing: -0.5px;
}

.master-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 48px auto;
}

.master-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: #F5F9FF;
    border: 2px solid #D4CBE1;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(212, 203, 225, 0.4);
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.master-badge-item:hover {
    transform: translateY(-2px);
    border-color: #5F5AF6;
    background: #FFFFFF;
    box-shadow: 0 6px 0 rgba(95, 90, 246, 0.2);
}

.master-badge-item:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(95, 90, 246, 0.2);
}

.master-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #5F5AF6;
    flex-shrink: 0;
}

.master-badge-icon svg {
    width: 100%;
    height: 100%;
}

.master-badge-text {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #272727;
    margin: 0;
}

.explore-tonal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: #5F5AF6;
    color: #FFFFFF;
    border: 2.5px solid #272727;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 0 #272727;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Outfit', sans-serif;
    margin-top: 16px;
}

.explore-tonal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #272727;
}

.explore-tonal-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #272727;
}

/* Responsive Media Queries for New Redesign Sections */
@media (max-width: 1024px) {
    .path-excellence-section,
    .master-today-section {
        padding: 80px 40px;
    }
    
    .path-steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .path-excellence-section,
    .master-today-section {
        padding: 64px 20px;
    }
    
    .master-badges-container {
        gap: 12px;
    }
    
    .master-badge-item {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
    
    .explore-tonal-btn {
        width: 100%;
        box-sizing: border-box;
    }
}


/* ==========================================================================
   Education Feature Tabs Section (Figma Node 19:486)
   ========================================================================== */
.education-app-section {
    background-color: #FFFFFF;
    padding: 100px 0;
}

.education-tab-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 54px;
}

.education-tab-bar {
    display: flex;
    gap: 12px;
    background: #F1F5F9;
    padding: 6px;
    border-radius: 30px;
    border: 2px solid #272727;
}

.edu-tab-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 24px;
    color: #64748B;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-tab-btn.active {
    background: #5F5AF6;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(95, 90, 246, 0.2);
}

.edu-headline-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

.edu-headline {
    font-size: 36px;
    font-weight: 800;
    color: #272727;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.edu-subtitle {
    font-size: 16px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.edu-cards-container {
    width: 100%;
    position: relative;
}

.edu-pane {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.edu-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.edu-card {
    border: 4px solid #272727;
    border-radius: 32px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
    box-sizing: border-box;
}

.edu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727;
}

.edu-card-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #272727;
    position: relative;
    overflow: hidden;
}

.edu-card-emoji {
    font-size: 64px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.edu-card:hover .edu-card-emoji {
    transform: scale(1.15) rotate(5deg);
}

/* Header Gradient Themes for Custom Assets */
.visual-classes { background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%); }
.visual-community { background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%); }
.visual-resources { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.visual-booking-trial { background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%); }
.visual-booking-report { background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%); }
.visual-booking-sub { background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%); }
.visual-rewards-gamified { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.visual-rewards-shop { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%); }
.visual-rewards-sync { background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%); }

.edu-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.edu-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #272727;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.4;
}

.edu-card-body {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .edu-cards-row {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 480px;
        margin: 0 auto;
    }
}

.edu-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 16px;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.edu-card:hover .edu-card-image {
    transform: scale(1.08) translateY(-4px);
}

/* --- CARDS STACK BLOG WIDGET --- */
.blogs-book-container {
    width: 100%;
    margin: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.book-wrapper.slider-mode {
    width: 100%;
    max-width: 960px;
    height: 404px !important; /* Increased from 380px to accommodate top & bottom safety padding so translateY hover is never clipped */
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 24px;
}

/* Base style for slideshow cards */
.blog-slide-card {
    position: absolute;
    top: 12px !important; /* Safety gap at top */
    bottom: 12px !important; /* Safety gap at bottom */
    left: 0;
    width: 100%;
    height: calc(100% - 24px) !important; /* Sits perfectly within the vertical bounds */
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: #5a5ff6 !important; /* Brand 5a5ff6 color background */
    background-image: 
        url('./images/vector-551.svg'), 
        url('./images/vector-552.svg'),
        url('./images/vector-555.svg') !important; /* SVG wave stripes exactly as the hero section */
    background-size: 140% auto, 140% auto, 140% auto !important;
    background-position: -20% -40%, 10% -20%, 30% 20% !important;
    background-repeat: no-repeat !important;
    border: 4px solid #1a1a1a !important; /* Bold Neobrutalist border */
    border-radius: 24px;
    padding: 32px;
    box-sizing: border-box;
    text-decoration: none;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    overflow: hidden !important; /* Contain background waves */
}

/* Children color overrides for white-on-purple visual hierarchy */
.blog-slide-card .blog-book-title {
    color: #FFFFFF !important;
}

.blog-slide-card .blog-book-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.blog-slide-card .blog-book-footer {
    border-top: 1.5px dashed rgba(255, 255, 255, 0.25) !important;
}

.blog-slide-card .blog-book-date,
.blog-slide-card .blog-book-views {
    color: rgba(255, 255, 255, 0.75) !important;
}

.blog-slide-card .blog-book-view-icon {
    fill: #eb6c50 !important; /* Accent pop of coral */
}

/* Active card state (positioned center and visible) */
.blog-slide-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 10;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide card moving out to the left */
.blog-slide-card.move-out {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%) translateY(12px) !important; /* Maintain safety gap */
    z-index: 2;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover style on active card */
.blog-slide-card.active:hover {
    transform: translateX(0) translateY(-6px) !important; /* Safe from clipping now! */
    box-shadow: 0 6px 0 #1a1a1a !important;
}

.blog-book-thumbnail {
    display: block !important;
    height: 100%;
    width: auto;
    border: 3.5px solid #272727;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: #f0f2f5;
    box-sizing: border-box;
    flex-shrink: 0;
}

.blog-book-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.blog-book-body {
    margin-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-book-tag {
    display: none !important;
}

.blog-book-title {
    font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.35;
    color: #272727;
    margin-bottom: 12px;
}

.blog-book-desc {
    font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-book-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px dashed rgba(0, 0, 0, 0.15);
    padding-top: 16px;
    margin-top: auto;
}

.blog-book-date {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.blog-book-views {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-book-view-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Page indicator bottom center of stack */
.book-pages-indicator {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.book-dot {
    width: 8px;
    height: 8px;
    border: 2px solid #272727;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.45;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-dot.active {
    background-color: #E87257;
    width: 24px;
    border-radius: 100px;
    opacity: 1;
}

/* Responsive Styles for Horizontal Slider Blog Card */
@media (max-width: 768px) {
    .book-wrapper.slider-mode {
        max-width: 500px;
        height: 540px;
    }
    .blog-slide-card {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        align-items: stretch;
        transform: translateX(100%);
    }
    .blog-slide-card.active:hover {
        transform: translateX(0) translateY(-6px);
    }
    .blog-book-thumbnail {
        width: 100%;
        height: 190px;
    }
    .blog-book-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .blog-book-title {
        font-size: 19px;
    }
    .blog-book-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
    .blog-book-footer {
        margin-top: 16px;
        padding-top: 12px;
    }
}

/* ==========================================================================
   ABOUT US REDESIGN STYLES
   ========================================================================== */

/* Hero Section */
.about-hero {
    position: relative;
    background-color: #5f5af6;
    color: #ffffff;
    padding: 120px 0 80px 0;
    overflow: hidden;
    min-height: 709px;
    display: flex;
    align-items: center;
}

.about-hero-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
}

.about-hero-wave {
    position: absolute;
    width: 120%;
    height: 120%;
    transform-origin: center center;
    pointer-events: none;
}

.about-hero-wave-1 {
    top: -20%;
    left: -10%;
    animation: slow-rotate-right 45s linear infinite;
}

.about-hero-wave-2 {
    bottom: -20%;
    right: -10%;
    animation: slow-rotate-left 60s linear infinite;
}

@keyframes slow-rotate-right {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes slow-rotate-left {
    0% { transform: rotate(360deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(0.95); }
    100% { transform: rotate(0deg) scale(1.1); }
}

.about-hero-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 51, 202, 0.3);
}

/* Avatar Horizontal Pile */
.avatar-pile {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-left: 12px;
}

.avatar-pile-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-left: -12px;
    object-fit: cover;
    background-color: #f3f4f6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.avatar-pile-item:hover {
    transform: translateY(-8px) scale(1.15);
    z-index: 10;
    border-color: #E87257;
    box-shadow: 0 8px 16px rgba(232, 114, 87, 0.4);
}

.avatar-pile-text {
    margin-left: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Mascot Wrapper inside Hero and Columns */
.mascot-about-hero-wrapper {
    position: absolute;
    right: -23px;
    top: 50%;
    transform: translateY(-50%);
    width: 1067px;
    height: 709px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
    padding: 0;
}

/* Sub Hero Banner Quote */
.sub-hero-banner {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.sub-hero-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #0033ca;
    letter-spacing: -1px;
    margin: 0;
    text-transform: capitalize;
}

/* Mission, Vision, Values Block */
.pillars-section {
    background-color: #f8fbff;
    padding: 80px 0;
}

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.pillar-row:last-child {
    margin-bottom: 0;
}

.pillar-row.alternating {
    direction: rtl;
}

.pillar-row.alternating .pillar-content {
    direction: ltr;
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #E87257;
    text-transform: uppercase;
}

.pillar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #1a1b24;
    line-height: 1.2;
}

.pillar-description {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #1a1b24;
}

.pillar-mascot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 4px solid #272727;
    border-radius: 24px;
    box-shadow: none;
    height: 380px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-mascot-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 0 #272727;
}

/* Meet the Team Section */
.team-section {
    background-color: #ffffff;
    padding: 100px 0 120px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.team-header {
    margin-bottom: 60px;
}

.team-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #0033ca;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.team-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
}

/* Premium Team Slider Layout */
.team-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

.team-main-display {
    position: relative;
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border: 4px solid #272727;
    border-radius: 32px;
    box-shadow: 0 12px 0 #272727;
    padding: 60px 80px 200px; /* Increased bottom padding to accommodate floating thumbnails AND bottom arrows */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    box-sizing: border-box;
    overflow: hidden;
}

.team-text-column {
    flex: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

.team-breadcrumbs {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #5a5ff6;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#team-display-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #272727;
    margin: 0;
    line-height: 1.1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#team-display-role {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #5a5ff6;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#team-display-bio {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #555555;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-image-column {
    flex: 0.8;
    height: 480px; /* Boosted image height limits for crisp high-resolution cutout rendering */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.team-image-frame {
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}

#team-display-image {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
    
    /* Hardware accelerated, high-fidelity subpixel anti-aliasing and image edge-smoothing */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* Symmetrical Bottom Middle Navigation Arrows */
.team-nav-arrow {
    position: absolute;
    bottom: 24px; /* Positioned at the bottom middle center */
    top: auto;
    transform: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #272727;
    background-color: #FFFFFF;
    color: #272727;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 0 #272727;
}

.team-nav-arrow:hover {
    background-color: #5a5ff6;
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 4px 0 #272727;
}

.team-nav-arrow:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 2px 0 #272727;
}

.team-nav-arrow.prev {
    left: calc(50% - 60px); /* Side-by-side centered spacing */
}

.team-nav-arrow.next {
    left: calc(50% + 10px); /* Side-by-side centered spacing */
}

.team-nav-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Floating Bottom Thumbnails Strip (Frosted Glass Glassmorphism) */
.team-thumbnails-strip {
    position: absolute;
    bottom: 90px; /* Lifted up to make room for center arrows below */
    left: 48px;
    right: 48px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 4px solid #272727;
    border-radius: 24px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 5;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Slide Fade In Animations for Premium Content Transition */
@keyframes teamImageSlideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(35px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes teamTextSlideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-image-slide-fade {
    animation: teamImageSlideFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.team-text-slide-fade {
    animation: teamTextSlideFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.team-thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex: 1;
    min-width: 80px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.65;
}

.team-thumb-avatar-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #272727;
    background-color: #fafafa;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-thumb-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    
    /* Hardware accelerated anti-aliasing */
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-thumb-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 850;
    color: #272727;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.team-thumb-role {
    font-family: 'Poppins', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    color: #5a5ff6;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Active Thumbnail Highlight */
.team-thumbnail-item.active {
    opacity: 1;
    transform: scale(1.08) translateY(-4px);
}

.team-thumbnail-item.active .team-thumb-avatar-wrapper {
    border-color: #5a5ff6;
    box-shadow: 0 0 12px rgba(90, 95, 246, 0.3);
}

.team-thumbnail-item:hover {
    opacity: 1;
}

.team-thumbnail-item:hover:not(.active) .team-thumb-avatar-wrapper {
    transform: scale(1.05);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .team-main-display {
        flex-direction: column;
        padding: 40px 32px 240px; /* Increased bottom padding to fit both strip and arrows */
        gap: 32px;
    }
    
    .team-text-column {
        order: 1;
    }
    
    .team-image-column {
        order: 2;
        height: 340px; /* Elevated height for tablet layout */
    }
    
    .team-thumbnails-strip {
        left: 20px;
        right: 20px;
        bottom: 80px; /* Lifted up above bottom-middle arrows */
        overflow-x: auto;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .team-nav-arrow {
        bottom: 16px; /* Aligned correctly at the bottom-middle */
    }
}

@media (max-width: 575px) {
    .team-main-display {
        padding: 30px 20px 240px;
    }

    .team-image-column {
        height: 280px; /* Crispy and large on mobile */
    }

    #team-display-name {
        font-size: 34px;
    }
    
    #team-display-role {
        font-size: 15px;
    }
    
    #team-display-bio {
        font-size: 13.5px;
    }
    
    .team-nav-arrow {
        width: 40px;
        height: 40px;
        border-width: 2.5px;
        bottom: 16px;
    }
    
    .team-nav-arrow.prev {
        left: calc(50% - 50px);
    }
    
    .team-nav-arrow.next {
        left: calc(50% + 10px);
    }
}

/* Alignment of final odd card in a 4-column layout */
@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .about-hero-title {
        font-size: 42px;
    }
    .sub-hero-text {
        font-size: 32px;
    }
    .pillar-row {
        gap: 40px;
        margin-bottom: 60px;
    }
    .pillar-title {
        font-size: 32px;
    }
    .pillar-mascot-container {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .about-hero-title {
        font-size: 34px;
        letter-spacing: -0.5px;
    }
    .avatar-pile {
        justify-content: center;
    }
    .sub-hero-banner {
        padding: 40px 16px;
    }
    .sub-hero-text {
        font-size: 24px;
    }
    .pillar-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
    }
    .pillar-row.alternating {
        direction: ltr;
    }
    .pillar-title {
        font-size: 28px;
    }
    .pillar-mascot-container {
        height: 260px;
    }
    .team-title {
        font-size: 32px;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Pillar Mascot Image Styling & Floating Micro-Animations */
.pillar-mascot-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(6px 6px 0px rgba(0, 0, 0, 0.12));
    animation: float-gentle 6s ease-in-out infinite;
}

.pillar-mascot-container:hover .pillar-mascot-image {
    transform: scale(1.08) translateY(-6px) rotate(2deg);
    filter: drop-shadow(10px 14px 0px rgba(0, 0, 0, 0.16));
}

.pillar-mascot-image.image-learning {
    animation-delay: 0s;
}

.pillar-mascot-image.image-booking {
    animation-delay: 1.8s;
}

.pillar-mascot-image.image-rewards {
    animation-delay: 3.6s;
}

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

/* About Hero Illustration Styling */
.about-hero-illustration-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

/* Down Scroll Arrow Badge */
.about-hero-scroll-arrow {
    position: absolute;
    bottom: 42px;
    left: 47.5%;
    width: 145px;
    height: 145px;
    z-index: 6;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-hero-scroll-arrow:hover {
    transform: translateY(4px) scale(1.08);
}

@media (max-width: 1200px) {
    .about-hero-scroll-arrow {
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        bottom: 24px;
    }
}

@media (max-width: 768px) {
    .about-hero-scroll-arrow {
        display: none;
    }
}

/* ==========================================================================
   CENTERED HERO
   ========================================================================== */

/* Centered About Us Hero Section */
.centered-about-hero {
    min-height: 580px !important;
    padding: 180px 0 80px 0 !important; /* more top padding to clear the floating capsule */
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.centered-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.centered-title {
    text-align: center !important;
    font-size: 56px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    max-width: 800px;
    margin: 0 auto;
}

/* Overlapping Avatars Pill - Perfectly Centered */
.centered-pile {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 24px;
}

.centered-pile .avatar-pile-item {
    width: 44px;
    height: 44px;
    border: 2.5px solid #ffffff;
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.centered-pile .avatar-pile-item:first-child {
    margin-left: 0;
}

/* Blended Master Badges inside Dark CTA Card */
.download-cta-card .master-badges-container {
    margin-top: 40px;
    margin-bottom: 40px;
}
.download-cta-card .master-badge-item {
    background: rgba(255, 255, 255, 0.05) !important; /* Semi-transparent background as it was before */
    border: 2px solid #000000 !important; /* Only give the border black in color */
    box-shadow: 0 4px 0 #000000 !important; /* Bold black tactile shadow */
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.download-cta-card .master-badge-item:hover {
    background: rgba(255, 255, 255, 0.12) !important; /* Slightly lighter background on hover */
    border-color: #000000 !important; /* Maintain solid black border */
    box-shadow: 0 6px 0 #000000 !important; /* Slightly deeper black shadow on hover */
    transform: translateY(-2px) !important;
}
.download-cta-card .master-badge-text {
    color: #FFFFFF !important;
}
.download-cta-card .master-badge-icon {
    color: #9D99FF !important; /* Soft lavender accent pop as it was before */
}

/* CTA Inner Wrapper to sit above the wave stripes */
.download-cta-card-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ensure waves are completely background layered inside CTA */
/* Premium Dotted Paper Background Pattern */
.dotted-paper-bg {
    background-color: #FFFFFF !important;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px) !important;
    background-size: 24px 24px !important;
    position: relative;
}

/* Duolingo Inspired Dynamic Joining Wave transition styling */
.cta-duo-wave-container {
    width: 100%;
    height: 120px;
    background-color: #FFFFFF;
    background-image: radial-gradient(#E1E1E1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    margin-bottom: -2px; /* Pulls slightly up to remove subpixel browser white lines/gaps */
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 2;
}

.cta-duo-wave {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.download-cta-section {
    position: relative;
    background-color: transparent !important;
    overflow: hidden;
}

.download-cta-card {
    background-color: #5F5AF6 !important;
    color: var(--surface-white);
    border-radius: 0;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: none !important;
    z-index: 2;
}

/* ==========================================================================
   STORYTELLING JOURNEY SECTION (RESTRAINED, EMOTIONAL NOTEBOOK FLOW)
   ========================================================================== */
.storytelling-journey-section {
    /* Background handled dynamically by .dotted-paper-bg utility */
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    border-bottom: none !important; /* Removed section border line for seamless single-page flow */
}

.journey-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* SVG Path Overlay */
.journey-svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.journey-path-base {
    stroke: #E6E2D8;
    stroke-width: 3px;
    fill: none;
}

.journey-path-fill {
    stroke: #5a5ff6; /* Custom brand purple progress path */
    stroke-width: 4px;
    fill: none;
}

/* Traveler Marker (Cute Brand Worm Character) */
.journey-marker {
    position: absolute;
    width: 60px !important;
    height: 20px !important;
    margin-left: -30px !important;
    margin-top: -10px !important;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.05s linear !important; /* Extremely smooth linear tracking */
}

/* Worm Body animation settings */
.worm-body {
    transform-origin: 45px 10px !important; /* Anchored at head (x=45, y=10) so the body wiggles behind it */
    transition: transform 0.1s ease-out !important;
}

/* Wiggle/Inching animation active ONLY during scroll events */
.journey-marker.worm-scrolling .worm-body {
    animation: wormInching 0.4s infinite ease-in-out !important;
}

@keyframes wormInching {
    0% {
        transform: scaleX(1) scaleY(1);
    }
    50% {
        transform: scaleX(0.68) scaleY(1.3); /* Segment compression / inching curl up */
    }
    100% {
        transform: scaleX(1) scaleY(1); /* Return to full length */
    }
}

/* Milestones Container */
.journey-milestones {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.story-milestone {
    position: relative;
    display: flex;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-milestone.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating align relative to center line of 1100px container */
.milestone-left {
    justify-content: flex-start;
    padding-left: calc(50% - 420px);
}

.milestone-right {
    justify-content: flex-end;
    padding-right: calc(50% - 420px);
}

.milestone-center {
    justify-content: center;
}

/* Milestone Card is the relative base for badge and anchor */
.milestone-card {
    width: 380px;
    background: #FFFFFF;
    border: 4px solid #272727;
    border-radius: 24px;
    padding: 32px;
    box-shadow: none;
    position: relative;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.milestone-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 8px 0 #272727 !important;
}

/* Card inner content transition setup: starts faded out and slides up */
.milestone-card > * {
    opacity: 0.15;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Exempt non-visual utility anchors */
.milestone-card .milestone-anchor {
    opacity: 1 !important;
    transform: none !important;
}

/* When card is in middle focus zone: content fades in perfectly */
.story-milestone.milestone-active .milestone-card > * {
    opacity: 1;
    transform: translateY(0);
}

/* Highlight card wrapper itself on middle focus */
.story-milestone.milestone-active .milestone-card {
    border-color: #5a5ff6 !important; /* Brand main color accent */
    transform: scale(1.03); /* Premium micro-scale focus swell */
    box-shadow: 0 12px 36px rgb(90 95 246 / 0.15) !important;
}

/* Badges positioned exactly in the center gap between left and right cards */
.milestone-badge {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #5a5ff6; /* Brand purple accent */
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    border: 3px solid #272727;
    box-shadow: none;
    z-index: 5;
    top: 40px;
    opacity: 0.35;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.story-milestone.milestone-active .milestone-badge {
    opacity: 1;
    background: #E87257 !important; /* Shines in premium Coral brand color when active! */
    color: #000000 !important;
}

.milestone-left .milestone-badge {
    right: -58px;
    transform-origin: center;
}

.milestone-left.milestone-active .milestone-badge {
    transform: scale(1.15);
}

.milestone-right .milestone-badge {
    left: -58px;
    transform-origin: center;
}

.milestone-right.milestone-active .milestone-badge {
    transform: scale(1.15);
}

.milestone-center .milestone-badge {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #5a5ff6; /* Brand purple accent */
    transform-origin: center;
}

.milestone-center.milestone-active .milestone-badge {
    transform: translateX(-50%) scale(1.15);
}

/* Precise path target anchors relative to card center badge */
.milestone-anchor {
    position: absolute;
    width: 1px;
    height: 1px;
    background: transparent;
    pointer-events: none;
    top: 58px; /* Centered vertically relative to the badge */
}

.milestone-left .milestone-anchor {
    right: -40px; /* Centered inside right badge */
}

.milestone-right .milestone-anchor {
    left: -40px; /* Centered inside left badge */
}

.milestone-center .milestone-anchor {
    left: 50%;
    top: 0;
}

/* Milestone Typography */
.milestone-heading {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 21px;
    color: #1A2E2B;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.milestone-caption {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    line-height: 1.35;
    color: #4A5854;
    margin: 0;
    font-weight: 500;
}

/* Illustrations container */
.milestone-illustration {
    width: 100%;
    height: 130px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestone-illustration svg {
    max-width: 100%;
    max-height: 100%;
}

/* Milestone 5: Turning Point */
.milestone-turning-point .milestone-card {
    width: 520px;
    border: 2px solid #D97706; /* Amber highlight */
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.04);
    background: #FFFDF9;
    padding: 40px;
}

.milestone-turning-point .milestone-badge {
    width: 40px;
    height: 40px;
    font-size: 15px;
}

/* Milestone 8: Destination */
.milestone-destination .milestone-card {
    width: 580px;
    border: 2px solid #D9381E; /* Notebook red highlight */
    box-shadow: 0 12px 40px rgba(217, 56, 30, 0.07);
    background: #FFFDFD;
    text-align: center;
    padding: 48px;
}

.milestone-destination .milestone-badge {
    width: 44px;
    height: 44px;
    background: #D9381E;
}

.destination-cta-block {
    margin-top: 32px;
}

.journey-cta-btn {
    display: inline-block;
    background-color: #D9381E;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(217, 56, 30, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journey-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(217, 56, 30, 0.25);
}

/* Prefers Reduced Motion override */
@media (prefers-reduced-motion: reduce) {
    .journey-path-fill {
        stroke-dashoffset: 0 !important;
    }
    .story-milestone {
        opacity: 1 !important;
        transform: none !important;
    }
    .journey-marker {
        display: none !important;
    }
    .milestone-card > *,
    .milestone-badge,
    .story-milestone.milestone-active .milestone-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile responsive constraints */
@media (max-width: 768px) {
    .storytelling-journey-section {
        padding: 80px 0;
    }
    .notebook-margin-line {
        left: 20px;
    }
    .journey-milestones {
        gap: 60px;
    }
    .story-milestone {
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .milestone-card {
        width: 100% !important;
        max-width: 380px;
    }
    .milestone-badge {
        top: -16px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        opacity: 1 !important;
    }
    .milestone-card > * {
        opacity: 1 !important;
        transform: none !important;
    }
    .milestone-left .milestone-anchor,
    .milestone-right .milestone-anchor {
        left: 50% !important;
        right: auto !important;
        top: 0 !important;
    }
}

/* ==========================================
   DESKTOP LEFT VERTICAL SIDE NAVIGATION REDESIGN
   ========================================== */
@media (min-width: 769px) {
    /* ----------------------------------------------------
       GLOBAL DEFAULT DESKTOP STATE: Sticky Horizontal Top Navbar 
       (Applies to all pages other than Home, and Home when scrolled)
       ---------------------------------------------------- */
    body {
        padding-left: 0 !important; /* No left vertical shift globally */
        padding-top: 0 !important; /* All pages start at 0 top padding for transparent overlay headers */
        box-sizing: border-box !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    header, .header-transparent {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 80px !important; /* Horizontal header height */
        background-color: #5F5AF6 !important; /* Solid brand background */
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important; /* Standard bottom border */
        border-right: none !important;
        display: flex !important;
        flex-direction: row !important; /* Row layout */
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 40px !important;
        z-index: 2000 !important;
        backdrop-filter: blur(12px) !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        box-sizing: border-box !important;
        transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
    }

    .nav-container {
        display: flex !important;
        flex-direction: row !important; /* Horizontal flow */
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        gap: 0 !important;
        box-sizing: border-box !important;
        transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
    }

    /* Logo in horizontal top navbar */
    .logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 0 !important;
        text-decoration: none !important;
        pointer-events: auto !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .logo span {
        display: inline-block !important; /* Keep inline-block so it transitions smoothly */
        max-width: 300px !important;
        opacity: 1 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        color: var(--surface-white) !important;
        font-family: 'Google Sans Flex', sans-serif !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        letter-spacing: -0.2px !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .logo .logo-img {
        width: 46px !important; /* Smaller logo in top header */
        height: 46px !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        border-top: 1.5px solid #000000 !important;
        border-left: 1.5px solid #000000 !important;
        border-right: 1.5px solid #000000 !important;
        border-bottom: 4.5px solid #000000 !important;
        border-style: solid !important;
        padding: 8px !important; /* Increased from 6px to completely eliminate edge clipping */
        box-sizing: border-box !important;
        object-fit: contain !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .logo:hover .logo-img {
        transform: scale(1.08) rotate(5deg) !important;
    }

    /* Horizontal menu links */
    .nav-links {
        display: flex !important;
        flex-direction: row !important; /* Row flow */
        align-items: center !important;
        justify-content: center !important;
        gap: 32px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nav-links li {
        width: auto !important;
        text-align: center !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nav-links a {
        font-family: 'Poppins', 'Outfit', sans-serif !important;
        font-size: 15px !important; /* Standard desktop size */
        font-weight: 600 !important;
        color: rgb(255 255 255 / 0.8) !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
        display: inline-block !important;
        position: relative !important;
        padding: 4px 0 !important;
    }

    .nav-links a:hover {
        color: #eb6c50 !important; /* Button Coral Red color on hover */
        transform: none !important;
    }

    .nav-links a.active {
        color: #eb6c50 !important; /* Button Coral Red color for selected page */
    }

    /* Horizontal hover underline */
    .nav-links a::after {
        display: block !important;
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #eb6c50 !important; /* Button Coral Red color */
        transition: all 0.25s ease;
        transform: translateX(-50%);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 100%;
    }

    /* Actions in top bar layout */
    .nav-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Tactile Neobrutalist Signup Button (Horizontal bar version) */
    .btn-signup-desktop {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        background-color: #eb6c50 !important; /* Coral red */
        color: #ffffff !important;
        text-decoration: none !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 10px 24px !important;
        border-radius: 18px !important;
        border-top: 1.5px solid #1a1a1a !important;
        border-left: 2px solid #1a1a1a !important;
        border-right: 2px solid #1a1a1a !important;
        border-bottom: 4.5px solid #1a1a1a !important;
        border-style: solid !important;
        box-shadow: 3px 3px 0px #1a1a1a !important; /* Tactile drop shadow */
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        cursor: pointer !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    .btn-signup-desktop svg {
        width: 18px !important;
        height: 18px !important;
        stroke: #ffffff !important;
        transition: transform 0.2s ease !important;
    }

    .btn-signup-desktop:hover {
        transform: translate(-1px, -1px) !important;
        box-shadow: 4.5px 4.5px 0px #1a1a1a !important;
        background-color: #f17c62 !important;
    }

    .btn-signup-desktop:hover svg {
        transform: translateX(2.5px) !important;
    }

    .btn-signup-desktop:active {
        transform: translate(1px, 1px) !important;
        box-shadow: 1.5px 1.5px 0px #1a1a1a !important;
    }


    /* ----------------------------------------------------
       BESPOKE SPECIFIC STATE: Transparent Horizontal Top Navbar on All Public Pages (Unscrolled)
       (Only active when .scrolled-nav is NOT present and page is NOT onboarding)
       ---------------------------------------------------- */
    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) {
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) header, 
    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .header-transparent {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 80px !important;
        background-color: transparent !important; /* Transparent background */
        border-bottom: none !important;
        border-right: none !important;
        display: flex !important;
        flex-direction: row !important; /* Row layout */
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 40px !important;
        z-index: 2000 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .nav-container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        gap: 0 !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .logo {
        flex-direction: row !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .logo span {
        display: inline-block !important;
        max-width: 300px !important;
        opacity: 1 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .logo .logo-img {
        width: 46px !important;
        height: 46px !important;
        padding: 8px !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .nav-links {
        flex-direction: row !important;
        align-items: center !important;
        gap: 32px !important;
        width: auto !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .nav-links li {
        width: auto !important;
        text-align: center !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .nav-links a {
        font-size: 15px !important;
        color: rgb(255 255 255 / 0.8) !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .nav-actions {
        flex-direction: row !important;
        align-items: center !important;
        width: auto !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body:not(.scrolled-nav):not(.body-page-onboarding):not(.body-page-solid-header) .btn-signup-desktop {
        font-size: 15px !important;
        padding: 10px 24px !important;
        border-radius: 18px !important;
        width: auto !important;
    }
}

/* ==========================================================================
   INTERACTIVE ONBOARDING & SIGNUP FLOW STYLING (NEOBRUTALIST THEME)
   ========================================================================== */

/* Centered Signup Header */
header.signup-header-centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 999;
    pointer-events: none;
}

header.signup-header-centered .logo-centered {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 50px;
    padding: 8px 24px;
    box-shadow: 4px 4px 0 #000000;
    transform: translateY(12px);
    transition: all 0.2s ease;
}

header.signup-header-centered .logo-centered:hover {
    transform: translateY(10px);
    box-shadow: 6px 6px 0 #000000;
}

.onboarding-section {
    background-color: #F9F6F0;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.onboarding-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

/* LEFT COLUMN: Sidebar Brand Values Presentation */
.onboarding-sidebar {
    width: 38%;
    background-color: #5F5AF6;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 110px 40px 40px 40px;
    box-sizing: border-box;
    position: relative;
    border-right: 4px solid #1a1a1a;
    overflow: hidden;
}

.sidebar-carousel-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100%;
}

.carousel-slide {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: flex-start;
    transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
}

.carousel-slide.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.carousel-illustration {
    width: 100%;
    height: 240px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.illustration-logo {
    position: absolute;
    top: -20px;
    left: 0;
}

.illustration-logo img {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    padding: 6px;
    box-shadow: 3px 3px 0px #1a1a1a;
}

.illustration-graphic-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Animations */
.mascot-badge {
    position: absolute;
    top: 30px;
    left: 10px;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 3px 3px 0px #eb6c50;
    animation: floatMascot 4s ease-in-out infinite;
}

@keyframes floatMascot {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.time-tracker-badge {
    position: absolute;
    bottom: 30px;
    right: 10px;
    background-color: #eb6c50;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 2.5px solid #1a1a1a;
    box-shadow: 3px 3px 0px #1a1a1a;
    animation: floatTracker 3.5s ease-in-out infinite;
}

@keyframes floatTracker {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

.mitra-badge {
    background-color: #34D399;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 2.5px solid #1a1a1a;
    box-shadow: 3px 3px 0px #1a1a1a;
    animation: floatMascot 4.5s ease-in-out infinite;
}

/* Graphic: Map Placeholders */
.map-animation-placeholder {
    width: 200px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2.5px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulseRingAnimation 3s infinite linear;
}

.ring-1 { width: 40px; height: 40px; }
.ring-2 { width: 100px; height: 100px; animation-delay: 1.5s; }

@keyframes pulseRingAnimation {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.map-marker {
    position: absolute;
    font-size: 20px;
}

.marker-delhi { top: 20%; left: 30%; }
.marker-mumbai { top: 60%; left: 15%; }
.marker-bangalore { top: 70%; left: 60%; }

/* Graphic: Calendar floating card */
.calendar-floating-card {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 2.5px solid #1a1a1a;
    border-radius: 14px;
    width: 80px;
    overflow: hidden;
    box-shadow: 4px 4px 0px #1a1a1a;
    position: absolute;
    top: 30px;
    left: 40px;
}

.calendar-floating-card.offset {
    top: 80px;
    left: 140px;
}

.cal-header {
    background-color: #5F5AF6;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px;
    text-align: center;
}

.cal-header.sst { background-color: #eb6c50; }

.cal-body {
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

/* Graphic: Quiz card */
.quiz-card-sample {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 2.5px solid #1a1a1a;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 4px 4px 0px #1a1a1a;
    width: 220px;
    margin-right: 20px;
}

.quiz-q {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quiz-opt {
    border: 1.5px solid #e2e2e2;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.quiz-opt.correct {
    border-color: #34D399;
    background-color: rgba(52, 211, 153, 0.1);
    color: #059669;
}

/* Sidebar Carousel Dot Indicators */
.carousel-indicators {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.indicator-dot {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.indicator-dot.active {
    background-color: #ffffff;
    width: 40px;
}

.carousel-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.carousel-desc {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}


/* RIGHT COLUMN: Interactive Form Container */
.onboarding-form-column {
    width: 62%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Individual Onboarding wizard cards */
.onboarding-card {
    display: none;
    opacity: 0;
    width: 100%;
    max-width: 540px;
    background-color: #ffffff;
    border: 4px solid #1a1a1a;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 8px 8px 0px #1a1a1a;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(15px);
}

.onboarding-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.card-header-wizard {
    margin-bottom: 30px;
}

.wizard-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 34px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.wizard-subtitle {
    color: #666666;
    font-size: 15px;
    line-height: 1.45;
}

.wizard-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wizard-bodyScrollable {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 10px;
}

/* Custom Styled Input Groups */
.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-row-new {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-group-new label {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
}

.form-control-new {
    background-color: #F9F6F0;
    border: 3.5px solid #1a1a1a;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.2s ease;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
}

.form-control-new:focus {
    background-color: #ffffff;
    box-shadow: 4px 4px 0px #5F5AF6;
    transform: translate(-2px, -2px);
}

/* Neobrutalist Action Buttons */
.btn-wizard-action {
    background-color: #5F5AF6;
    color: #ffffff;
    border: 3.5px solid #1a1a1a;
    border-radius: 14px;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 4px 4px 0px #1a1a1a;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
}

.btn-wizard-action:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #1a1a1a;
    background-color: #4b44ec;
}

.btn-wizard-action:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #1a1a1a;
}

/* Google & Phone Social Logins */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 3.5px solid #1a1a1a;
    border-radius: 14px;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 4px 4px 0px #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-social img, .btn-social svg {
    width: 22px;
    height: 22px;
}

.btn-social:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 5.5px 5.5px 0px #1a1a1a;
    background-color: #F9F6F0;
}

.btn-phone {
    background-color: #eb6c50;
    color: #ffffff;
}

.btn-phone svg {
    stroke: #ffffff;
}

.btn-phone:hover {
    background-color: #f17c62;
}

/* Login Dividers */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    color: #999999;
    font-size: 13px;
    font-weight: 700;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #eeeeee;
}

.auth-divider span {
    padding: 0 15px;
}

/* Card Footers */
.wizard-footer {
    margin-top: 25px;
    text-align: center;
    color: #666666;
    font-size: 13px;
    font-weight: 600;
}

.link-wizard {
    color: #5F5AF6;
    text-decoration: none;
    font-weight: 700;
}

.link-wizard:hover {
    text-decoration: underline;
}

/* Back navigation Buttons */
.wizard-footer-nav {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

.btn-wizard-nav-back {
    background-color: transparent;
    color: #666666;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 6px 12px;
}

.btn-wizard-nav-back:hover {
    color: #1a1a1a;
}

.wizard-footer-flex-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-wizard-nav-next {
    background-color: #5F5AF6;
    color: #ffffff;
    border: 3.5px solid #1a1a1a;
    border-radius: 12px;
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 3px 3px 0px #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-nav-next:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4.5px 4.5px 0px #1a1a1a;
    background-color: #4b44ec;
}

/* 4-Digit OTP Grid Box */
.otp-box-container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 10px 0 15px 0;
    width: 100%;
}

.otp-digit-input {
    width: 68px;
    height: 72px;
    text-align: center;
    background-color: #F9F6F0;
    border: 3.5px solid #1a1a1a;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.otp-digit-input:focus {
    background-color: #ffffff;
    box-shadow: 4px 4px 0px #eb6c50;
    transform: translate(-2px, -2px);
}

.wizard-footer-resend {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #666666;
    font-weight: 600;
}


/* SELECTION CHIP GRIDS (GRADES / BOARDS) */
.wizard-section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grade-chip-grid, .board-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.grade-chip-card, .board-chip-card {
    background-color: #F9F6F0;
    border: 2.5px solid #1a1a1a;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.grade-chip-card:hover, .board-chip-card:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 2.5px 2.5px 0px #1a1a1a;
}

.grade-chip-card.active, .board-chip-card.active {
    background-color: #5F5AF6;
    color: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 3px 3px 0px #1a1a1a;
    transform: translate(-1.5px, -1.5px);
}


/* SUBJECT CARDS SELECTION GRID */
.subject-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.subject-wizard-card {
    background-color: #F9F6F0;
    border: 3.5px solid #1a1a1a;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.subj-icon {
    font-size: 26px;
}

.subj-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.subj-desc {
    color: #666666;
    font-size: 11px;
    line-height: 1.35;
    margin: 0;
}

.subject-wizard-card:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 4px 4px 0px #1a1a1a;
}

.subject-wizard-card.active {
    background-color: #FEF3C7; /* Beautiful highlight yellow */
    border-color: #1a1a1a;
    box-shadow: 5px 5px 0px #1a1a1a;
    transform: translate(-2px, -2px);
}


/* WEEKLY AVAILABILITY GRID */
.weekday-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.weekday-chip {
    background-color: #F9F6F0;
    border: 2px solid #1a1a1a;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.weekday-chip:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
}

.weekday-chip.active {
    background-color: #eb6c50;
    color: #ffffff;
    box-shadow: 2px 2px 0px #1a1a1a;
    transform: translate(-1px, -1px);
}

.slot-checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.slot-checkbox-card {
    display: flex;
    align-items: center;
    background-color: #F9F6F0;
    border: 2.5px solid #1a1a1a;
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.slot-checkbox-card input[type="checkbox"] {
    margin-right: 16px;
    width: 18px;
    height: 18px;
    accent-color: #5F5AF6;
}

.slot-card-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.slot-icon {
    font-size: 18px;
    margin-right: 12px;
}

.slot-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    flex-grow: 1;
}

.slot-hours {
    color: #666666;
    font-size: 12px;
    font-weight: 600;
}

.slot-checkbox-card:hover {
    background-color: #ffffff;
    box-shadow: 2.5px 2.5px 0px #1a1a1a;
    transform: translateY(-1px);
}


/* HOURLY RATE TIERS & SLIDERS */
.rates-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.rates-preset-card {
    background-color: #F9F6F0;
    border: 2.5px solid #1a1a1a;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.rate-badge {
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.rate-badge-popular {
    background-color: #eb6c50;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1.5px solid #1a1a1a;
    box-shadow: 1.5px 1.5px 0px #1a1a1a;
    position: absolute;
    top: -10px;
}

.rate-badge.master {
    background-color: #5F5AF6;
}

.rate-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.rate-preset-desc {
    color: #666666;
    font-size: 9px;
    line-height: 1.3;
    margin: 0;
}

.rates-preset-card:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 2.5px 2.5px 0px #1a1a1a;
}

.rates-preset-card.active {
    background-color: #FEF3C7;
    border-color: #1a1a1a;
    box-shadow: 3.5px 3.5px 0px #1a1a1a;
    transform: translate(-1.5px, -1.5px);
}

.slider-container-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
}

#sliderLiveValue {
    color: #5F5AF6;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.pricing-slider-new {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #1a1a1a;
    outline: none;
    border: 3.5px solid #1a1a1a;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

.pricing-slider-new::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eb6c50;
    border: 3.5px solid #1a1a1a;
    cursor: pointer;
    box-shadow: 2px 2px 0px #1a1a1a;
    transition: transform 0.1s ease;
}

.pricing-slider-new::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}


/* ABOUT ME: AVATAR DROPZONE */
.aboutme-profile-row {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 8px;
}

.profile-avatar-dropzone {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3.5px dashed #1a1a1a;
    background-color: #F9F6F0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.profile-avatar-dropzone:hover {
    background-color: #ffffff;
    border-color: #5F5AF6;
}

.dropzone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.camera-icon {
    font-size: 20px;
}

.upload-label-txt {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666666;
}

.profile-avatar-instructions h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.profile-avatar-instructions p {
    color: #666666;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}


/* ONBOARDING SUCCESS SCREEN STYLING */
.success-step-body {
    align-items: center;
    text-align: center;
    padding: 20px 0 10px 0;
}

.mascot-completion-badge {
    width: 110px;
    height: 110px;
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3.5px dashed #34D399;
    border-radius: 50%;
    animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mascot-circle-large {
    width: 80px;
    height: 80px;
    background-color: #5F5AF6;
    color: #ffffff;
    border: 3.5px solid #1a1a1a;
    border-radius: 50%;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0px #1a1a1a;
    z-index: 2;
}

.success-headline {
    color: #1a1a1a;
    font-size: 32px;
}

.success-subtitle {
    margin-bottom: 10px;
}

.btn-dashboard-redirect {
    background-color: #34D399;
    color: #1a1a1a;
    box-shadow: 4px 4px 0px #1a1a1a;
}

.btn-dashboard-redirect:hover {
    background-color: #059669;
    color: #ffffff;
}

.confetti-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}


/* ==========================================================================
   ONBOARDING MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 900px) {
    .onboarding-sidebar {
        display: none !important; /* Hide slideshow on tablet and mobile to save room */
    }
    
    .onboarding-form-column {
        width: 100%;
        padding: 40px 20px;
    }
    
    .onboarding-card {
        padding: 30px 24px;
        max-width: 480px;
    }

    .grade-chip-grid, .board-chip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .onboarding-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    
    .wizard-title {
        font-size: 26px;
    }
    
    .otp-digit-input {
        width: 50px;
        height: 56px;
        font-size: 22px;
    }
    
    .rates-preset-grid {
        grid-template-columns: 1fr;
    }
    
    .subject-wizard-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CHATBOT CONVERSATIONAL INTERACTIVE ONBOARDING STYLES
   ========================================================================== */

.chatbot-column {
    width: 62% !important;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: space-between !important;
    background-color: #FAF8F2 !important;
    padding: 80px 0 0 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    border-left: 5px solid #000000;
    box-sizing: border-box !important;
}

/* Chat Header styling */
.chatbot-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background-color: #ffffff;
    border-bottom: 4px solid #000000;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.05);
    z-index: 10;
    gap: 16px;
}

.chatbot-header-logo {
    width: 44px;
    height: 44px;
    border: 3px solid #000000;
    border-radius: 50%;
    background-color: #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chatbot-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chatbot-header-status h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #000000;
}

.chatbot-header-status .status-active {
    margin: 2px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-header-status .status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Chat Messages Feed container */
.chatbot-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #FAF8F2;
    scroll-behavior: smooth;
}

/* Chat Message Row wrapper */
.chat-msg-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 85%;
    animation: bubbleSlideUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

.chat-msg-row.bot {
    align-self: flex-start;
}

.chat-msg-row.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* Avatar bubble styling */
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #000000;
    background-color: #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 2px 2px 0 #000000;
    flex-shrink: 0;
}

/* Chat Bubble bubble styling */
.chat-bubble {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0 #000000;
    border-radius: 20px;
}

.chat-msg-row.bot .chat-bubble {
    background-color: #ffffff;
    color: #000000;
    border-bottom-left-radius: 4px;
}

.chat-msg-row.user .chat-bubble {
    background-color: #5F5AF6;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

/* Animated typing indicators */
.typing-indicator-bubble {
    padding: 12px 20px !important;
    background-color: #ffffff !important;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes bubbleSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chat bottom control container styling */
.chatbot-controls-panel {
    background-color: #ffffff;
    border-top: 4px solid #000000;
    padding: 16px 24px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.03);
}

.chatbot-controls-panel .btn-wizard-action,
.chatbot-controls-panel .btn-send-otp,
.chatbot-controls-panel .btn-wizard-nav-back {
    padding: 12px 24px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
}

.control-step {
    display: none;
    width: 100%;
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    animation: panelFadeIn 0.3s ease-out forwards;
}

.control-step.active {
    display: flex;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Onboarding Nested Scrollable inner panel for steps */
.onboarding-nested-scroll {
    max-height: 240px;
    overflow-y: auto;
    width: 100%;
    padding-right: 8px;
    margin-bottom: 16px;
}

/* Clean Custom Form Inputs */
.form-group-new {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group-new label {
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row-new {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-bottom: 8px;
}

.form-control-new {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 3px 3px 0 #000000;
    transition: all 0.2s ease;
}

.form-control-new:focus {
    outline: none;
    background-color: #FFFDF9;
    box-shadow: 5px 5px 0 #5F5AF6;
    border-color: #5F5AF6;
}

/* Phone validation elements */
.phone-input-group {
    display: flex;
    width: 100%;
    border: 3px solid #000000;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #000000;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #ffffff;
}

.phone-prefix {
    padding: 14px 18px;
    background-color: #F3F4F6;
    border-right: 3px solid #000000;
    font-size: 16px;
    font-weight: 800;
    color: #000000;
}

.phone-field {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 14px !important;
    font-size: 16px !important;
}

.phone-field:focus {
    background-color: #FFFDF9 !important;
}

.btn-send-otp {
    width: 100%;
}

/* OTP Digits styling */
.otp-box-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.otp-digit-input {
    width: 60px;
    height: 64px;
    font-size: 26px;
    font-weight: 900;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 14px;
    box-shadow: 3px 3px 0 #000000;
    transition: all 0.2s ease;
}

.otp-digit-input:focus {
    outline: none;
    box-shadow: 5px 5px 0 #5F5AF6;
    border-color: #5F5AF6;
}

/* Controls Navigation Button Row */
.controls-row {
    display: flex;
    width: 100%;
    gap: 14px;
}

.btn-wizard-nav-back {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
    color: #000000;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 3px 3px 0 #000000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-nav-back:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #000000;
    background-color: #F9FAFB;
}

.btn-wizard-nav-back:active {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 #000000;
}

/* Neobrutalist buttons */
.btn-wizard-action {
    flex: 1;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #5F5AF6;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #000000;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-wizard-action:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000000;
    background-color: #4C47E3;
}

.btn-wizard-action:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 #000000;
}

/* Onboarding Labels */
.control-label {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    text-align: left;
    margin: 16px 0 10px 0;
    width: 100%;
}

.control-label:first-of-type {
    margin-top: 0;
}

/* Interactive Role cards */
.role-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
    margin-bottom: 8px;
}

.role-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 4px 4px 0 #000000;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 #5F5AF6;
    border-color: #5F5AF6;
}

.role-card .role-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.role-card .role-label {
    font-size: 16px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
}

.role-card p {
    font-size: 12px;
    font-weight: 600;
    color: #4B5563;
    line-height: 1.4;
    margin: 0;
}

/* Grade & Board standard single-selection chips styling */
.grade-chip-grid, .board-chip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.grade-chip-card, .board-chip-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.1s ease;
}

.grade-chip-card:hover, .board-chip-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000000;
    background-color: #FAF8F2;
}

.grade-chip-card.active, .board-chip-card.active {
    background-color: #FF7E5F;
    color: #ffffff;
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
}

/* Multiple Selection subjects chips styling */
.subject-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
}

.subject-chip-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.1s ease;
}

.subject-chip-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000000;
    background-color: #FAF8F2;
}

.subject-chip-card.active {
    background-color: #34D399;
    color: #000000;
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
}

/* Subject Search & Autocomplete styling */
.subject-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

.search-field {
    padding-right: 44px !important;
}

/* Autocomplete suggestions dropdown container */
.subject-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 160px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #000000;
    z-index: 999;
}

.dropdown-item-new {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    text-align: left;
    border-bottom: 2px solid #F3F4F6;
    transition: all 0.1s ease;
}

.dropdown-item-new:last-child {
    border-bottom: none;
}

.dropdown-item-new:hover {
    background-color: #FEF3C7;
    padding-left: 20px;
}

/* Active custom selected chips styling container */
.custom-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    min-height: 20px;
}

.custom-subject-chip {
    background-color: #34D399;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 2px 2px 0 #000000;
}

.chip-delete {
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    color: #000000;
    transition: color 0.1s ease;
}

.chip-delete:hover {
    color: #EF4444;
}

/* Availability weekday horizontal chips styling */
.weekday-chips-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    gap: 6px;
}

.weekday-chip {
    flex: 1;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 8px;
    padding: 12px 4px;
    font-size: 12px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.1s ease;
}

.weekday-chip:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000000;
    background-color: #FAF8F2;
}

.weekday-chip.active {
    background-color: #60A5FA;
    color: #ffffff;
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
}

/* Time slots intervals checkbox cards */
.slot-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.slot-checkbox-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.slot-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slot-card-content {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 14px;
    padding: 14px 10px;
    box-shadow: 3px 3px 0 #000000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.15s ease;
}

.slot-checkbox-card:hover .slot-card-content {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000000;
}

.slot-checkbox-card input[type="checkbox"]:checked + .slot-card-content {
    background-color: #FEF3C7;
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
    border-color: #000000;
}

.slot-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.slot-name {
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 2px;
}

.slot-hours {
    font-size: 10px;
    font-weight: 700;
    color: #6B7280;
}

/* Price Presets grid */
.rates-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 18px;
}

.rates-preset-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 14px;
    padding: 14px 8px;
    box-shadow: 3px 3px 0 #000000;
    cursor: pointer;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    transition: all 0.15s ease;
}

.rates-preset-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000000;
}

.rates-preset-card.active {
    background-color: #FFFDF4;
    border-color: #5F5AF6;
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
}

.rate-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: #E5E7EB;
    color: #374151;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #000000;
    margin-bottom: 6px;
}

.rate-badge-popular {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: #FEF3C7;
    color: #92400E;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #000000;
    margin-bottom: 6px;
}

.rate-badge.master {
    background-color: #FEE2E2;
    color: #991B1B;
}

.rate-price {
    font-size: 15px;
    font-weight: 900;
    color: #000000;
}

/* Custom Live Slider styling */
.slider-container-new {
    width: 100%;
    margin-bottom: 18px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 6px;
}

#sliderLiveValue {
    background-color: #5F5AF6;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    border: 2px solid #000000;
}

.pricing-slider-new {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #000000;
    outline: none;
    margin: 8px 0;
}

.pricing-slider-new::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF7E5F;
    border: 3px solid #000000;
    box-shadow: 2px 2px 0 #000000;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.pricing-slider-new::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Profile Avatar Upload styling */
.aboutme-profile-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 14px;
}

.profile-avatar-dropzone {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px dashed #000000;
    background-color: #FAF8F2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.profile-avatar-dropzone:hover {
    background-color: #FEF3C7;
    border-color: #5F5AF6;
    border-style: solid;
}

.dropzone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.upload-label-txt {
    font-size: 9px;
    font-weight: 800;
    color: #4B5563;
    text-transform: uppercase;
}

.profile-avatar-instructions {
    text-align: left;
}

.profile-avatar-instructions h4 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 800;
    color: #000000;
}

.profile-avatar-instructions p {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    line-height: 1.3;
}

/* Confetti decorations wrapper */
.confetti-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.confetti-piece {
    position: absolute;
    opacity: 0.85;
}

/* Success Ceremony panels */
.results-panel-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.success-header-mascot {
    text-align: center;
    margin-bottom: 20px;
}

.mascot-avatar-pulse {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #000000;
    background-color: #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px auto;
    box-shadow: 3px 3px 0 #000000;
    animation: mascotBouncePulse 2s infinite ease-in-out;
}

@keyframes mascotBouncePulse {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.06) translateY(-4px); }
}

.success-header-mascot h2 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 900;
    color: #000000;
}

.success-header-mascot p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
}

/* Neobrutalist Teacher Profile Card */
.neobrutalist-profile-preview-card {
    display: flex;
    width: 100%;
    background-color: #ffffff;
    border: 4px solid #000000;
    border-radius: 20px;
    box-shadow: 6px 6px 0 #000000;
    overflow: hidden;
    margin-bottom: 24px;
    text-align: left;
}

.preview-card-left {
    width: 32%;
    background-color: #FAF8F2;
    border-right: 4px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    text-align: center;
}

.preview-avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #000000;
    box-shadow: 2px 2px 0 #000000;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #E5E7EB;
}

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

.preview-status-badge {
    font-size: 10px;
    font-weight: 800;
    color: #047857;
    background-color: #D1FAE5;
    border: 2px solid #000000;
    border-radius: 4px;
    padding: 2px 6px;
    margin-bottom: 14px;
}

.preview-rate-label {
    font-size: 15px;
    font-weight: 950;
    color: #000000;
    background-color: #FEF3C7;
    border: 2px solid #000000;
    padding: 4px 8px;
    border-radius: 6px;
}

.preview-card-right {
    width: 68%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.preview-name {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 900;
    color: #000000;
}

.preview-location {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 700;
    color: #4B5563;
}

.preview-spec-row {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.preview-spec-row strong {
    font-weight: 800;
}

.preview-subjects-row {
    margin-bottom: 12px;
}

.preview-subjects-row strong {
    font-size: 13px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.chips-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.prev-subject-chip {
    font-size: 11px;
    font-weight: 800;
    background-color: #34D399;
    color: #000000;
    border: 1.5px solid #000000;
    padding: 3px 8px;
    border-radius: 4px;
}

.preview-bio {
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    color: #4B5563;
    line-height: 1.4;
    margin: 0 0 12px 0;
    border-left: 3px solid #FF7E5F;
    padding-left: 8px;
}

.preview-scheduling-flex {
    display: flex;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    color: #4B5563;
}

.btn-results-redirect {
    width: 100% !important;
}

/* Student Suggested matching Tutors list styling */
.suggested-headline {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin: 0 0 12px 0;
    text-align: left;
    width: 100%;
}

.suggested-tutors-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
}

.tutor-match-card {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 4px 4px 0 #000000;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.2s ease;
}

.tutor-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 #5F5AF6;
}

.tutor-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tutor-badge-popular {
    font-size: 8px;
    font-weight: 800;
    background-color: #FEF3C7;
    color: #92400E;
    border: 1.5px solid #000000;
    padding: 2px 5px;
    border-radius: 4px;
}

.tutor-card-rate {
    font-size: 11px;
    font-weight: 900;
    color: #000000;
}

.tutor-match-profile-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.tutor-match-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #000000;
    overflow: hidden;
    background-color: #E5E7EB;
}

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

.tutor-match-meta h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #000000;
}

.tutor-cred {
    margin: 1px 0 0 0;
    font-size: 8px;
    font-weight: 600;
    color: #6B7280;
}

.tutor-rating-row {
    margin-top: 2px;
    font-size: 8px;
    font-weight: 800;
    color: #000000;
}

.tutor-match-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
    flex-grow: 1;
}

.tutor-sub-badge {
    font-size: 8px;
    font-weight: 800;
    background-color: #F3F4F6;
    border: 1px solid #000000;
    padding: 1px 4px;
    border-radius: 4px;
}

.btn-match-booking {
    width: 100%;
    padding: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: #34D399;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #000000;
    cursor: pointer;
    transition: all 0.1s ease;
}

.btn-match-booking:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000000;
}

.btn-match-booking:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000000;
}

/* Conversational chatbot media responsiveness overrides */
@media (max-width: 900px) {
    .chatbot-column {
        width: 100% !important;
        border-left: none;
    }
    .suggested-tutors-horizontal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .chatbot-header {
        padding: 12px;
    }
    .chatbot-messages-container {
        padding: 16px;
    }
    .chatbot-controls-panel {
        padding: 16px;
        min-height: 150px;
    }
    .otp-digit-input {
        width: 44px;
        height: 50px;
        font-size: 20px;
    }
    .slot-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .rates-preset-grid {
        grid-template-columns: 1fr;
    }
    .neobrutalist-profile-preview-card {
        flex-direction: column;
    }
    .preview-card-left {
        width: 100%;
        border-right: none;
        border-bottom: 4px solid #000000;
    }
    .preview-card-right {
        width: 100%;
    }
}


/* ==========================================================================
   UNIVERSAL FLAT-3D NEUMORPHIC BUTTONS SYSTEM (HERO MATCHING)
   ========================================================================== */

/* 1. Primary Action Buttons (matching the premium hero .btn-tonal) */
.btn-primary,
.btn-wizard-action,
.btn-send-otp,
.cta-btn-filled,
.meeting-btn,
.dashboard-btn-edit,
.teacher-portal-cta-btn,
.book-btn,
.checkout-submit-btn,
.wc-reset-quiz-btn,
.btn-signup,
.btn-signup-desktop {
    background-color: #E87257 !important; /* Premium coral color */
    color: #000000 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 16px 36px !important;
    border-top: 0.5px solid #272727 !important;
    border-left: 2px solid #272727 !important;
    border-right: 2px solid #272727 !important;
    border-bottom: 4.5px solid #272727 !important;
    border-style: solid !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Proportional padding specific to desktop signup navbar context */
.btn-signup-desktop {
    padding: 10px 24px !important;
    font-size: 15px !important;
}

.btn-primary:hover,
.btn-wizard-action:hover,
.btn-send-otp:hover,
.cta-btn-filled:hover,
.meeting-btn:hover,
.dashboard-btn-edit:hover,
.teacher-portal-cta-btn:hover,
.book-btn:hover,
.checkout-submit-btn:hover,
.wc-reset-quiz-btn:hover,
.btn-signup:hover,
.btn-signup-desktop:hover {
    transform: translateY(1.5px) !important;
    border-bottom-width: 3px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    background-color: #f2826a !important; /* Lighter coral */
}

.btn-primary:active,
.btn-wizard-action:active,
.btn-send-otp:active,
.cta-btn-filled:active,
.meeting-btn:active,
.dashboard-btn-edit:active,
.teacher-portal-cta-btn:active,
.book-btn:active,
.checkout-submit-btn:active,
.wc-reset-quiz-btn:active,
.btn-signup:active,
.btn-signup-desktop:active {
    transform: translateY(4px) !important;
    border-bottom-width: 0.5px !important;
    box-shadow: none !important;
}

/* 2. Secondary/Outline Action Buttons */
.btn-outline,
.btn-wizard-nav-back,
.back-btn,
.cta-btn-outline {
    background-color: #FFFFFF !important;
    color: #272727 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 16px 36px !important;
    border-top: 0.5px solid #272727 !important;
    border-left: 2px solid #272727 !important;
    border-right: 2px solid #272727 !important;
    border-bottom: 4.5px solid #272727 !important;
    border-style: solid !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.btn-outline:hover,
.btn-wizard-nav-back:hover,
.back-btn:hover,
.cta-btn-outline:hover {
    transform: translateY(1.5px) !important;
    border-bottom-width: 3px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    background-color: rgba(39, 39, 39, 0.05) !important;
    color: #272727 !important;
}

.btn-outline:active,
.btn-wizard-nav-back:active,
.back-btn:active,
.cta-btn-outline:active {
    transform: translateY(4px) !important;
    border-bottom-width: 0.5px !important;
    box-shadow: none !important;
}

/* ==========================================================================
   Figma Redesign: Testimonials Overhaul (3D Cards Stack + Context Block)
   ========================================================================== */

.testimonial-section-new {
    background-color: #FFFFFF !important; /* Matches standard section background */
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 80px !important;
    align-items: center !important;
}

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 64px !important;
    }
}

/* Left Column: Testimonial Stack */
.testimonial-stack-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 440px;
}

/* Card Styling to match the site's standard cards */
.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF !important; /* Clean white card */
    border: 4px solid #272727 !important; /* Playful thick border to match the rest of the cards */
    border-radius: 32px !important; /* Matches .floating-card border-radius */
    padding: 40px !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                z-index 0.6s step-end !important;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
}

.testimonial-card:active {
    cursor: grabbing;
}

/* Physical 3D stacking positioning with custom offsets & shadows */
.testimonial-card.active {
    z-index: 3 !important;
    transform: translate(0, 0) rotate(0deg) scale(1) !important;
    box-shadow: none !important; /* No shadow by default to match other outline cards */
    opacity: 1 !important;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.testimonial-card.active:hover {
    transform: translateY(-6px) rotate(0deg) scale(1) !important;
    box-shadow: 0 8px 0 #272727 !important; /* Same hover shadow as .feature-card */
}

.testimonial-card.stack-1 {
    z-index: 2 !important;
    transform: translate(16px, 16px) rotate(1.5deg) scale(0.98) !important;
    box-shadow: none !important;
    opacity: 0.95 !important;
    pointer-events: none;
}

.testimonial-card.stack-2 {
    z-index: 1 !important;
    transform: translate(32px, 32px) rotate(3deg) scale(0.96) !important;
    box-shadow: none !important;
    opacity: 0.85 !important;
    pointer-events: none;
}

.testimonial-card.hidden-stack {
    z-index: 0 !important;
    transform: translate(40px, 40px) rotate(4deg) scale(0.94) !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* Animation triggers */
.testimonial-card.slide-out-right {
    animation: testimonialSlideOutRight 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.testimonial-card.slide-out-left {
    animation: testimonialSlideOutLeft 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

@keyframes testimonialSlideOutRight {
    0% {
        transform: translate(0, 0) rotate(0deg);
        box-shadow: 0 12px 0 #272727;
        z-index: 3;
    }
    50% {
        transform: translate(120%, 24px) rotate(8deg);
        box-shadow: 0 12px 0 #272727;
        opacity: 0.8;
        z-index: 3;
    }
    100% {
        transform: translate(32px, 32px) rotate(3deg) scale(0.96);
        box-shadow: 0 12px 0 #272727;
        opacity: 0.85;
        z-index: 1;
    }
}

@keyframes testimonialSlideOutLeft {
    0% {
        transform: translate(0, 0) rotate(0deg);
        box-shadow: 0 12px 0 #272727;
        z-index: 3;
    }
    50% {
        transform: translate(-120%, 24px) rotate(-8deg);
        box-shadow: 0 12px 0 #272727;
        opacity: 0.8;
        z-index: 3;
    }
    100% {
        transform: translate(32px, 32px) rotate(3deg) scale(0.96);
        box-shadow: 0 12px 0 #272727;
        opacity: 0.85;
        z-index: 1;
    }
}

/* Card layout details */
.testimonial-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.testimonial-card .card-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #272727;
    text-transform: uppercase;
}

.testimonial-card .brand-logo-svg {
    width: 18px;
    height: 18px;
    color: #5F5AF6; /* Matching homepage primary purple */
}

.testimonial-card .card-text {
    font-size: 16px;
    line-height: 1.65;
    color: #272727;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 28px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: left;
}

.testimonial-card .card-author-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Parent Initials Avatar style to replace image */
.author-initials-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14.5px;
    border: 3px solid #272727 !important; /* Thick borders like rest of the design */
    box-sizing: border-box;
    flex-shrink: 0;
}

.avatar-purple { background-color: #5F5AF6 !important; }
.avatar-coral { background-color: #E87257 !important; color: #000000 !important; }
.avatar-green { background-color: #00AC7C !important; }

.testimonial-card .author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.testimonial-card .author-name {
    font-size: 15px;
    font-weight: 700;
    color: #272727;
    margin: 0;
}

.testimonial-card .author-title {
    font-size: 13px;
    color: #64748B;
    margin: 4px 0 0 0;
}

/* Right Column: Context Block */
.testimonial-context-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.testimonial-context-tag {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #5F5AF6 !important; /* Premium brand purple */
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.testimonial-context-heading {
    font-family: 'Poppins', sans-serif !important;
    font-size: 42px;
    font-weight: 800;
    color: #272727; /* Matching site slate color exactly */
    line-height: 1.2;
    margin: 0 0 24px 0;
    letter-spacing: -0.5px;
}

.testimonial-context-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: #475569; /* Slate-600 */
    margin-bottom: 36px;
    max-width: 500px;
}

/* Pushable Action Nav Buttons exactly matching other buttons in the app */
.testimonial-nav-buttons {
    display: flex;
    gap: 16px;
}

.testimonial-nav-buttons .btn-nav-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    color: #272727 !important;
    border-top: 0.5px solid #272727 !important;
    border-left: 2px solid #272727 !important;
    border-right: 2px solid #272727 !important;
    border-bottom: 4.5px solid #272727 !important;
    border-style: solid !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    outline: none;
}

.testimonial-nav-buttons .btn-nav-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.testimonial-nav-buttons .btn-nav-arrow:hover {
    transform: translateY(1.5px) !important;
    border-bottom-width: 3.0px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    background-color: rgba(39, 39, 39, 0.03) !important;
}

.testimonial-nav-buttons .btn-nav-arrow:active {
    transform: translateY(4.0px) !important;
    border-bottom-width: 0.5px !important;
    box-shadow: none !important;
}

.testimonial-nav-buttons .btn-prev:hover svg {
    transform: translateX(-3px);
}

.testimonial-nav-buttons .btn-next:hover svg {
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 28px !important;
    }
    .testimonial-card .card-text {
        font-size: 14.5px;
    }
    .testimonial-context-heading {
        font-size: 32px;
    }
}

/* Normalizing black strokes to 1.5px per user request */
svg *[stroke="#000"], 
svg *[stroke="#000000"], 
svg *[stroke="black"],
svg *[style*="stroke: #000"],
svg *[style*="stroke:#000"],
svg *[style*="stroke: #000000"],
svg *[style*="stroke:#000000"],
svg *[style*="stroke: black"],
svg *[style*="stroke:black"] {
    stroke-width: 1.5px !important;
}

/* Global Download Overlay Modal - Neo-Brutalist High Fidelity */
.global-download-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    padding: 24px;
}

.global-download-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.global-download-card {
    background: #FFFDF9; /* Elegant warm cream matching site guide */
    border: 4px solid #1E1E1E;
    border-radius: 36px;
    width: 100%;
    max-width: 560px;
    box-shadow: 16px 16px 0px #1E1E1E;
    position: relative;
    box-sizing: border-box;
    padding: 48px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.global-download-overlay.show .global-download-card {
    transform: scale(1) translateY(0);
}

.global-download-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3.5px solid #1E1E1E;
    box-shadow: 3.5px 3.5px 0px #1E1E1E;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 900;
    color: #1E1E1E;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    user-select: none;
    z-index: 10;
}

.global-download-close:hover {
    transform: translateY(1.5px) translateX(1.5px);
    box-shadow: 2px 2px 0px #1E1E1E;
}

.global-download-close:active {
    transform: translateY(3.5px) translateX(3.5px);
    box-shadow: none;
}

.global-download-content {
    flex-grow: 1;
    text-align: center;
}

.global-download-badge {
    display: inline-block;
    background: #E8F7F3;
    color: #00AC7C !important;
    border: 2px solid #1E1E1E;
    box-shadow: 2px 2px 0px #1E1E1E;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.global-download-content h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 32px;
    font-weight: 900;
    color: #1E1E1E;
    margin: 0 0 14px 0;
    line-height: 1.15;
}

.global-download-content p {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 32px 0;
}

.global-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Store Buttons Neo-Brutalist Pushable Style */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 16px;
    border: 3.5px solid #1E1E1E;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    cursor: pointer;
}

.btn-playstore {
    background: #FFDE4D !important; /* Playful bright yellow matching design system */
    color: #1E1E1E !important;
    box-shadow: 4px 4px 0px #1E1E1E;
}

.btn-appstore {
    background: #FFFFFF !important; /* Clean premium white */
    color: #1E1E1E !important;
    box-shadow: 4px 4px 0px #1E1E1E;
}

.btn-store:hover {
    transform: translateY(1.5px) translateX(1.5px);
    box-shadow: 2.5px 2.5px 0px #1E1E1E;
}

.btn-store:active {
    transform: translateY(4px) translateX(4px);
    box-shadow: none;
}

.btn-store svg {
    flex-shrink: 0;
}

.store-btn-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-lbl {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
    line-height: 1;
}

.store-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2px;
}

/* Responsive Customizations */
@media (max-width: 640px) {
    .global-download-card {
        padding: 40px 24px;
    }
    .global-download-content h2 {
        font-size: 28px;
    }
}

/* Free Trial Booking Section - Premium Neo-Brutalist */
.free-trial-section {
    padding: 80px 24px;
    background: transparent; /* Allows dotted-paper-bg pattern to show seamlessly */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.free-trial-container {
    width: 100%;
    max-width: 800px;
}

.free-trial-card {
    background: #FFFFFF;
    border: 4px solid #272727; /* Matched exactly to standard platform cards */
    border-radius: 32px;
    box-shadow: none; /* No shadow by default, matching other cards on the homescreen */
    box-sizing: border-box;
    padding: 48px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.free-trial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 0 #272727; /* Matches standard homescreen card hover state */
}

.free-trial-header {
    margin-bottom: 36px;
}

.free-trial-badge {
    display: inline-block;
    background: #FFE8E8;
    color: #E04236 !important;
    border: 2px solid #272727; /* Matched standard borders */
    box-shadow: 2px 2px 0px #272727;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.free-trial-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px;
    font-weight: 900;
    color: #1E1E1E;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.free-trial-desc {
    font-size: 16px;
    color: #5F5AF6;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

/* Form Styles */
.free-trial-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 800;
    color: #1E1E1E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1E1E1E;
    background: #FFFDF9;
    border: 3.5px solid #272727; /* standard 3.5px brand line thickness matching standard cards */
    border-radius: 16px;
    outline: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
    font-family: inherit;
}

/* Custom shadow effects on focus */
.form-group input:focus, 
.form-group select:focus {
    transform: translateY(-2.5px) translateX(-2.5px);
    box-shadow: 5px 5px 0px #272727;
    border-color: #5F5AF6;
    background: #FFFFFF;
}

/* Customized Select dropdown styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper::after {
    content: "▾"; /* Bold chunky caret matching style system */
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 900;
    color: #272727;
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

.form-group select option {
    background: #FFFDF9;
    color: #1E1E1E;
    font-weight: 700;
    cursor: pointer;
}

/* Button style aligned with standard homescreen primary CTA (.btn-primary) */
.btn-trial-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 16px 36px;
    background-color: #E87257 !important; /* Premium brand coral exactly matching the homescreen button */
    color: #000000 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-top: 0.5px solid #272727;
    border-left: 2px solid #272727;
    border-right: 2px solid #272727;
    border-bottom: 4.5px solid #272727;
    border-style: solid;
    border-radius: 16px; /* Matches standard homescreen buttons exactly */
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.btn-trial-submit:hover {
    transform: translateY(1.5px);
    border-bottom-width: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: #f2826a !important; /* Lighter coral matching standard primary button hover */
}

.btn-trial-submit:active {
    transform: translateY(4px);
    border-bottom-width: 0.5px;
    box-shadow: none;
}

/* Success State Styles */
.free-trial-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #E8F7F3;
    border: 3px solid #1E1E1E;
    box-shadow: 4px 4px 0px #1E1E1E;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.free-trial-success h3 {
    font-size: 28px;
    font-weight: 900;
    color: #1E1E1E;
    margin: 0 0 12px 0;
}

.free-trial-success p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    max-width: 520px;
    margin: 0 0 32px 0;
}

.btn-success-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: #FFFFFF !important;
    color: #1E1E1E !important;
    border: 3.5px solid #1E1E1E;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 4px 4px 0px #1E1E1E;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-success-reset:hover {
    transform: translateY(1px) translateX(1px);
    box-shadow: 3px 3px 0px #1E1E1E;
}

.btn-success-reset:active {
    transform: translateY(4px) translateX(4px);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .free-trial-card {
        padding: 32px 20px;
    }
    .free-trial-title {
        font-size: 28px;
    }
}

/* Global Free Trial Overlay Modal - Neo-Brutalist High Fidelity */
.global-free-trial-card {
    background: #FFFFFF !important;
    border: 4px solid #272727 !important;
    border-radius: 32px !important;
    box-shadow: 0 12px 0px #272727 !important; /* Flat-3D shadow matching platform cards */
}

.btn-premium-trial {
    background-color: #E87257 !important; /* Coral color of homepage buttons */
    color: #000000 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important; /* Normal casing matching homepage buttons */
    letter-spacing: normal !important;
    padding: 16px 36px !important;
    border-top: 0.5px solid #272727 !important;
    border-left: 2px solid #272727 !important;
    border-right: 2px solid #272727 !important;
    border-bottom: 4.5px solid #272727 !important;
    border-style: solid !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease, box-shadow 0.1s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important; /* Inline centered, not full-width */
    box-sizing: border-box !important;
    cursor: pointer;
    user-select: none;
    margin-top: 12px;
}

.btn-premium-trial:hover {
    transform: translateY(1.5px) !important;
    border-bottom-width: 3px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.btn-premium-trial:active {
    transform: translateY(4px) !important;
    border-bottom-width: 0.5px !important;
    box-shadow: none !important;
}

.free-trial-promo-badge {
    background: #FFF0F0 !important;
    color: #E04236 !important; /* Exact red of standard badges */
    border: 2px solid #272727 !important;
    box-shadow: 2px 2px 0px #272727 !important;
}
