   :root {
        --primary: #00a29a;
        --primary-dark: #00827b;
        --secondary: #153e6d;
        --light-bg: #f8fafd;
        --text-main: #2b3a4a;
    }
    body {
        font-family: 'Vazirmatn', sans-serif;
        background-color: var(--light-bg);
        color: var(--text-main);
    }
    /* Custom Scrollbar */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #f1f1f1; }
    ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

    /* Hero Section */
    .page-hero {
        position: relative;
        padding: 80px 0 120px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: white;
        border-radius: 0 0 80px 80px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(21, 62, 109, 0.2);
        margin-bottom: -50px;
    }
    .hero-shape {
        position: absolute;
        top: -50px; left: -50px;
        width: 300px; height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        filter: blur(50px);
        animation: morphing 10s infinite alternate;
    }
    @keyframes morphing {
        0% { transform: scale(1) translate(0, 0); }
        100% { transform: scale(1.5) translate(50px, 50px); }
    }

    /* Search Bar */
    .search-wrapper {
        position: relative;
        max-width: 600px;
        margin: 0 auto 50px auto;
        z-index: 10;
    }
    .search-glass {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 50px;
        padding: 10px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }
    .search-glass:focus-within { box-shadow: 0 15px 35px rgba(0, 162, 154, 0.2); transform: translateY(-3px); }
    .search-glass input {
        border: none;
        background: transparent;
        width: 100%;
        padding: 10px;
        outline: none;
    }

    /* Teacher Cards */
    .teacher-card {
        background: #fff;
        border-radius: 20px;
        padding: 30px 20px 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
        transition: all 0.4s ease;
        position: relative;
        margin-top: 50px;
        height: calc(100% - 50px);
        display: flex;
        flex-direction: column;
        border: 1px solid #f0f0f0;
    }
    .teacher-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
    .avatar-wrapper {
        width: 100px; height: 100px;
        margin: -80px auto 15px;
        border-radius: 50%;
        padding: 5px;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 20px;
    }
    .avatar-wrapper img {
        width: 100%; height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
    .specialty-badge {
        background: rgba(0, 162, 154, 0.1);
        color: var(--primary);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: bold;
        display: inline-block;
        margin-bottom: 15px;
    }
    .btn-modern {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 12px;
        padding: 10px 20px;
        font-weight: bold;
        transition: 0.3s;
        margin-top: auto;
    }
    .btn-modern:hover { background: var(--secondary); color: white; transform: scale(1.05); }

    /* Pagination */
    .custom-pagination .page-link {
        border: none; margin: 0 5px; border-radius: 10px !important;
        color: var(--primary); font-weight: 600; box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    }
    .custom-pagination .page-item.active .page-link { background-color: var(--primary); color: white; box-shadow: 0 5px 15px rgba(0, 162, 154, 0.3); }
    .custom-pagination .page-link:hover { background-color: var(--primary-dark); color: white; }
    .custom-pagination .disabled .page-link { color: #aaa; background: #eee; box-shadow: none; pointer-events: none; }

    /* Modal Styles */
    .modal-content { border-radius: 20px; border: none; overflow: hidden; }
    .modal-header { background: var(--secondary); color: white; border-bottom: none; }
    .modal-header .btn-close { filter: invert(1); }
