﻿/* =========================================================
PROJECT: Walanda platform
FILE: become-instructor.css
PATH: /src/modules/platform/css/become-instructor.css
MODULE: platform
SCOPE: styling (global / component / page)
PURPOSE: become-instructor page styles
AUTHOR: Simasiku Nasilele
STANDARD: Walanda pro ui system
VERSION: 1.0.0
LAST UPDATED: 2026
========================================================= */

/* ================================
                GLOBAL / VARIABLES
                ================================ */


        /* =========================================================
                ROOT VARIABLES (DESIGN TOKENS)
                ========================================================= */

        :root {
            /* BRAND */
            --primary: #1FA78A;
            --primary-hover: #168f77;
            /* BACKGROUND */
            --background: #F4F7F8;
            --card: #FFFFFF;
            /* TEXT */
            --text-dark: #2D3A3A;
            --muted: #6B7C7C;
            /* BORDER */
            --border: #E6ECEC;
            /* SHADOW */
            --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
            --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
            /* RADIUS */
            --radius-sm: 6px;
            --radius-md: 10px;
            /* SPACING SYSTEM */
            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 16px;
            --space-lg: 32px;
            --space-xl: 56px;
        }

        /* =========================================================
                BASE BODY
                ========================================================= */

        body {
            font-family: "Inter","Segoe UI",sans-serif;
            background: var(--background);
            color: var(--text-dark);
            -webkit-font-smoothing: antialiased;
        }


        /* =========================================================
                FORM FOUNDATION (GLOBAL)
                ========================================================= */

        input,
        textarea,
        select {
            width: 100%;
            padding: 12px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            font-size: 14px;
        }

            input:focus,
            textarea:focus,
            select:focus {
                border-color: var(--primary);
                outline: none;
            }

        /* =========================================================
                SPACING UTILITIES
                ========================================================= */

        .mt-sm {
            margin-top: var(--space-sm);
        }

        .mt-md {
            margin-top: var(--space-md);
        }

        .mt-lg {
            margin-top: var(--space-lg);
        }

        .mb-sm {
            margin-bottom: var(--space-sm);
        }

        .mb-md {
            margin-bottom: var(--space-md);
        }

        .mb-lg {
            margin-bottom: var(--space-lg);
        }

        /* =========================================================
                SCROLL BEHAVIOR
                ========================================================= */

        html {
            scroll-behavior: smooth;
        }



        /* =========================================================
                NAVBAR BASE
                ========================================================= */

        .topnav {
            position: sticky;
            top: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 60px;
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            z-index: 1000;
        }

        /* =========================================================
                LOGO
                ========================================================= */

        .logo img {
            height: 50px;
        }


        /* =========================================================
                NAV LINKS
                ========================================================= */

        #nav-menu {
            display: flex;
            align-items: center;
        }

            #nav-menu a {
                margin: 0 15px;
                text-decoration: none;
                color: var(--text-dark); /* FIXED */
                font-size: 14px;
                transition: 0.2s;
            }

                #nav-menu a:hover {
                    color: var(--primary);
                }


            /* =========================================================
                    AUTH BUTTONS
                    ========================================================= */

            #nav-menu .login {
                background: var(--primary);
                color: white;
                padding: 8px 18px;
                border-radius: var(--radius-sm);
            }

                #nav-menu .login:hover {
                    background: var(--primary-hover);
                }

            #nav-menu .register {
                margin-left: 10px;
                border: 1px solid var(--border);
                padding: 8px 18px;
                border-radius: var(--radius-sm);
            }

                #nav-menu .register:hover {
                    background: var(--primary);
                    color: white;
                }


        /* =========================================================
                    MOBILE MENU
                    ========================================================= */

        .menu-toggle {
            display: none;
            font-size: 26px;
            cursor: pointer;
        }


        /* =========================================================
                RESPONSIVE
                ========================================================= */

        @media (max-width: 900px) {

            .topnav {
                padding: 15px 30px;
            }

            #nav-menu {
                position: absolute;
                top: 80px;
                right: 0;
                background: white;
                flex-direction: column;
                display: none;
                padding: 25px;
                box-shadow: 0 10px 25px rgba(0,0,0,0.1);
                width: 260px;
                border-radius: 8px;
            }

                #nav-menu a {
                    display: block;
                    margin: 12px 0;
                }

                #nav-menu.active {
                    display: flex;
                }

            .menu-toggle {
                display: block;
            }
        }

        /* ================================
                LAYOUT
                ================================ */


        /* =========================================================
                LAYOUT VARIABLES
                ========================================================= */

        :root {
            --container-sm: 900px;
            --container-md: 1200px;
            --container-lg: 1400px;
            --sidebar-width: 260px;
            --section-padding: 60px;
            --section-padding-sm: 40px;
        }


        /* =========================================================
                CONTAINERS
                ========================================================= */

        .container {
            width: 100%;
            max-width: var(--container-md);
            margin: auto;
            padding: 0 20px;
        }

        .container-sm {
            max-width: var(--container-sm);
        }

        .container-lg {
            max-width: var(--container-lg);
        }


        /* =========================================================
                SECTION SPACING
                ========================================================= */

        .section {
            padding: var(--section-padding) 0;
        }

        .section-sm {
            padding: var(--section-padding-sm) 0;
        }

        .section-lg {
            padding: calc(var(--section-padding) + 20px) 0;
        }


        /* =========================================================
                GRID SYSTEM
                ========================================================= */

        .grid {
            display: grid;
            gap: 20px;
        }

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

        .grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-4 {
            grid-template-columns: repeat(4, 1fr);
        }

        .grid-auto {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }




        /* =========================================================
                FLEX UTILITIES
                ========================================================= */

        .flex {
            display: flex;
        }

        .flex-between {
            justify-content: space-between;
            align-items: center;
        }

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

        .flex-column {
            flex-direction: column;
        }

        .flex-wrap {
            flex-wrap: wrap;
        }


        /* =========================================================
                ROW / STACK SYSTEM
                ========================================================= */

        .row {
            display: flex;
            gap: 20px;
        }

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


        /* =========================================================
                SIDEBAR LAYOUT
                ========================================================= */

        .layout-sidebar {
            display: grid;
            grid-template-columns: var(--sidebar-width) 1fr;
            gap: 30px;
        }


        /* =========================================================
                DASHBOARD LAYOUT
                ========================================================= */

        .dashboard-layout {
            display: flex;
            min-height: calc(100vh - 70px);
        }

        .dashboard-sidebar {
            width: var(--sidebar-width);
        }

        .dashboard-main {
            flex: 1;
        }


        /* =========================================================
                CENTER UTILITIES
                ========================================================= */

        .centered {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }


        /* =========================================================
                RESPONSIVE TABLET
                ========================================================= */

        @media (max-width: 1024px) {

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

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

            .layout-sidebar {
                grid-template-columns: 1fr;
            }

            .dashboard-layout {
                flex-direction: column;
            }

            .dashboard-sidebar {
                width: 100%;
            }
        }


        /* =========================================================
                RESPONSIVE MOBILE
                ========================================================= */

        @media (max-width: 600px) {

            .grid-2,
            .grid-3,
            .grid-4 {
                grid-template-columns: 1fr;
            }

            .section {
                padding: var(--section-padding-sm) 0;
            }

            .container {
                padding: 0 15px;
            }
        }


        /* =========================================================
                GLOBAL SPACING SYSTEM (PREMIUM)
                ========================================================= */

        .section {
            padding: 80px 0;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ================================
                COMPONENTS
                ================================ */


        /* =========================================================
                BASE BUTTON
                ========================================================= */

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 20px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            cursor: pointer;
            border: none;
            transition: all 0.25s ease;
        }


        /* =========================================================
                PRIMARY BUTTON
                ========================================================= */

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

            .btn-primary:hover {
                background: var(--primary-hover);
                transform: translateY(-2px);
                box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            }





        /* =========================================================
                OUTLINE BUTTON
                ========================================================= */

        .btn-outline {
            background: white;
            border: 1px solid var(--border);
        }

            .btn-outline:hover {
                background: #f5f9f9;
            }


        /* =========================================================
                GHOST BUTTON
                ========================================================= */

        .btn-ghost {
            background: transparent;
            color: var(--text-dark);
        }

            .btn-ghost:hover {
                background: rgba(0,0,0,0.05);
            }


        /* =========================================================
                ICON BUTTON
                ========================================================= */

        .btn-icon {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }


        /* =========================================================
                TYPOGRAPHY (FLUID)
                ========================================================= */

        h1, h2, h3, h4 {
            font-weight: 600;
            line-height: 1.3;
        }

        h1 {
            font-size: clamp(28px, 5vw, 40px);
        }

        h2 {
            font-size: clamp(22px, 4vw, 30px);
        }

        h3 {
            font-size: clamp(18px, 3vw, 22px);
        }

        h4 {
            font-size: 16px;
        }

        p {
            font-size: 15px;
            color: var(--muted);
        }

        a {
            text-decoration: none;
            color: inherit;
        }



        /* =========================================================
                BASE BADGE
                ========================================================= */

        .badge {
            display: inline-block;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 500;
        }


        /* =========================================================
                PRIMARY
                ========================================================= */

        .badge-primary {
            background: var(--primary);
            color: white;
        }


        /* =========================================================
                LIGHT
                ========================================================= */

        .badge-light {
            background: #eef3f3;
            color: var(--text-dark);
        }


        /* =========================================================
                SUCCESS
                ========================================================= */

        .badge-success {
            background: #e7f8f4;
            color: var(--primary);
        }


        /* =========================================================
                WARNING
                ========================================================= */

        .badge-warning {
            background: #fff4e5;
            color: #d48a00;
        }


        /* =========================================================
                DANGER
                ========================================================= */

        .badge-danger {
            background: #ffecec;
            color: #b33;
        }



        /* =========================================================
                BASE CARD
                ========================================================= */

        .card {
            background: var(--card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }

            .card:hover {
                transform: translateY(-6px) scale(1.01);
                box-shadow: 0 12px 30px rgba(0,0,0,0.12);
            }


        /* =========================================================
                COURSE CARD
                ========================================================= */

        .course-card {
            min-width: 260px;
            cursor: pointer;
            background: var(--card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }

            .course-card:hover {
                transform: translateY(-6px);
                box-shadow: var(--shadow-md);
            }

            /* IMAGE */

            .course-card img {
                width: 100%;
                height: 160px;
                object-fit: cover;
                transition: transform 0.4s ease;
            }

            .course-card:hover img {
                transform: scale(1.05);
            }

        /* CONTENT */

        .course-info {
            padding: 16px;
        }

            .course-info h3 {
                font-size: 16px;
                margin-bottom: 6px;
            }

        /* META */

        .course-meta {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: var(--muted);
        }

        /* PRICE */

        .course-price {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--primary);
            color: white;
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 20px;
        }


        /* =========================================================
                FEATURE CARD
                ========================================================= */

        .feature-card {
            background: var(--card);
            border-radius: var(--radius-md);
            padding: 30px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: all 0.25s ease;
        }

            .feature-card:hover {
                transform: translateY(-6px);
                box-shadow: var(--shadow-md);
            }


        /* =========================================================
                INDEX-HERO
                ========================================================= */

        .hero {
            position: relative;
            width: 100%;
            height: 45vh;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 80px;
            overflow: hidden;
        }

        /* HERO IMAGE */

        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

            .hero-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                display: block;
            }

        /* HERO TEXT */

        .hero-text {
            position: relative;
            z-index: 2;
            max-width: 520px;
            color: var(--primary);
        }

            .hero-text h1 {
                font-size: 48px;
                margin-bottom: 20px;
                color: var(--primary);
            }

            .hero-text p {
                font-size: 18px;
                margin-bottom: 25px;
                line-height: 1.6;
                color: var(--primary);
            }

        /* BUTTON */

        .hero-btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 14px 32px;
            border-radius: 6px;
            font-size: 16px;
            transition: 0.25s;
        }

            .hero-btn:hover {
                background: var(--primary-hover);
                transform: translateY(-2px);
            }


        /* =========================================================
                FEATURES (PREMIUM SaaS)
                ========================================================= */

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 24px;
            max-width: 1100px;
            margin: 80px auto;
            padding: 0 20px;
        }

        .feature-card {
            background: #ffffff;
            padding: 24px;
            border-radius: 16px;
            border: 1px solid var(--border);
            box-shadow: 0 10px 25px rgba(0,0,0,0.04);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

            .feature-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 20px 45px rgba(0,0,0,0.08);
            }

            .feature-card h3 {
                font-size: 16px;
                font-weight: 600;
                color: var(--primary-hover);
                margin-bottom: 6px;
            }

            .feature-card p {
                font-size: 13px;
                color: var(--muted);
                line-height: 1.5;
            }

            .feature-card::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: linear-gradient(to right, var(--primary), transparent);
                opacity: 0;
                transition: 0.3s;
            }

            .feature-card:hover::before {
                opacity: 1;
            }


        /* =========================================================
                FEATURE ICON
                ========================================================= */

        .feature-icon {
            margin: 0 auto 16px;
        }

            .feature-icon img {
                width: 110px;
                height: 110px;
                object-fit: contain;
            }


        /* =========================================================
                COURSE SEARCH
                ========================================================= */

        .course-search-section {
            padding: 60px 20px 20px;
            text-align: center;
        }

            .course-search-section h2 {
                margin-bottom: 20px;
                color: var(--primary-hover);
            }

        .course-search-box {
            max-width: 600px;
            margin: auto;
            display: flex;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

            .course-search-box input {
                flex: 1;
                border: none;
                padding: 14px 16px;
                font-size: 15px;
            }

                .course-search-box input:focus {
                    outline: none;
                }

            .course-search-box button {
                background: var(--primary);
                border: none;
                padding: 0 18px;
                color: white;
                cursor: pointer;
                font-size: 16px;
            }

                .course-search-box button:hover {
                    background: var(--primary-hover);
                }



        /* =========================================================
                COURSE SEARCH ALIGNMENT FIX (OVERRIDE)
                ========================================================= */

        .course-search-section {
            text-align: center;
        }

            .course-search-section h2 {
                margin-bottom: 10px;
            }

            .course-search-section .section-subtitle {
                margin: 6px auto 20px auto;
                text-align: center;
                max-width: 600px;
            }

        /* SEARCH DROPDOWN ALIGNMENT */

        .search-results {
            margin-left: auto;
            margin-right: auto;
        }

        /* =========================================================
                SECTION HEADER
                ========================================================= */

        .section-header {
            margin-bottom: 20px;
        }

        .section-title {
            color: var(--primary-hover);
            font-weight: 700;
        }

        .section-subtitle {
            margin-top: 6px;
            color: #666;
            max-width: 620px;
        }

        /* =========================================================
                SECTION TITLE ALIGN FIX
                ========================================================= */

        .course-group .section-title {
            text-align: left;
            margin-bottom: 20px;
        }

        /* =========================================================
                IMAGE
                ========================================================= */

        .course-image-wrapper {
            position: relative;
            height: 160px;
        }

            .course-image-wrapper img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }


        /* =========================================================
                BADGES
                ========================================================= */

        .course-category-badge,
        .course-price-badge {
            position: absolute;
            top: 10px;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 600;
        }

        .course-category-badge {
            left: 10px;
            background: #fff;
            color: #333;
            font-size: 11px;
        }

        .course-price-badge {
            right: 10px;
            background: var(--primary);
            color: #fff;
            font-size: 12px;
        }


        /* =========================================================
                CONTENT
                ========================================================= */

        .course-info {
            padding: 16px;
            text-align: left;
        }

        .course-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.4;
            color: #1f7f6d;
            align-items: flex-start;
        }


        /* =========================================================
                COURSE ROW SLIDER
                ========================================================= */

        .scroll-wrapper {
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            width: 100%;
            -webkit-overflow-scrolling: touch;
        }

            /* hide scrollbar (clean LMS look) */

            .scroll-wrapper::-webkit-scrollbar {
                display: none;
            }

        .scroll-wrapper {
            scrollbar-width: none;
        }

        .scroll-row {
            display: flex;
            gap: 20px;
            padding: 10px 0 20px 0;
        }


        /* =========================================================
                COURSE CARD
                ========================================================= */

        .course-card {
            min-width: 260px;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
            flex-shrink: 0;
            transition: all 0.25s ease;
            scroll-snap-align: start;
        }

            .course-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 18px 40px rgba(0,0,0,0.12);
            }


        /* =========================================================
                COURSE IMAGE
                ========================================================= */

        .course-image-wrapper {
            position: relative;
        }

        .course-card img,
        .course-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }


        /* =========================================================
                PRICE BADGE
                ========================================================= */

        .course-price-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--primary);
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }


        /* =========================================================
                CATEGORY BADGE
                ========================================================= */

        .course-category-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ffffff;
            color: #333;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }


        /* =========================================================
                COURSE INFO
                ========================================================= */

        .course-info {
            padding: 16px;
        }

        .course-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
            line-height: 1.3;
            color: var(--primary-hover);
        }


        /* =========================================================
                COURSE INSTRUCTOR (FINAL STABLE VERSION)
                ========================================================= */

        .course-instructor {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #666;
            margin-top: 8px;
            height: 36px;
        }


        /* AVATAR */

        .instructor-avatar {
            width: 36px;
            height: 36px;
            min-width: 36px;
            min-height: 36px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            display: block;
        }


        /* INITIALS FALLBACK */

        .instructor-initials {
            width: 36px;
            height: 36px;
            min-width: 36px;
            min-height: 36px;
            border-radius: 50%;
            background: #1FA78A;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            flex-shrink: 0;
        }

        /* =========================================================
                PREMIUM SLIDER UX
                ========================================================= */

        .course-slider .scroll-wrapper {
            cursor: grab;
        }

            .course-slider .scroll-wrapper.dragging {
                cursor: grabbing;
                scroll-behavior: auto;
            }

        /* =========================================================
                PREMIUM COURSE CARD (EXACT STYLE)
                ========================================================= */

        .premium-card {
            border-radius: 14px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
        }

            .premium-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 18px 40px rgba(0,0,0,0.12);
            }

            /* IMAGE */

            .premium-card .course-image-wrapper {
                position: relative;
            }

            .premium-card img {
                width: 100%;
                height: 160px;
                object-fit: cover;
            }

            /* BADGES */

            .premium-card .course-category-badge {
                position: absolute;
                top: 10px;
                left: 10px;
                background: white;
                padding: 5px 12px;
                border-radius: 20px;
                font-size: 11px;
                font-weight: 600;
            }

            .premium-card .course-price-badge {
                position: absolute;
                top: 10px;
                right: 10px;
                background: var(--primary);
                color: white;
                padding: 5px 12px;
                border-radius: 20px;
                font-size: 12px;
                font-weight: 600;
            }

            /* CONTENT */

            .premium-card .course-info {
                padding: 16px;
            }

            .premium-card .course-title {
                font-size: 15px;
                font-weight: 600;
                color: var(--primary-hover);
                margin-bottom: 12px;
            }

        /* FOOTER ROW */

        .course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* INSTRUCTOR PILL */

        .instructor-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f1f3f4;
            padding: 6px 12px;
            border-radius: 20px;
        }

            .instructor-pill img {
                width: 28px;
                height: 28px;
                border-radius: 50%;
                object-fit: cover;
            }

            .instructor-pill span {
                font-size: 13px;
                font-weight: 600;
            }

        /* STUDENTS */

        .students {
            font-size: 12px;
            color: var(--muted);
        }

        /* =========================================================
                TESTIMONIALS
                ========================================================= */

        .testimonials {
            background: #f7faf9;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            color: var(--primary-hover);
        }

        .testimonial-wrapper {
            overflow: visible;
            position: relative;
        }

        .testimonial-row {
            display: flex;
            gap: 24px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 0 30px;
            -webkit-overflow-scrolling: touch;
        }

            /* hide scrollbar */

            .testimonial-row::-webkit-scrollbar {
                display: none;
            }

        .testimonial-row {
            scrollbar-width: none;
        }

        .testimonial-card {
            min-width: 280px;
            background: #fff;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
        }

        .testimonial-text {
            font-size: 14px;
            color: var(--primary-dark);
            margin-bottom: 16px;
            line-height: 1.6;
        }

        .testimonial-user {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--primary-hover);
        }

            .testimonial-user img {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                object-fit: cover;
            }

            .testimonial-user strong {
                display: block;
                font-size: 14px;
            }

            .testimonial-user span {
                font-size: 12px;
                color: var(--primary-dark);
            }

        .testimonial-rating {
            color: #f39c12;
            font-size: 14px;
            margin-bottom: 12px;
        }

        /* TESTIMONIAL STARS */

        .testimonial-rating {
            color: #f39c12;
            font-size: 13px;
            margin-bottom: 10px;
        }

        /* COMPANY LOGO */

        .company-logo {
            height: 14px;
            margin-left: 6px;
            vertical-align: middle;
        }

        /* HOVER */

        .testimonial-card:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 25px 60px rgba(0,0,0,0.18);
        }

        .testimonial-wrapper::before,
        .testimonial-wrapper::after {
            content: "";
            position: absolute;
            top: 0;
            width: 80px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .testimonial-wrapper::before {
            left: 0;
            background: linear-gradient(to right, #f7faf9, transparent);
        }

        .testimonial-wrapper::after {
            right: 0;
            background: linear-gradient(to left, #f7faf9, transparent);
        }
        /* =========================================================
                PREMIUM STATS SECTION
                ========================================================= */

        .stats {
            position: relative;
            padding: 140px 20px;
            overflow: hidden;
        }

        /* BACKGROUND IMAGE */

        .stats-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

            .stats-bg img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                opacity: 1;
                transform: scale(1.05);
            }



        /* WRAPPER */

        .stats-wrapper {
            position: relative;
            z-index: 2;
            max-width: 1100px;
            margin: auto;
        }

        /* CONTAINER (GLASS EFFECT) */

        .stats-container {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 25px;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 50px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.2);
        }

        /* INDIVIDUAL STAT */

        .stat {
            text-align: center;
            transition: all 0.3s ease;
        }

            /* HOVER LIFT */

            .stat:hover {
                transform: translateY(-6px) scale(1.05);
            }

            /* NUMBER */

            .stat h3 {
                font-size: 40px;
                font-weight: 700;
                color: white;
                margin-bottom: 8px;
            }

            /* LABEL */

            .stat p {
                font-size: 14px;
                color: rgba(255,255,255,0.85);
            }

        .stats-container {
            animation: floatStats 6s ease-in-out infinite;
        }

        @keyframes floatStats {
            0%,100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }


        /* =========================================================
                RESPONSIVE
                ========================================================= */

        @media (max-width: 900px) {
            .stats-container {
                grid-template-columns: 1fr 1fr;
            }
        }


        /* =========================================================
                SCROLLBAR
                ========================================================= */

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-thumb {
            background: #c9d8d8;
            border-radius: 6px;
        }


        /* =========================================================
                MOBILE OPTIMIZATION
                ========================================================= */

        @media (max-width: 600px) {

            .btn {
                width: 100%;
                padding: 12px;
            }

            input {
                font-size: 16px;
            }
        }

        /* =========================================================
                FOOTER BASE
                ========================================================= */

        .walanda-footer {
            background: linear-gradient(180deg, #3AA49B, #2F8F83);
            color: white;
            padding: 30px 0 20px;
        }


        /* =========================================================
                DIVIDER
                ========================================================= */

        .footer-divider {
            height: 2px;
            background: rgba(255,255,255,0.35);
            width: 100%;
            margin-bottom: 25px;
        }


        /* =========================================================
                WRAPPER
                ========================================================= */

        .footer-wrapper {
            max-width: 1200px;
            margin: auto;
            padding: 0 30px;
        }


        /* =========================================================
                LOGO
                ========================================================= */

        .footer-logo {
            margin-bottom: 20px;
        }

        .footer-logo-img {
            height: 60px;
        }


        /* =========================================================
                GRID
                ========================================================= */

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 25px;
        }


        /* =========================================================
                COLUMNS
                ========================================================= */

        .footer-col h4 {
            font-size: 15px;
            margin-bottom: 12px;
            color: white;
        }

        .footer-col p,
        .footer-col a {
            display: block;
            font-size: 13px;
            color: #d7eeee;
            margin-bottom: 6px;
            text-decoration: none;
        }

            .footer-col a:hover {
                color: white;
            }


        /* =========================================================
                COLUMN SEPARATOR
                ========================================================= */

        .border-left {
            border-left: 1px solid rgba(255,255,255,0.15);
            padding-left: 18px;
        }


        /* =========================================================
                SOCIAL ICONS
                ========================================================= */

        .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

            .social-icons a {
                width: 32px;
                height: 32px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: white;
                color: #0c4f52;
                border-radius: 50%;
                font-size: 13px;
            }


        /* =========================================================
                BOTTOM
                ========================================================= */

        .footer-bottom {
            text-align: right;
            margin-top: 25px;
            font-size: 13px;
            color: #cdeeee;
        }

        /* =========================================================
        FIND A TEACHER (FINAL)
        ========================================================= */

        .find-teacher {
            background: #f7faf9;
        }

            /* HEADER */

            .find-teacher .section-header {
                position: relative;
                margin-bottom: 30px;
            }

        .header-center {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .header-action {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
        }

        /* SCROLL */

        .teacher-row {
            display: flex;
            gap: 20px;
        }

        /* CARD */

        .teacher-card {
            min-width: 240px;
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: 0.3s;
        }

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

        /* AVATAR */

        .teacher-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-bottom: 12px;
        }

        /* NAME */

        .teacher-name {
            font-size: 16px;
            font-weight: 600;
        }

        /* RATING */

        .teacher-rating {
            font-size: 13px;
            color: #f39c12;
            margin-bottom: 6px;
        }

        /* SUBJECT */

        .teacher-subject {
            font-size: 13px;
            color: var(--primary);
        }

        /* PRICE */

        .teacher-price {
            font-size: 13px;
            font-weight: 600;
            margin: 8px 0;
        }

        /* BUTTON */

        .btn-sm {
            padding: 8px 14px;
            font-size: 13px;
        }

        /* =========================================================
        VERIFICATION SYSTEM
        ========================================================= */

        .verify-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            margin-left: 6px;
            border-radius: 50%;
            font-size: 10px;
            color: white;
        }

            /* TYPES */

            .verify-badge.walanda {
                background: #1FA78A;
            }

            .verify-badge.institution {
                background: #3b82f6;
            }

            .verify-badge.pro {
                background: #8b5cf6;
            }

            .verify-badge.top {
                background: #f59e0b;
            }

        /* =========================================================
INSTRUCTORS PAGE
========================================================= */

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

        /* RESPONSIVE */

        @media (max-width: 1024px) {
            .instructor-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .instructor-grid {
                grid-template-columns: 1fr;
            }
        }

        /* =========================================================
SEARCH + FILTERS
========================================================= */

        .instructor-controls {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        /* SEARCH */

        #teacher-search {
            flex: 1;
            min-width: 250px;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid var(--border);
        }

        /* FILTERS */

        .filters {
            display: flex;
            gap: 10px;
        }

            .filters select {
                padding: 10px;
                border-radius: 8px;
                border: 1px solid var(--border);
            }

        /* =========================================================
PREMIUM HERO
========================================================= */

        .instructor-hero {
            position: relative;
            height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* BACKGROUND */

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

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

        /* OVERLAY (ANIMATED GRADIENT) */

        .instructor-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 120deg, rgba(31,167,138,0.8), rgba(22,143,119,0.7), rgba(31,167,138,0.8) );
            background-size: 200% 200%;
            animation: gradientMove 8s ease infinite;
            z-index: 1;
        }

        /* ANIMATION */

        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* CONTENT */

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
        }

        /* TITLE */

        .hero-title {
            font-size: clamp(32px, 5vw, 52px);
            font-weight: 700;
            margin-bottom: 16px;
        }

        /* SUBTITLE */

        .hero-subtitle {
            font-size: 16px;
            max-width: 650px;
            margin: auto;
            margin-bottom: 25px;
            color: rgba(255,255,255,0.9);
        }

        /* BUTTONS */

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

        /* PREMIUM BUTTON EFFECT */

        .btn-outline {
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.4);
            color: white;
        }

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

        /* FLOAT EFFECT */

        .hero-content {
            animation: floatUp 1s ease forwards;
        }

        @keyframes floatUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        /* =========================================================
FORM WRAPPER
========================================================= */
        form.stack {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        /* =========================================================
INPUTS + TEXTAREA
========================================================= */
        form input,
        form textarea {
            width: 100%;
            padding: 12px 14px;
            border-radius: 8px;
            border: 1px solid #E6ECEC;
            font-size: 14px;
            font-family: inherit;
            background: #fff;
            transition: all 0.2s ease;
        }

            form input:focus,
            form textarea:focus {
                outline: none;
                border-color: #1FA78A;
                box-shadow: 0 0 0 2px rgba(31,167,138,0.1);
            }

        /* =========================================================
TEXTAREA
========================================================= */
        form textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* =========================================================
FILE INPUT WRAPPER
========================================================= */
        form div {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        /* LABEL */
        form label {
            font-size: 13px;
            color: #6B7C7C;
        }

        /* FILE INPUT */
        form input[type="file"] {
            padding: 10px;
            background: #F4F7F8;
            border: 1px dashed #ccc;
            cursor: pointer;
        }

        /* =========================================================
BUTTON
========================================================= */
        .btn-primary {
            background: #1FA78A;
            color: #fff;
            padding: 14px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s ease;
        }

            .btn-primary:hover {
                background: #168f77;
                transform: translateY(-2px);
            }

        /* =========================================================
FORM CONTAINER
========================================================= */
        #apply .container {
            max-width: 1120px;
        }

        .apply-shell {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 320px;
            gap: 28px;
            align-items: start;
        }

        .apply-form-panel {
            background: #fff;
            padding: 28px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .apply-ad-rail {
            position: relative;
        }

        .apply-ad-rail .page-ad-slot {
            max-width: none;
            margin: 0;
        }

        .apply-ad-rail .walanda-ad-slot {
            position: sticky;
            top: 96px;
        }

        .form-submit-btn {
            width: auto;
            min-width: 180px;
            align-self: flex-start;
            padding: 12px 24px;
            border-radius: 999px;
        }

        /* =========================================================
SECTION TITLE
========================================================= */
        .section-title {
            margin-bottom: 10px;
            font-size: 24px;
        }

        /* =========================================================
MOBILE
========================================================= */
        @media (max-width: 768px) {

            #apply .container {
                padding: 20px;
            }

            form input,
            form textarea {
                padding: 12px;
            }
        }


        /* =========================================================
WHO CAN APPLY (BACKGROUND STYLE)
========================================================= */
        .who-apply-bg {
            position: relative;
            background: url('./assets/images/backgrounds/background7.png,classroom') center/cover no-repeat;
            padding: 80px 0;
            color: #fff;
        }

            /* DARK OVERLAY */
            .who-apply-bg .overlay {
                background: rgba(0,0,0,0.6);
                padding: 60px 20px;
            }

            /* TEXT */
            .who-apply-bg .section-title {
                text-align: center;
                margin-bottom: 25px;
            }

        .apply-list {
            max-width: 600px;
            margin: auto;
            list-style: none;
            line-height: 2;
            font-size: 16px;
        }

        .section-ad {
            padding: 32px 0 12px;
        }

        .page-ad-slot {
            max-width: 960px;
            margin: 0 auto;
        }

        .form-ad-slot {
            margin-top: 0;
        }

        /* MOBILE */
        @media (max-width: 768px) {
            .who-apply-bg {
                padding: 60px 0;
            }

            .apply-shell {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .apply-form-panel {
                padding: 22px;
            }

            .apply-ad-rail .walanda-ad-slot {
                position: static;
            }
        }

/* =========================================================
END OF FILE
FILE: become-instructor.css
PATH: /src/modules/platform/css/become-instructor.css
MODULE: platform
STATUS: stable
MAINTAINED BY: Walanda core system
COPYRIGHT: © 2026 Walanda Inc. Ltd. All rights reserved.
========================================================= */


