* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: poppins;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: poppins;
}
.navbar-custom.affix-top .nav li a {
    color: #000;
}
.navbar-custom.affix .nav li a {
    color: #fff;
}
.tutor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 15%, #fef3c7 30%, #ecfdf5 45%, #fdf2f8 60%, #ede9fe 75%, #f0f9ff 90%, #f8fafc 100%);
    background-size: 400% 400%;
    animation: colorShiftBackground 20s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding-top: 100px;
    padding-bottom: 50px;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgb(255 255 255 / 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 8s ease-in-out infinite;
}
.hero-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgb(255 255 255 / 0.3) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulseGlow 10s ease-in-out infinite reverse;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    width: 100%;
}
.hero-text {
    color: #1e293b;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgb(99 102 241 / 0.15);
    color: #6366f1;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(99 102 241 / 0.2);
}
.hero-title {
    font-size: 38px;
    line-height: 50px;
    font-weight: 900;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
}
.hero-subtitle {
    margin-bottom: 5px;
    opacity: 0.8;
    font-weight: 500;
    color: #64748b;
    font-size: 16px;
    line-height: normal;
}
.animated-arrow-container {
    display: flex;
    justify-content: center;
    margin: 20px auto 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.animated-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrowBounce 2s infinite ease-in-out;
    transform-origin: center;
    padding: 10px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.15);
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.animated-arrow svg {
    color: var(--primary-color, #4361ee);
    animation: arrowPulse 2s infinite alternate;
}
.animated-arrow:hover {
    background: rgb(255 255 255 / 0.25);
    transform: scale(1.1);
}
@keyframes arrowBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@keyframes arrowPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}
@media (max-width: 768px) {
    .animated-arrow-container {
        margin: 15px auto 5px;
    }
    .animated-arrow {
        padding: 8px;
    }
    .animated-arrow svg {
        width: 32px;
        height: 32px;
    }
}
@media (max-width: 480px) {
    .animated-arrow-container {
        margin: 10px auto 5px;
    }
    .animated-arrow {
        padding: 6px;
    }
    .animated-arrow svg {
        width: 28px;
        height: 28px;
    }
    @keyframes arrowBounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-7px);
        }
        60% {
            transform: translateY(-3px);
        }
    }
}
.hero-subtitle {
    margin-bottom: 5px;
}
.search-container {
    margin-top: 5px;
    position: relative;
    max-width: 700px;
    width: 100%;
    background: rgb(255 255 255 / 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgb(0 0 0 / 0.1);
    padding: 20px;
    transition: all 0.3s ease;
    margin: 0 auto;
}
.search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.search-row {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}
.search-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}
.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgb(99 102 241 / 0.1);
    cursor: text;
}
.category-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.category-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgb(99 102 241 / 0.1);
}
.question-textarea {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    resize: vertical;
    min-height: 120px;
    font-family: "Inter", sans-serif;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.question-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgb(99 102 241 / 0.1);
}
.file-upload-area {
    border: 2px dashed #e5e7eb;
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8fafc;
    cursor: pointer;
    position: relative;
}
.file-upload-area:hover {
    border-color: #6366f1;
    background: #f1f5f9;
}
.file-upload-area.dragover {
    border-color: #6366f1;
    background: #ede9fe;
}
.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.file-upload-icon {
    width: 48px;
    height: 48px;
    color: #6366f1;
}
.file-upload-text {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}
.file-upload-subtext {
    color: #94a3b8;
    font-size: 0.9rem;
}
.file-preview {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.file-preview.show {
    display: block;
}
.file-preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.file-preview-icon {
    width: 32px;
    height: 32px;
    color: #6366f1;
}
.file-preview-info {
    flex: 1;
}
.file-preview-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}
.file-preview-size {
    color: #64748b;
    font-size: 0.8rem;
}
.file-preview-remove {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s ease;
    font-size: 18px;
}
.file-preview-remove:hover {
    background: #dc2626;
}
.expanded-fields {
    display: none;
    overflow: hidden;
}
.expanded-fields.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}
.search-btn-container {
    display: flex;
    align-items: center;
}
.search-btn-container.desktop-only {
    display: flex;
    gap: 20px;
}
.search-btn-container.expanded-only {
    display: none;
    margin-top: 1.5rem;
}
.search-container.expanded .search-btn-container.expanded-only {
    display: flex;
    justify-content: center;
}
.search-btn, .post-project {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    min-width: 200px;
    font-family: poppins;
}
.search-btn:hover, .post-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgb(99 102 241 / 0.4);
}

/* Tooltip styles for disabled search button */
.search-btn[disabled] {
    position: relative;
    z-index: 1;
}

.search-btn[disabled]::before {
    content: "Please select category";
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: 8px;
}

.search-btn[disabled]::after {
    content: "";
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: 2px;
}

.search-btn[disabled]:hover::before,
.search-btn[disabled]:hover::after {
    opacity: 1;
    visibility: visible;
}
.features-list {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
}
.features-list span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
}
.features-list svg {
    color: #10b981;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}
.geometric-shapes-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}
.geometric-shape {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.shape-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 15px 40px rgb(0 0 0 / 0.15);
    transition: all 0.4s ease;
    animation: shapeGlow 4s ease-in-out infinite;
}
.shape-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    transition: all 0.4s ease;
    animation: imageFloat 6s ease-in-out infinite;
}
.triangle-shape-1 {
    top: 10%;
    right: 15%;
    width: 160px;
    height: 160px;
    animation: subtleFloat 8s ease-in-out infinite;
    animation-delay: 0s;
}
.triangle-gradient {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    animation: gradientShift 8s ease-in-out infinite;
}
.square-shape-1 {
    top: 35%;
    right: 8%;
    width: 150px;
    height: 150px;
    animation: subtleFloat 6s ease-in-out infinite;
    animation-delay: 1s;
}
.square-gradient {
    border-radius: 20px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    animation: gradientShift 6s ease-in-out infinite reverse;
}
.circle-shape-1 {
    bottom: 15%;
    right: 20%;
    width: 140px;
    height: 140px;
    animation: subtleFloat 7s ease-in-out infinite, gentlePulse 4s ease-in-out infinite;
    animation-delay: 2s;
}
.circle-gradient {
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    animation: gradientShift 7s ease-in-out infinite;
}
.diamond-shape-1 {
    top: 8%;
    left: 12%;
    width: 160px;
    height: 160px;
    animation: subtleFloat 9s ease-in-out infinite;
    animation-delay: 0.5s;
}
.diamond-gradient {
    border-radius: 15px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    animation: gradientShift 9s ease-in-out infinite;
}
.diamond-gradient img {
    transform: scale(1);
    animation: imageFloat 8s ease-in-out infinite;
}
.hexagon-shape-1 {
    top: 40%;
    left: 5%;
    width: 155px;
    height: 155px;
    animation: subtleFloat 8.5s ease-in-out infinite;
    animation-delay: 1.5s;
}
.hexagon-gradient {
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    animation: gradientShift 8.5s ease-in-out infinite reverse;
}
.pentagon-shape-1 {
    bottom: 12%;
    left: 15%;
    width: 145px;
    height: 145px;
    animation: subtleFloat 7.5s ease-in-out infinite;
    animation-delay: 3s;
}
.pentagon-gradient {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    background: linear-gradient(135deg, #f472b6 0%, #e879f9 50%, #d946ef 100%);
    animation: gradientShift 7.5s ease-in-out infinite;
}
.decorative-shape {
    position: absolute;
    width: 40px;
    height: 40px;
    animation: floatDecorAdvanced 4s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgb(0 0 0 / 0.2));
}
.deco-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    box-shadow: 0 8px 20px rgb(251 191 36 / 0.4);
    animation: decorGlow 3s ease-in-out infinite;
}
.deco-1 {
    top: 25%;
    right: 45%;
    animation-delay: 0s;
}
.deco-2 {
    bottom: 35%;
    left: 35%;
    animation-delay: 1s;
}
.deco-3 {
    top: 60%;
    right: 35%;
    animation-delay: 2s;
}
.deco-4 {
    top: 15%;
    left: 40%;
    animation-delay: 1.5s;
}
.deco-3 .deco-inner,
.deco-4 .deco-inner {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgb(168 85 247 / 0.4);
}
@keyframes subtleFloat {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(3px);
    }
    50% {
        transform: translateY(-25px) translateX(0);
    }
    75% {
        transform: translateY(-15px) translateX(-3px);
    }
}
@keyframes gentlePulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}
@keyframes gentleWobble {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}
@keyframes gradientShift {
    0%,
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        filter: hue-rotate(10deg) brightness(1.05);
    }
    66% {
        filter: hue-rotate(-10deg) brightness(0.98);
    }
}
@keyframes shapeGlow {
    0%,
    100% {
        box-shadow: 0 15px 40px rgb(0 0 0 / 0.15);
    }
    50% {
        box-shadow: 0 20px 50px rgb(0 0 0 / 0.2), 0 0 20px rgb(255 255 255 / 0.3);
    }
}
@keyframes imageFloat {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.01) rotate(0.5deg);
    }
}
@keyframes floatDecorAdvanced {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-12px) scale(1.08);
        opacity: 1;
    }
}
@keyframes decorGlow {
    0%,
    100% {
        box-shadow: 0 8px 20px rgb(251 191 36 / 0.4);
    }
    50% {
        box-shadow: 0 12px 30px rgb(251 191 36 / 0.6), 0 0 15px rgb(251 191 36 / 0.4);
    }
}
@keyframes colorShiftBackground {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 25%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 75%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}
@keyframes rotateShape {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes scaleRotate {
    0%,
    100% {
        transform: scale(1) rotate(12deg);
    }
    50% {
        transform: scale(1.05) rotate(22deg);
    }
}
@keyframes spinDiamond {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}
@keyframes wobble {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}
@keyframes bounce {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
@keyframes gradientShift {
    0%,
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        filter: hue-rotate(15deg) brightness(1.1);
    }
    66% {
        filter: hue-rotate(-15deg) brightness(0.95);
    }
}
@keyframes shapeGlow {
    0%,
    100% {
        box-shadow: 0 15px 40px rgb(0 0 0 / 0.15);
    }
    50% {
        box-shadow: 0 20px 50px rgb(0 0 0 / 0.2), 0 0 20px rgb(255 255 255 / 0.3);
    }
}
@keyframes imageFloat {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.02) rotate(1deg);
    }
}
@keyframes imageBounce {
    0%,
    100% {
        transform: rotate(-45deg) scale(1.4);
    }
    50% {
        transform: rotate(-45deg) scale(1.45);
    }
}
@keyframes floatDecorAdvanced {
    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.15) rotate(180deg);
        opacity: 1;
    }
}
@keyframes decorGlow {
    0%,
    100% {
        box-shadow: 0 8px 20px rgb(251 191 36 / 0.4);
    }
    50% {
        box-shadow: 0 12px 30px rgb(251 191 36 / 0.6), 0 0 15px rgb(251 191 36 / 0.4);
    }
}
@keyframes colorShiftBackground {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 25%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 75%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}
.stats-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
    z-index: 1;
    margin-top: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
}
.stat-item {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.08);
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-8px);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.75rem;
    display: block;
    font-family: poppins;
}
.stat-label {
    color: #64748b;
    font-weight: 700;
    font-size: 1.3rem;
}
.how-it-works {
    background: linear-gradient(135deg, #fdfeff 0%, #f8fafc 25%, #f1f5f9 50%, #e2e8f0 75%, #f9fafb 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 85%, rgb(99 102 241 / 0.08) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgb(217 70 239 / 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgb(245 158 11 / 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1), rgb(139 92 246 / 0.08));
    color: #6366f1;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgb(99 102 241 / 0.15);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(99 102 241 / 0.2);
    border-color: rgb(99 102 241 / 0.3);
}
.badge-icon {
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}
.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.1;
}
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    position: relative;
}
.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: normal;
    font-weight: 400;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.step-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 40px 28px;
    border: 1px solid rgb(226 232 240 / 0.6);
    box-shadow: 0 10px 40px rgb(0 0 0 / 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
}
.journey-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.journey-step::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgb(99 102 241 / 0.1), transparent);
    transform: rotate(45deg);
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}
.journey-step:hover::before {
    transform: scaleX(1);
}
.journey-step:hover::after {
    opacity: 1;
}
.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgb(99 102 241 / 0.15);
    border-color: rgb(99 102 241 / 0.3);
}
.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.step-card:hover .card-gradient {
    opacity: 1;
}
.step-header {
    position: relative;
    margin-bottom: 24px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 32px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(139 92 246 / 0.1) 100%);
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 16px;
    border: 2px solid rgb(99 102 241 / 0.2);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.step-card:hover .step-number {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-color: #fff0;
    transform: scale(1.05);
}
.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(139 92 246 / 0.08) 100%);
    border-radius: 20px;
    color: #6366f1;
    margin: 0 auto;
    transition: all 0.4s ease;
    border: 2px solid rgb(99 102 241 / 0.1);
}
.step-card:hover .step-icon {
    transform: scale(1.05) rotate(-5deg);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-color: #fff0;
    box-shadow: 0 8px 32px rgb(99 102 241 / 0.3);
}
.step-content {
    text-align: center;
}
.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: block;
}
.step-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}
.step-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.05), rgb(139 92 246 / 0.03));
    border-radius: 12px;
    border: 1px solid rgb(99 102 241 / 0.1);
    transition: all 0.3s ease;
}
.benefit-item:hover {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1), rgb(139 92 246 / 0.08));
    border-color: rgb(99 102 241 / 0.2);
    transform: translateY(-2px);
}
.benefit-icon {
    font-size: 14px;
}
.step-decoration {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1), rgb(139 92 246 / 0.1));
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid rgb(99 102 241 / 0.2);
    min-width: 60px;
    text-align: center;
    transition: all 0.3s ease;
}
.step-progress-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgb(99 102 241 / 0.3), rgb(139 92 246 / 0.3));
    margin: 0 16px;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}
.step-progress-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(99 102 241 / 0.6), transparent);
    animation: progressShine 3s ease-in-out infinite;
}
.step-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgb(99 102 241 / 0.2);
}
.step-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgb(255 255 255 / 0.2) 0%, transparent 100%);
    border-radius: 20px;
}
.journey-step .step-icon {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.step-content {
    text-align: center;
}
.journey-step .step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}
.journey-step .step-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}
.step-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    justify-content: center;
}
.feature-item:hover {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1), rgb(139 92 246 / 0.1));
    border-color: rgb(99 102 241 / 0.3);
    transform: translateY(-2px);
}
.feature-item svg {
    color: #10b981;
    flex-shrink: 0;
}
.feature-item span {
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
}
.journey-step:hover .step-icon-wrapper {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 16px 48px rgb(99 102 241 / 0.3);
}
.journey-step:hover .step-icon {
    transform: scale(1.1);
}
.journey-step:hover .step-number {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-color: #fff0;
    box-shadow: 0 4px 16px rgb(99 102 241 / 0.3);
}
.cta-container {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.05) 0%, rgb(139 92 246 / 0.03) 50%, rgb(217 70 239 / 0.05) 100%);
    border-radius: 24px;
    padding: 48px 40px;
    border: 1px solid rgb(99 102 241 / 0.1);
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}
.cta-subtitle {
    font-size: 16px;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: normal;
    font-weight: 500;
    color: #64748b;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cta-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgb(99 102 241 / 0.3);
}
.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgb(99 102 241 / 0.4);
}
.cta-btn.secondary {
    background: #fff;
    color: #6366f1;
    border: 2px solid rgb(99 102 241 / 0.2);
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.05);
}
.cta-btn.secondary:hover {
    transform: translateY(-2px);
    border-color: rgb(99 102 241 / 0.4);
    box-shadow: 0 8px 32px rgb(99 102 241 / 0.15);
}
.cta-btn svg {
    transition: transform 0.3s ease;
}
.cta-btn:hover svg {
    transform: translateX(3px);
}
@keyframes sparkle {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 2rem;
}
.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
}
.step-card {
    text-align: center;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
}
.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgb(0 0 0 / 0.15);
}
.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: #fff;
}
.step-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
}
.step-description {
    color: #64748b;
    line-height: normal;
    font-size: 14px;
    font-weight: 500;
}
.subjects-section {
    padding: 7rem 0;
    background: #f8fafc;
}
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 2rem;
}
.subject-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgb(0 0 0 / 0.1);
}
.subject-card-inner {
    padding: 15px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.card-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.subject-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.subject-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.subject-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.subject-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.subject-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.subject-card:nth-child(6) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.subject-card:nth-child(7) {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}
.subject-card:nth-child(8) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.subject-card:nth-child(9) {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}
.subject-card:nth-child(10) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.subject-card:nth-child(11) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.subject-card:nth-child(12) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.subject-card:nth-child(13) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.subject-card:nth-child(14) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.subject-card:nth-child(15) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.subject-card:nth-child(16) {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}
.subject-card:nth-child(17) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}
.subject-card:nth-child(18) {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}
.subject-card:nth-child(19) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.subject-card:nth-child(20) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.subject-card:nth-child(21) {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}
.subject-card:nth-child(22) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.subject-card:nth-child(23) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.subject-card:nth-child(24) {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}
.subject-card-front {
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.subject-number {
    font-size: 14px;
    font-weight: 700;
    background: rgb(255 255 255 / 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgb(255 255 255 / 0.3);
    margin-bottom: 15px;
}
.subject-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
    line-height: normal;
}
.subject-description {
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.5;
    flex-grow: 1;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
}
.subject-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 0.2);
}
.tutor-count {
    font-size: 12px;
    opacity: 0.9;
}
.subject-level {
    font-size: 10px;
    font-weight: 600;
    background: rgb(255 255 255 / 0.2);
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
@media (max-width: 1200px) {
    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .subject-card-inner {
        padding: 10px;
    }
    .subject-number {
        font-size: 1.5rem;
    }
    .subject-name {
        font-size: 18px;
    }
    .subject-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 575px) {
    .search-btn-container.desktop-only {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}
.features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgb(99 102 241 / 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgb(139 92 246 / 0.05) 0%, transparent 50%);
}
.features-section .section-header {
    position: relative;
    z-index: 2;
}
.features-section .section-title {
    color: #1e293b;
}
.features-section .section-subtitle {
    color: #64748b;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}
.feature-card {
    background: #fff;
    border: 1px solid rgb(99 102 241 / 0.1);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgb(0 0 0 / 0.08);
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.02) 0%, rgb(139 92 246 / 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgb(99 102 241 / 0.2);
    box-shadow: 0 30px 80px rgb(99 102 241 / 0.15);
}
.feature-icon-wrapper {
    position: relative;
    margin: 0 auto 2rem;
    width: 120px;
    height: 120px;
}
.feature-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(139 92 246 / 0.1) 100%);
    border: 2px solid rgb(99 102 241 / 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}
.feature-icon svg {
    color: #6366f1;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.15) 0%, rgb(139 92 246 / 0.15) 100%);
    border-color: rgb(99 102 241 / 0.3);
    transform: scale(1.1);
}
.feature-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: #1e293b;
}
.feature-description {
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    color: #64748b;
}
.testimonials-section {
    padding: 4rem 0 2rem 0;
    background: #fff;
    position: relative;
}
.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgb(99 102 241 / 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgb(139 92 246 / 0.03) 0%, transparent 50%);
}
.testimonials-slider {
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}
.testimonials-slider .owl-item {
    padding: 0 15px;
    box-sizing: border-box;
}
.testimonial-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: 1px solid rgb(99 102 241 / 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.testimonial-card:hover::before {
    transform: scaleX(1);
}
.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgb(99 102 241 / 0.15);
    border-color: rgb(99 102 241 / 0.2);
    background: #fff;
}
.testimonial-avatar-wrapper {
    position: relative;
    margin: 0 auto 2rem;
    width: 100px;
    height: 100px;
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: none;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.15);
    transition: all 0.3s ease;
}
.testimonial-avatar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.testimonial-card:hover .testimonial-avatar::before {
    opacity: 1;
}
.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.05);
}
.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgb(99 102 241 / 0.25);
}
.testimonial-text {
    font-style: italic;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    flex-grow: 1;
}
.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: #6366f1;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
    opacity: 0.3;
}
.testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: #6366f1;
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    font-family: serif;
    opacity: 0.3;
}
.testimonial-author {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.testimonial-role {
    color: #6366f1;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
}
.testimonial-role::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 1px;
}
.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}
.star {
    color: #fbbf24;
    font-size: 1.2rem;
}
.testimonials-slider .owl-dots {
    text-align: center;
    margin-top: 60px;
}
.testimonials-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.testimonials-slider .owl-dots .owl-dot.active {
    background: #6366f1;
    transform: scale(1.2);
}
.testimonials-slider .owl-dots .owl-dot:hover {
    background: #8b5cf6;
}
.testimonials-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}
.testimonials-slider .owl-nav button {
    position: absolute;
    background: #fff;
    border: 2px solid #6366f1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.15);
    pointer-events: auto;
}
.testimonials-slider .owl-nav button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid #6366f1;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
}
.testimonials-slider .owl-nav .owl-prev {
    left: -70px;
}
.testimonials-slider .owl-nav .owl-prev:before {
    transform: translate(-40%, -50%) rotate(135deg);
}
.testimonials-slider .owl-nav .owl-next {
    right: -70px;
}
.testimonials-slider .owl-nav .owl-next:before {
    transform: translate(-60%, -50%) rotate(-45deg);
}
.testimonials-slider .owl-nav button:hover {
    background: #6366f1;
    box-shadow: 0 12px 35px rgb(99 102 241 / 0.25);
}
.testimonials-slider .owl-nav button:hover:before {
    border-color: #fff;
}
.testimonials-slider.owl-carousel .owl-nav button.owl-next span,
.testimonials-slider.owl-carousel .owl-nav button.owl-prev span {
    opacity: 0;
}
@media (max-width: 1200px) {
    .testimonials-slider .owl-nav {
        display: none !important;
    }
}
.cta-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, lightcyan 0%, #e2e8f0 50%, lightcyan 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgb(99 102 241 / 0.08) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgb(139 92 246 / 0.08) 0%, transparent 50%);
}
img.left-one-imgs {
    position: absolute;
    top: -50px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 4s ease-in-out infinite;
    animation-delay: 0.5s;
    left: 0;
}
img.left-two-imgs {
    position: absolute;
    top: 50px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 5s ease-in-out infinite;
    animation-delay: 0.5s;
    left: 100px;
}
img.left-four-imgs {
    position: absolute;
    top: 170px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 6s ease-in-out infinite;
    animation-delay: 0.5s;
    left: 20px;
}
img.right-one-imgs {
    position: absolute;
    top: -50px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 4s ease-in-out infinite;
    animation-delay: 0.5s;
    right: 0;
}
img.right-two-imgs {
    position: absolute;
    top: 50px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 5s ease-in-out infinite;
    animation-delay: 0.5s;
    right: 100px;
}
img.right-four-imgs {
    position: absolute;
    top: 170px;
    width: 70px;
    height: 70px;
    animation: subtleFloat 6s ease-in-out infinite;
    animation-delay: 0.5s;
    right: 20px;
}
.cta-section .tutor-container {
    position: relative;
    z-index: 2;
}
.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #1e293b;
}
.cta-subtitle {
    font-size: 16px;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: normal;
    font-weight: 500;
    color: #64748b;
}
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 1.5rem 3rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-secondary {
    background: #fff;
    color: #6366f1;
    padding: 1.5rem 3rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid #6366f1;
}
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgb(99 102 241 / 0.3);
}
.btn-secondary:hover {
    background: #6366f1;
    color: #fff;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}
@keyframes pulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 600px;
    }
}
.fade-in {
    animation: fadeInUp 1s ease forwards;
}
@media (max-width: 1024px) {
    img.left-one-imgs,
    img.left-two-imgs,
    img.left-four-imgs,
    img.right-four-imgs,
    img.right-two-imgs,
    img.right-one-imgs {
        display: none;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-visual {
        min-height: 400px;
    }
    .geometric-shapes-container {
        height: 400px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        position: relative;
    }
    .geometric-shape {
        position: relative;
        animation: floatShapeMobile 4s ease-in-out infinite !important;
    }
    .triangle-shape-1 {
        width: 100px;
        height: 100px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 1;
    }
    .square-shape-1 {
        width: 90px;
        height: 90px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 2;
    }
    .circle-shape-1 {
        width: 85px;
        height: 85px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 3;
    }
    .diamond-shape-1 {
        width: 95px;
        height: 95px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 4;
    }
    .hexagon-shape-1 {
        width: 90px;
        height: 90px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 5;
    }
    .pentagon-shape-1 {
        width: 85px;
        height: 85px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: 6;
    }
    .decorative-shape {
        animation: floatDecorAdvanced 3s ease-in-out infinite !important;
    }
    .hero-title {
        font-size: 4rem;
    }
    .section-title {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .testimonial-card {
        padding: 2.5rem;
    }
}

.hero-section::before {
    display: none;
}
@media (max-width: 1024px) and (min-width: 769px) {
    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .journey-step:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .journey-title {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .tutor-container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-visual {
        display: none;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-section {
        padding-top: 80px !important;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .search-row {
        flex-direction: column;
        gap: 1rem;
    }
    .search-btn-container.expanded-only {
        display: flex !important;
        justify-content: center;
        margin-top: 1.5rem;
    }
    .search-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 12px;
    }
    .features-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
    .step-card {
        padding: 32px 24px;
    }
    .step-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .section-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    .how-it-works-badge {
        font-size: 13px;
        padding: 12px 24px;
    }
    .step-decoration {
        gap: 16px;
        margin-bottom: 28px;
    }
    .step-number {
        font-size: 16px;
        padding: 10px 16px;
        min-width: 70px;
    }
    .step-icon-wrapper {
        width: 76px;
        height: 76px;
        margin-bottom: 28px;
    }
    .journey-step .step-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .journey-step .step-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .step-features {
        gap: 10px;
    }
    .feature-item {
        padding: 8px 14px;
        gap: 10px;
    }
    .feature-item span {
        font-size: 0.9rem;
    }
    .floating-shape.shape-1,
    .floating-shape.shape-2,
    .floating-shape.shape-3,
    .floating-shape.shape-4 {
        display: none;
    }
    .how-it-works-cta {
        margin-top: 60px;
        padding: 0 20px;
    }
    .cta-content {
        padding: 36px 28px;
    }
    .cta-title {
        font-size: 2.25rem;
    }
    .cta-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    .subjects-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-visual {
        min-height: 350px;
    }
    .geometric-shapes-container {
        height: 350px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        justify-items: center;
        align-items: center;
    }
    .geometric-shape {
        position: relative;
        animation: floatShapeMobile 3s ease-in-out infinite;
    }
    .triangle-shape-1,
    .square-shape-1,
    .circle-shape-1,
    .diamond-shape-1,
    .hexagon-shape-1,
    .pentagon-shape-1 {
        width: 80px;
        height: 80px;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-benefits-grid {
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
        margin: 2rem auto;
    }
    .cta-benefit-item {
        flex: 1 1 100%;
        min-width: auto;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }
    .cta-benefit-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
    .cta-benefit-text {
        font-size: 0.9rem;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 350px;
    }
    .hero-section,
    .how-it-works,
    .subjects-section,
    .features-section,
    .testimonials-section,
    .cta-section {
        padding: 5rem 0;
    }
    .search-container {
        padding: 2.5rem;
    }
    .feature-card,
    .testimonial-card {
        padding: 2.5rem;
    }
    .feature-icon,
    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }
    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    .testimonial-avatar-wrapper {
        width: 80px;
        height: 80px;
    }
    .testimonials-slider .owl-dots {
        margin-top: 40px;
    }
    .search-container {
        padding: 2rem;
    }
    .search-form {
        display: flex;
        flex-direction: column-reverse;
        gap: 1rem;
    }
    .search-row {
        flex-direction: column;
        gap: 1rem;
        order: 1;
    }
    .expanded-fields {
        order: 2;
    }
    .search-input,
    .category-input {
        width: 100%;
        padding: 1.2rem 1.5rem;
        font-size: 16px;
        order: 1;
    }
    .question-textarea {
        padding: 1.2rem 1.5rem;
        font-size: 16px;
        min-height: 100px;
        order: 2;
    }
    .file-upload-area {
        padding: 1.5rem;
        order: 3;
    }
    .file-preview {
        order: 4;
    }
    .search-btn-container.expanded-only {
        order: 5;
        margin-top: 1.5rem;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .tutor-container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-title {
        font-size: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        min-height: 280px;
    }
    .geometric-shapes-container {
        height: 280px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        justify-items: center;
        align-items: center;
    }
    .geometric-shape {
        animation: floatShapeMobile 2.5s ease-in-out infinite;
    }
    .triangle-shape-1,
    .square-shape-1,
    .circle-shape-1,
    .diamond-shape-1,
    .hexagon-shape-1,
    .pentagon-shape-1 {
        width: 60px;
        height: 60px;
    }
    .hexagon-shape-1,
    .pentagon-shape-1 {
        display: none;
    }
    .search-container {
        padding: 2rem;
    }
    .step-card,
    .journey-step {
        padding: 32px 20px;
        border-radius: 24px;
    }
    .section-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }
    .section-badge {
        font-size: 11px;
        padding: 8px 16px;
        gap: 6px;
    }
    .section-header {
        margin-bottom: 50px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    .step-card {
        padding: 28px 20px;
    }
    .step-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
    .step-number {
        width: 50px;
        height: 28px;
        font-size: 16px;
        margin-bottom: 16px;
    }
    .step-icon {
        width: 60px;
        height: 60px;
    }
    .step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .step-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .benefit-item {
        font-size: 14px;
        gap: 6px;
    }
    .cta-container {
        padding: 32px 20px;
    }
    .cta-title {
        font-size: 2.25rem;
    }
    .cta-subtitle {
        font-size: 14px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .cta-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    .step-decoration {
        gap: 12px;
        margin-bottom: 24px;
    }
    .step-number {
        font-size: 16px;
        padding: 8px 14px;
        min-width: 60px;
    }
    .step-progress-line {
        height: 1px;
    }
    .step-icon-wrapper {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
        border-radius: 20px;
    }
    .journey-step .step-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .journey-step .step-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .step-features {
        gap: 8px;
    }
    .feature-item {
        padding: 6px 12px;
        gap: 8px;
        border-radius: 10px;
    }
    .feature-item svg {
        width: 14px;
        height: 14px;
    }
    .feature-item span {
        font-size: 0.85rem;
    }
    .how-it-works-cta {
        margin-top: 50px;
        padding: 0 16px;
    }
    .cta-content {
        padding: 32px 24px;
        border-radius: 20px;
    }
    .cta-title {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: 8px;
        border-radius: 12px;
    }
    .cta-button svg {
        width: 16px;
        height: 16px;
    }
    .subject-card,
    .feature-card,
    .testimonial-card {
        padding: 2rem;
    }
    .hero-badge {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    .subjects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .testimonials-slider .owl-dots {
        margin-top: 30px;
    }
    .testimonials-slider .owl-dots .owl-dot {
        width: 12px;
        height: 12px;
    }
}
@keyframes floatShapeMobile {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.01);
    }
}
.keyboard-navigation *:focus {
    outline: 3px solid #6366f1;
    outline-offset: 3px;
}
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.search-input:hover {
    border-color: #6366f1;
}
.stat-item:hover .stat-number {
    color: #8b5cf6;
}
.subject-card,
.step-card,
.feature-card,
.testimonial-card,
.btn-primary,
.btn-secondary,
.search-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}
.search-input,
.category-input,
.question-textarea {
    color: #1e293b;
}
.search-input::placeholder,
.category-input::placeholder,
.question-textarea::placeholder {
    color: #64748b;
}
.testimonials-slider .owl-stage-outer {
    overflow: hidden;
}
.testimonials-slider .owl-stage {
    display: flex;
    align-items: stretch;
}
.tutor-profiles-section {
    padding: 8rem 0;
    background: #d1efe5;
    position: relative;
    overflow: hidden;
}
.tutor-profiles-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgb(99 102 241 / 0.08) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgb(139 92 246 / 0.08) 0%, transparent 50%);
}
.tutor-profiles-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}
.tutor-slider {
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}
.tutor-slider.upper-slider {
    margin-bottom: 2rem;
}
.tutor-slider.lower-slider {
    margin-top: 2rem;
}
.tutor-slider .owl-item {
    padding: 0 15px;
    box-sizing: border-box;
}
.tutor-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgb(99 102 241 / 0.1);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
}
.tutor-profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.tutor-profile-card:hover {
    box-shadow: none;
    border-color: rgb(99 102 241 / 0.2);
}
.teacher-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 120px;
    padding-right: 1rem;
    border-right: 1px solid #e5e7eb;
}
.tutor-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    position: relative;
    flex-shrink: 0;
}
.teacher-details {
    text-align: center;
    width: 100%;
}
.tutor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 0;
}
.tutor-subject {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.teacher-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}
.teacher-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.review-quote {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
    line-height: normal;
    position: relative;
}
.review-quote::before {
    content: '"';
    font-size: 1.8rem;
    color: #6366f1;
    position: absolute;
    top: -0.3rem;
    left: -0.8rem;
    font-family: serif;
    opacity: 0.6;
}
.review-text {
    color: #64748b;
    line-height: normal;
    font-size: 12px;
    font-style: italic;
    flex-grow: 1;
    text-align: left;
}
.review-author {
    color: #1e293b;
    font-weight: 600;
    font-size: 12px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}
.teacher-profile {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
@media (max-width: 1024px) {
    .tutor-profiles-section {
        padding: 6rem 0;
    }
    .tutor-profile-card {
        padding: 1.5rem;
        min-height: 260px;
        gap: 1rem;
    }
    .teacher-profile {
        width: 100px;
    }
    .tutor-avatar {
        width: 70px;
        height: 70px;
    }
    .tutor-name {
        font-size: 1rem;
    }
    .tutor-subject {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}
@media (max-width: 768px) {
    .subject-level {
        font-size: 12px;
    }
    .tutor-count {
        font-size: 14px;
    }
    .tutor-profiles-section {
        padding: 5rem 0;
    }
    .tutor-slider {
        margin: 2rem 0;
    }
    .tutor-profile-card {
        padding: 1.25rem;
        min-height: 240px;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .teacher-profile {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        gap: 1rem;
    }
    .teacher-details {
        text-align: left;
        flex: 1;
    }
    .tutor-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    .tutor-name {
        font-size: 1.1rem;
        text-align: left;
    }
    .tutor-subject {
        width: auto;
        text-align: center;
    }
    .review-quote {
        font-size: 1rem;
    }
    .review-text {
        font-size: 0.85rem;
    }
    .review-author {
        text-align: center;
    }
    .tutor-slider.upper-slider .owl-stage {
        animation: slideForward 80s linear infinite;
    }
    .tutor-slider.lower-slider .owl-stage {
        animation: slideBackward 80s linear infinite;
    }
}
@media (max-width: 480px) {
    .tutor-profiles-section {
        padding: 4rem 0;
    }
    .tutor-profile-card {
        padding: 1rem;
        min-height: 220px;
    }
    .tutor-avatar {
        width: 50px;
        height: 50px;
    }
    .tutor-name {
        font-size: 1rem;
    }
    .tutor-subject {
        font-size: 0.65rem;
        padding: 0.25rem 0.4rem;
    }
    .review-quote {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    .review-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .review-author {
        font-size: 0.75rem;
    }
}
.tutor-slider.upper-slider .owl-stage {
    animation: slideForward 80s linear infinite;
}
.tutor-slider.lower-slider .owl-stage {
    animation: slideBackward 80s linear infinite;
}
@keyframes slideForward {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@keyframes slideBackward {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}
.tutor-slider:hover .owl-stage {
    animation-play-state: paused;
}
.voice-tutor {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.chemistry-tutor {
    background: linear-gradient(135deg, #10b981, #059669);
}
.statistics-tutor {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.math-tutor {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.guitar-tutor {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.physics-tutor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
.language-tutor {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}
.cs-tutor {
    background: linear-gradient(135deg, #10b981, #059669);
}
.tutor-avatar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.tutor-avatar img[src=""],
.tutor-avatar img:not([src]) {
    opacity: 0;
}
.tutor-avatar:has(img[src=""]) ::after,
.tutor-avatar:has(img:not([src])) ::after {
    opacity: 1;
}
.tutor-slider .owl-nav {
    display: none;
}
.tutor-slider .owl-dots {
    display: none;
}
.tutor-slider .owl-stage-outer {
    overflow: hidden;
}
.tutor-slider .owl-stage {
    display: flex;
    align-items: stretch;
}
.tutor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.15);
    transition: all 0.3s ease;
}
.tutor-avatar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tutor-profile-card:hover .tutor-avatar::before {
    opacity: 1;
}
.tutor-profile-card:hover .tutor-avatar {
    transform: scale(1.05);
}
.tutor-profile-card:hover .tutor-avatar img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgb(99 102 241 / 0.25);
}
.tutor-info {
    display: none;
}
.tutor-review {
    display: none;
}
.us-map-section {
    padding: 8rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.us-map-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgb(99 102 241 / 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgb(139 92 246 / 0.05) 0%, transparent 50%);
}
.us-map-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}
.map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
}
.interactive-map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
.interactive-map-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.02) 0%, rgb(139 92 246 / 0.02) 100%);
    pointer-events: none;
}
.us-interactive-map {
    width: 100%;
    height: 600px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.1);
}
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #64748b;
    z-index: 10;
}
.map-loading.hidden {
    display: none;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes pinAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.map-loading p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}
.legend-controls {
    display: flex;
    gap: 0.5rem;
}
.map-control-btn {
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.map-control-btn:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(99 102 241 / 0.3);
}
.tutor-tooltip {
    position: absolute;
    background: rgb(255 255 255 / 0.98) !important;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 70px rgb(0 0 0 / 0.25) !important;
    border: 2px solid #6366f1 !important;
    backdrop-filter: blur(15px) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
    min-width: 320px;
    max-width: 380px;
}
.tutor-tooltip::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 23px;
    background: #fff;
    z-index: -1;
    opacity: 0.8;
}
.tutor-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.tooltip-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.tooltip-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.3);
}
.avatar-border {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}
@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.tooltip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.tooltip-info {
    flex: 1;
    min-width: 0;
}
.tooltip-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: none !important;
}
.tooltip-subject {
    color: #6366f1 !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.15), rgb(139 92 246 / 0.15)) !important;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgb(99 102 241 / 0.3);
    margin-bottom: 1rem;
    text-shadow: none !important;
}
.tooltip-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.tooltip-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.star-rating {
    color: #fbbf24 !important;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.1) !important;
}
.rating-text {
    color: #64748b !important;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: none !important;
}
.tooltip-lessons {
    color: #10b981 !important;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: none !important;
}
.tooltip-arrow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #fff0;
    border-right: 12px solid #fff0;
    border-top: 12px solid rgb(255 255 255 / 0.98);
    z-index: 3;
}
.tooltip-arrow::before {
    content: "";
    position: absolute;
    bottom: 3px;
    left: -14px;
    width: 0;
    height: 0;
    border-left: 14px solid #fff0;
    border-right: 14px solid #fff0;
    border-top: 14px solid #6366f1;
    z-index: -1;
}
.red-pin-marker {
    background: #ef4444 !important;
    border: 4px solid white !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px rgb(239 68 68 / 0.5) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    position: relative !important;
    transform-origin: center center !important;
}
.red-pin-marker div {
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    transform-origin: center center !important;
    transition: all 0.3s ease !important;
}
.red-pin-marker:hover {
    z-index: 1000 !important;
}
.red-pin-marker:hover div {
    transform: scale(1.4) !important;
    box-shadow: 0 12px 35px rgb(239 68 68 / 0.7) !important;
    background: #dc2626 !important;
}
.leaflet-marker-icon {
    border: none !important;
    background: transparent !important;
}
.leaflet-marker-icon.red-pin-marker {
    background: transparent !important;
}
.leaflet-marker-pane .red-pin-marker {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}
@keyframes pinAppear {
    0% {
        opacity: 0 !important;
        transform: scale(0) !important;
    }
    60% {
        opacity: 1 !important;
        transform: scale(1.2) !important;
    }
    100% {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}
.red-pin-marker * {
    pointer-events: none;
}
.red-pin-marker {
    pointer-events: auto !important;
}
.modern-pin-marker {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    cursor: pointer;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modern-pin-marker .pin-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modern-pin-marker .pin-head {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.modern-pin-marker:hover {
    transform: scale(1.05);
}
.modern-pin-marker:hover .pin-head {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgb(59 130 246 / 0.6) !important;
}
.modern-pin-marker:hover .pin-shadow {
    opacity: 0.5;
    transform: translateX(-50%) scale(1.2);
}
.tutor-count-tooltip {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-feature-settings: "kern" 1, "liga" 1;
}
.tutor-count-tooltip .tooltip-content {
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.tutor-count-tooltip .profile-circle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.tutor-count-tooltip .profile-circle:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.25), 0 0 0 2px rgb(59 130 246 / 0.4);
    z-index: 100 !important;
    border-color: rgb(59 130 246 / 0.6);
}
.tutor-count-tooltip .profile-circle img {
    transition: all 0.3s ease;
}
.tutor-count-tooltip .profile-circle:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
}
.tutor-count-tooltip .profile-circle:hover .profile-overlay {
    opacity: 1;
}
.tutor-count-tooltip .profile-images {
    transition: transform 0.2s ease;
}
.tutor-count-tooltip .profile-images-container:hover .profile-images {
    transform: translateY(-2px);
}
.tutor-count-tooltip .location-header {
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}
.tutor-count-tooltip .tutor-count {
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    display: block;
    position: relative;
}
.tutor-count-tooltip .tutor-count::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    opacity: 0.3;
}
.tutor-count-tooltip .availability-text {
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}
.tutor-count-tooltip .profile-images {
    padding: 0;
}
.tutor-count-tooltip .profile-images-container {
    position: relative;
}
.tutor-count-tooltip .profile-images-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: radial-gradient(circle, rgb(59 130 246 / 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.tutor-count-tooltip {
    animation: tooltipFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.leaflet-marker-icon.modern-pin-marker {
    border: none !important;
    background: transparent !important;
}
.leaflet-marker-pane .modern-pin-marker {
    z-index: 1000 !important;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .us-map-section {
        padding: 6rem 0;
    }
    .map-container {
        margin: 0 2rem;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 15px 40px rgb(0 0 0 / 0.1);
    }
    .interactive-map-wrapper {
        height: 500px;
        border-radius: 16px 16px 0 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }
    .us-interactive-map {
        height: 500px;
    }
    .tutor-tooltip {
        min-width: 280px;
        max-width: 320px;
        padding: 1.5rem;
    }
    .tooltip-avatar {
        width: 70px;
        height: 70px;
    }
    .tooltip-name {
        font-size: 1.3rem;
    }
    .tooltip-subject {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    .map-legend {
        gap: 2rem;
        padding: 1.5rem;
        background: #fff;
        border-radius: 0 0 16px 16px;
        margin: 0;
    }
}
@media (max-width: 768px) {
    .us-map-section {
        padding: 5rem 0;
    }
    .map-container {
        padding: 0 1rem;
        max-width: none;
    }
    .interactive-map-wrapper {
        padding: 1.25rem;
        border-radius: 16px;
        margin: 0 0.5rem;
    }
    .us-interactive-map {
        height: 400px;
        border-radius: 12px;
    }
    .tutor-tooltip {
        min-width: 260px;
        max-width: 300px;
        padding: 1.25rem;
        border-radius: 16px;
    }
    .tooltip-content {
        gap: 1rem;
    }
    .tooltip-avatar {
        width: 60px;
        height: 60px;
    }
    .tooltip-name {
        font-size: 1.2rem;
    }
    .tooltip-subject {
        font-size: 0.95rem;
        padding: 0.3rem 0.8rem;
    }
    .tooltip-rating,
    .tooltip-lessons {
        font-size: 0.9rem;
    }
    .map-legend {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem;
        margin: 2rem 1rem 0;
        max-width: none;
        border-radius: 16px;
    }
    .legend-item {
        font-size: 0.9rem;
        gap: 0.75rem;
        justify-content: center;
    }
    .map-control-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    .red-pin-marker {
        width: 18px !important;
        height: 18px !important;
    }
    .tutor-count-tooltip .tooltip-content {
        min-width: 300px !important;
        max-width: 320px !important;
        padding: 24px 20px !important;
        border-radius: 18px !important;
    }
    .tutor-count-tooltip .location-header {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .tutor-count-tooltip .tutor-count {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }
    .tutor-count-tooltip .availability-text {
        font-size: 15px !important;
    }
    .tutor-count-tooltip .profile-circle {
        width: 40px !important;
        height: 40px !important;
        margin-left: -12px !important;
        border-width: 2px !important;
    }
    .tutor-count-tooltip .profile-circle:first-child {
        margin-left: 0 !important;
    }
    .tutor-count-tooltip .profile-images {
        height: 40px !important;
        padding: 0 6px !important;
    }
    .tutor-count-tooltip .profile-images-container {
        margin-bottom: 20px !important;
    }
    .tutor-profiles-section {
        padding: 5rem 0;
    }
    .tutor-slider {
        margin: 2rem 0;
    }
    .tutor-profile-card {
        padding: 1.25rem;
        min-height: 240px;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        border-radius: 16px;
    }
    .teacher-profile {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        gap: 1rem;
    }
    .teacher-details {
        text-align: left;
        flex: 1;
    }
    .tutor-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    .tutor-name {
        font-size: 14px;
        text-align: left;
    }
    .tutor-subject {
        width: auto;
        text-align: center;
        font-size: 12px;
    }
    .review-quote {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }
    .review-text {
        font-size: 14px;
        line-height: 1.5;
    }
    .review-author {
        text-align: center;
        font-size: 12px;
        margin-top: 1rem;
    }
    .tutor-slider .owl-item {
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .us-map-section {
        padding: 4rem 0;
    }
    .us-map-section .section-header {
        padding: 0 1rem;
    }
    .us-map-section .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .us-map-section .section-subtitle {
        font-size: 14px;
    }
    .map-container {
        padding: 0 0.5rem;
    }
    .interactive-map-wrapper {
        padding: 1rem;
        border-radius: 12px;
        margin: 0 0.25rem;
        height: 400px;
    }
    .us-interactive-map {
        height: 100%;
        border-radius: 10px;
    }
    .tutor-tooltip {
        min-width: 240px;
        max-width: 270px;
        padding: 1rem;
        border-radius: 14px;
    }
    .tooltip-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .tooltip-avatar {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    .tooltip-name {
        font-size: 1rem;
    }
    .tooltip-subject {
        font-size: 0.85rem;
        padding: 0.25rem 0.7rem;
    }
    .tooltip-details {
        gap: 0.5rem;
    }
    .tooltip-rating,
    .tooltip-lessons {
        font-size: 0.8rem;
        justify-content: center;
    }
    .map-legend {
        gap: 1rem;
        padding: 1rem;
        margin: 1.5rem 0.5rem 0;
        border-radius: 12px;
    }
    .legend-item {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    .legend-pin {
        width: 14px;
        height: 14px;
    }
    .legend-rating .star {
        font-size: 0.9rem;
    }
    .map-control-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    .red-pin-marker {
        width: 16px !important;
        height: 16px !important;
    }
    .tutor-count-tooltip .tooltip-content {
        min-width: 280px !important;
        max-width: 300px !important;
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    .tutor-count-tooltip .location-header {
        font-size: 19px !important;
        margin-bottom: 8px !important;
    }
    .tutor-count-tooltip .tutor-count {
        font-size: 26px !important;
        margin-bottom: 18px !important;
    }
    .tutor-count-tooltip .availability-text {
        font-size: 14px !important;
    }
    .tutor-count-tooltip .profile-circle {
        width: 36px !important;
        height: 36px !important;
        margin-left: -10px !important;
        border-width: 2px !important;
    }
    .tutor-count-tooltip .profile-circle:first-child {
        margin-left: 0 !important;
    }
    .tutor-count-tooltip .profile-images {
        height: 36px !important;
        padding: 0 4px !important;
    }
    .tutor-count-tooltip .profile-images-container {
        margin-bottom: 16px !important;
    }
    .tutor-profiles-section {
        padding: 4rem 0;
    }
    .tutor-profiles-section .section-header {
        padding: 0 1rem;
    }
    .tutor-profiles-section .section-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    .tutor-profiles-section .section-subtitle {
        font-size: 14px;
    }
    .tutor-profile-card {
        padding: 1rem;
        min-height: 220px;
        border-radius: 12px;
        margin: 0 0.25rem;
    }
    .teacher-profile {
        gap: 0.75rem;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    .tutor-avatar {
        width: 50px;
        height: 50px;
    }
    .tutor-name {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }
    .tutor-subject {
        font-size: 12px;
        padding: 0.25rem 0.4rem;
    }
    .review-quote {
        font-size: 12px;
        margin-bottom: 0.5rem;
    }
    .review-text {
        font-size: 12px;
        line-height: 1.4;
    }
    .review-author {
        font-size: 12px;
        margin-top: 0.75rem;
    }
    .tutor-slider .owl-item {
        padding: 0 8px;
    }
    .tutor-slider .owl-stage {
        display: flex;
        align-items: stretch;
    }
}
.leaflet-marker-icon:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}
.red-pin-marker:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
    border-radius: 50%;
}
@media (pointer: coarse) {
    .tutor-tooltip {
        transform: translateY(10px) scale(0.95);
    }
    .tutor-tooltip.show {
        transform: translateY(0) scale(1);
    }
    .red-pin-marker {
        width: 22px !important;
        height: 22px !important;
    }
    .red-pin-marker:hover {
        transform: scale(1.3);
    }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .red-pin-marker {
        border-width: 3px;
    }
}
.us-map-section .tutor-container {
    max-width: none;
    padding: 0;
}
.us-map-section .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}
.map-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgb(99 102 241 / 0.1);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}
.legend-item:hover {
    color: #6366f1;
    transform: translateY(-2px);
}
.legend-pin {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef4444;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgb(239 68 68 / 0.4);
    animation: legendPulse 2s ease-in-out infinite;
}
@keyframes legendPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
.legend-rating .star {
    color: #fbbf24;
    font-size: 1rem;
}
.leaflet-container {
    font-family: "Inter", sans-serif;
}
.leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgb(0 0 0 / 0.15);
    border: 2px solid #6366f1;
}
.leaflet-popup-tip {
    background: #6366f1;
}
.leaflet-control-zoom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgb(0 0 0 / 0.1);
    margin-top: 20px;
    margin-left: 20px;
}
.leaflet-control-zoom a {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #6366f1;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    line-height: 38px;
    font-size: 18px;
}
.leaflet-control-zoom a:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}
.pricing-plans-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}
.pricing-plans-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgb(99 102 241 / 0.08) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgb(139 92 246 / 0.08) 0%, transparent 50%);
}
.pricing-plans-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgb(0 0 0 / 0.08);
    border: 2px solid #fff0;
    transform-origin: center;
}
.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.02) 0%, rgb(139 92 246 / 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pricing-card:hover::before {
    opacity: 1;
}
.pricing-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: #6366f1;
    box-shadow: 0 35px 80px rgb(99 102 241 / 0.15);
}
.pricing-card.popular {
    border-color: #6366f1;
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgb(99 102 241 / 0.2);
}
.pricing-card.popular::after {
    content: "Most Popular";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.3);
}
.pricing-card.popular:hover {
    transform: translateY(-20px) scale(1.07);
}
.plan-header {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}
.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(139 92 246 / 0.1) 100%);
    border: 2px solid rgb(99 102 241 / 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}
.plan-icon svg {
    color: #6366f1;
    transition: all 0.3s ease;
}
.pricing-card:hover .plan-icon {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.15) 0%, rgb(139 92 246 / 0.15) 100%);
    border-color: rgb(99 102 241 / 0.3);
    transform: scale(1.1) rotate(5deg);
}
.pricing-card:hover .plan-icon svg {
    color: #8b5cf6;
    transform: scale(1.1);
}
.plan-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.plan-description {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.plan-pricing {
    margin: 2.5rem 0;
    position: relative;
    z-index: 1;
}
.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}
.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
}
.price-period {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 600;
}
.price-note {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    position: relative;
    z-index: 1;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.plan-features li:hover {
    color: #1e293b;
    transform: translateX(5px);
}
.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgb(16 185 129 / 0.3);
}
.plan-cta {
    position: relative;
    z-index: 1;
}
.plan-button {
    width: 100%;
    padding: 1.5rem 2rem;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #fff0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.plan-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.3), transparent);
    transition: left 0.5s ease;
}
.plan-button:hover::before {
    left: 100%;
}
.plan-button.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 15px 40px rgb(99 102 241 / 0.3);
}
.plan-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgb(99 102 241 / 0.4);
    background: linear-gradient(135deg, #5046e4 0%, #7c3aed 100%);
}
.plan-button.secondary {
    background: #fff;
    color: #6366f1;
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.15);
}
.plan-button.secondary:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgb(99 102 241 / 0.3);
}
.guarantee-badge {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.guarantee-badge svg {
    width: 16px;
    height: 16px;
}
.pricing-card.premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    border-color: #fbbf24;
}
.pricing-card.premium .plan-name,
.pricing-card.premium .price-amount {
    color: #fff;
}
.pricing-card.premium .plan-description,
.pricing-card.premium .price-note,
.pricing-card.premium .plan-features li {
    color: #cbd5e1;
}
.pricing-card.premium .plan-icon {
    background: linear-gradient(135deg, rgb(251 191 36 / 0.2) 0%, rgb(245 158 11 / 0.2) 100%);
    border-color: rgb(251 191 36 / 0.3);
}
.pricing-card.premium .plan-icon svg {
    color: #fbbf24;
}
.pricing-card.premium .price-currency {
    color: #fbbf24;
}
.pricing-card.premium::after {
    content: "Premium";
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
}
@media (max-width: 1024px) {
    .pricing-plans-section {
        padding: 6rem 0;
    }
    .pricing-plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }
    .pricing-card {
        padding: 2.5rem;
    }
    .pricing-card.popular {
        transform: scale(1.02);
    }
    .pricing-card.popular:hover {
        transform: translateY(-15px) scale(1.04);
    }
    .plan-icon {
        width: 70px;
        height: 70px;
    }
    .price-amount {
        font-size: 3.5rem;
    }
}
@media (max-width: 768px) {
    .pricing-plans-section {
        padding: 5rem 0;
    }
    .pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    .pricing-card {
        padding: 2rem;
        border-radius: 20px;
    }
    .pricing-card.popular {
        transform: scale(1);
        margin-top: 2rem;
    }
    .pricing-card.popular:hover,
    .pricing-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
    .plan-name {
        font-size: 1.6rem;
    }
    .plan-description {
        font-size: 1rem;
    }
    .price-amount {
        font-size: 3rem;
    }
    .price-currency {
        font-size: 1.3rem;
    }
    .price-period {
        font-size: 1.1rem;
    }
    .plan-features li {
        font-size: 0.95rem;
    }
    .plan-button {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .pricing-plans-section {
        padding: 4rem 0;
    }
    .pricing-plans-section .section-header {
        padding: 0 1rem;
    }
    .pricing-plans-section .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .pricing-plans-section .section-subtitle {
        font-size: 14px;
    }
    .pricing-plans-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    .pricing-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    .pricing-card.popular::after {
        font-size: 0.8rem;
        padding: 0.4rem 1.5rem;
    }
    .plan-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .plan-name {
        font-size: 1.4rem;
    }
    .price-amount {
        font-size: 2.5rem;
    }
    .price-currency {
        font-size: 1.2rem;
    }
    .price-period {
        font-size: 1rem;
    }
    .plan-features {
        margin: 2rem 0;
    }
    .plan-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    .feature-icon {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    .plan-button {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 14px;
    }
    .guarantee-badge {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}
@keyframes priceCardAppear {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.pricing-card {
    animation: priceCardAppear 0.6s ease-out forwards;
}
.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}
.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}
.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}
.plan-button:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}
.pricing-card:focus-within {
    outline: 3px solid #6366f1;
    outline-offset: 3px;
}
.map-instructions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.instruction-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(255 255 255 / 0.9);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    border: 2px solid #fff0;
}
.instruction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.15);
    border-color: #3b82f6;
}
.instruction-icon {
    font-size: 1.2rem;
    line-height: 1;
}
.instruction-text {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}
.faq-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}
.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgb(59 130 246 / 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgb(139 92 246 / 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgb(16 185 129 / 0.06) 0%, transparent 70%);
    opacity: 0.7;
}
.faq-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
    text-align: center;
}
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}
.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.faq-item {
    background: rgb(255 255 255 / 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgb(255 255 255 / 0.3);
    box-shadow: 0 8px 32px rgb(0 0 0 / 0.08), 0 1px 3px rgb(0 0 0 / 0.05);
    position: relative;
}
.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.faq-item:hover::before {
    opacity: 1;
}
.faq-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgb(0 0 0 / 0.12), 0 8px 25px rgb(0 0 0 / 0.08);
    border-color: rgb(59 130 246 / 0.2);
}
.faq-item.active {
    background: linear-gradient(135deg, rgb(255 255 255 / 0.98) 0%, rgb(239 246 255 / 0.95) 100%);
    border-color: rgb(59 130 246 / 0.3);
    box-shadow: 0 20px 60px rgb(59 130 246 / 0.15), 0 8px 25px rgb(59 130 246 / 0.1);
}
.faq-item.active::before {
    opacity: 1;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff0;
}
.faq-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}
.faq-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.faq-item:hover .faq-icon,
.faq-item.active .faq-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.4);
}
.faq-question h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    transition: color 0.3s ease;
}
.faq-item:hover .faq-question h5,
.faq-item.active .faq-question h5 {
    color: #3b82f6;
}
.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    border: 1px solid rgb(0 0 0 / 0.05);
}
.faq-toggle svg {
    color: #6b7280;
    transition: all 0.3s ease;
}
.faq-item.active .faq-toggle {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-color: #fff0;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgb(59 130 246 / 0.4);
}
.faq-item.active .faq-toggle svg {
    color: #fff;
}
.faq-item:hover .faq-toggle:not(.faq-item.active .faq-toggle) {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    transform: scale(1.05);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}
.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid rgb(0 0 0 / 0.08);
    margin-top: 0;
    padding-top: 1.5rem;
}
.faq-answer p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}
.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
    font-size: 14px;
}
.faq-cta {
    background: linear-gradient(135deg, rgb(255 255 255 / 0.9) 0%, rgb(239 246 255 / 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 0.3);
    box-shadow: 0 20px 60px rgb(0 0 0 / 0.08), 0 8px 25px rgb(0 0 0 / 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}
.faq-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgb(59 130 246 / 0.05), rgb(139 92 246 / 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.faq-cta:hover::before {
    opacity: 1;
}
.faq-cta-content {
    position: relative;
    z-index: 2;
}
.faq-cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    box-shadow: 0 12px 30px rgb(59 130 246 / 0.3);
    transition: all 0.3s ease;
}
.faq-cta:hover .faq-cta-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgb(59 130 246 / 0.4);
}
.faq-cta h5 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
}
.faq-cta p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.faq-cta-buttons .btn-primary,
.faq-cta-buttons .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}
.faq-cta-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgb(59 130 246 / 0.3);
}
.faq-cta-buttons .btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgb(59 130 246 / 0.4);
}
.faq-cta-buttons .btn-secondary {
    background: rgb(255 255 255 / 0.9);
    color: #3b82f6;
    border: 1px solid rgb(59 130 246 / 0.2);
    backdrop-filter: blur(10px);
}
.faq-cta-buttons .btn-secondary:hover {
    background: rgb(59 130 246 / 0.1);
    border-color: rgb(59 130 246 / 0.3);
    transform: translateY(-2px) scale(1.05);
}
@media (max-width: 768px) {
    .map-instructions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .instruction-item {
        padding: 0.6rem 1rem;
        border-radius: 20px;
    }
    .instruction-text {
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }
    .instruction-icon {
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .map-instructions {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    .instruction-item {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    .instruction-text {
        font-size: 12px;
        line-height: 1.3;
    }
}
@media (max-width: 1024px) {
    .faq-grid {
        gap: 1.5rem;
    }
    .faq-column {
        gap: 1.25rem;
    }
    .faq-item {
        border-radius: 16px;
    }
    .faq-question {
        padding: 1.5rem;
    }
    .faq-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .faq-cta {
        padding: 2.5rem;
        border-radius: 20px;
    }
    .faq-cta-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
}
@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 0;
    }
    .faq-section .section-header {
        margin-bottom: 3.5rem;
    }
    .faq-container {
        padding: 0 1rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 3rem;
    }
    .faq-column {
        gap: 1.25rem;
    }
    .faq-item {
        border-radius: 16px;
    }
    .faq-item:hover {
        transform: translateY(-4px) scale(1.01);
    }
    .faq-question {
        padding: 1.5rem;
    }
    .faq-content {
        gap: 0.75rem;
    }
    .faq-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .faq-question h5 {
        font-size: 1rem;
        line-height: 1.4;
    }
    .faq-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        padding-top: 1.25rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .faq-cta {
        padding: 2rem;
        border-radius: 18px;
        margin-top: 2rem;
    }
    .faq-cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .faq-cta h5 {
        font-size: 1.5rem;
    }
    .faq-cta p {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .faq-cta-buttons .btn-primary,
    .faq-cta-buttons .btn-secondary {
        padding: 0.875rem 1.5rem;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .faq-section {
        padding: 4rem 0;
    }
    .faq-section .section-header {
        margin-bottom: 2.5rem;
    }
    .faq-section .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .faq-section .section-subtitle {
        font-size: 14px;
        padding: 0 0.5rem;
    }
    .faq-container {
        padding: 0 0.75rem;
    }
    .faq-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .faq-column {
        gap: 1rem;
    }
    .faq-item {
        border-radius: 14px;
    }
    .faq-item:hover {
        transform: translateY(-2px) scale(1.005);
    }
    .faq-question {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        position: relative;
    }
    .faq-content {
        width: 100%;
        gap: 0.75rem;
    }
    .faq-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .faq-question h5 {
        font-size: 14px;
        line-height: 1.4;
        padding-right: 0;
    }
    .faq-toggle {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }
    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
        padding-top: 1rem;
    }
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .faq-cta {
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1.5rem;
    }
    .faq-cta-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    .faq-cta h5 {
        font-size: 16px;
        margin-bottom: 0.75rem;
    }
    .faq-cta p {
        font-size: 14px;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    .faq-cta-buttons {
        gap: 0.5rem;
    }
    .faq-cta-buttons .btn-primary,
    .faq-cta-buttons .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 14px;
        border-radius: 10px;
    }
}
@keyframes fadeInFAQ {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotateY(-15deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotateY(15deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}
@keyframes iconBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}
@keyframes gradientShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
.faq-section {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.8s ease;
}
.faq-section.faq-visible {
    opacity: 1;
    transform: translateY(0);
}
.faq-item {
    opacity: 0;
    animation: fadeInFAQ 0.6s ease-out forwards;
}
.faq-column:first-child .faq-item {
    animation: slideInFromLeft 0.7s ease-out forwards;
}
.faq-column:last-child .faq-item {
    animation: slideInFromRight 0.7s ease-out forwards;
}
.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}
.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}
.faq-item:hover .faq-icon {
    animation: iconBounce 0.6s ease;
}
.faq-cta-buttons .btn-primary {
    background-size: 200% 100%;
    background-image: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}
.faq-cta-buttons .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.faq-cta-buttons .btn-primary:hover::before {
    transform: translateX(100%);
}
.faq-question:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 16px;
}
.faq-question:focus-visible {
    box-shadow: 0 0 0 4px rgb(59 130 246 / 0.2);
}
@media (prefers-contrast: high) {
    .faq-item {
        border: 2px solid #000;
        background: #fff;
    }
    .faq-icon {
        background: #000;
        color: #fff;
    }
    .faq-toggle {
        background: #000;
        color: #fff;
    }
}
@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-section,
    .faq-icon,
    .faq-toggle,
    .faq-answer,
    .faq-cta {
        animation: none !important;
        transition: none !important;
    }
    .faq-item {
        opacity: 1;
        transform: none;
    }
    .faq-section {
        opacity: 1;
        transform: none;
    }
}
.subject-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}
.subject-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0.3);
    z-index: 0;
    transition: all 0.4s ease;
}
.subject-card a:hover {
    text-decoration: none;
}
.subjects-grid-container {
    position: relative;
    overflow: hidden;
}
.subjects-grid {
    transition: max-height 0.5s ease;
}
.subjects-grid.collapsed {
    max-height: 650px;
    overflow: hidden;
}
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.load-more-btn {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(59 130 246 / 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}
.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(59 130 246 / 0.4);
}
.load-more-btn svg {
    transition: transform 0.3s ease;
}
.load-more-btn:hover svg {
    transform: translateY(3px);
}
@media (max-width: 1200px) {
    .subjects-grid.collapsed {
        max-height: 850px;
    }
}
@media (max-width: 768px) {
    .subjects-grid.collapsed {
        max-height: 1300px;
    }
}
@media (max-width: 480px) {
    .subjects-grid.collapsed {
        max-height: 2900px;
    }
}
.subjects-grid-container {
    position: relative;
    overflow: hidden;
}
.subjects-grid {
    transition: max-height 0.5s ease;
}
.subjects-grid.collapsed {
    max-height: 650px;
    overflow: hidden;
}
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.load-more-btn {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(59 130 246 / 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}
.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(59 130 246 / 0.4);
}
.load-more-btn svg {
    transition: transform 0.3s ease;
}
.load-more-btn:hover svg {
    transform: translateY(3px);
}
@media (max-width: 1200px) {
    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .subjects-grid.collapsed {
        max-height: 850px;
    }
}
@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .subjects-grid.collapsed {
        max-height: 1300px;
    }
}
@media (max-width: 480px) {
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    .subjects-grid.collapsed {
        max-height: 2900px;
    }
}
.cta-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgb(255 255 255 / 0.95);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}
.cta-benefit-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.03) 0%, rgb(139 92 246 / 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgb(0 0 0 / 0.12);
    border-color: rgb(99 102 241 / 0.2);
}
.cta-benefit-item:hover::before {
    opacity: 1;
}
.cta-benefit-icon {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(99 102 241 / 0.1) 0%, rgb(139 92 246 / 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgb(99 102 241 / 0.2);
    transition: all 0.3s ease;
}
.cta-benefit-item:hover .cta-benefit-icon {
    background: linear-gradient(135deg, rgb(99 102 241 / 0.15) 0%, rgb(139 92 246 / 0.15) 100%);
    border-color: rgb(99 102 241 / 0.3);
    transform: scale(1.1);
}
.cta-benefit-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-buttons {
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.cta-benefits-grid {
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}
.cta-benefit-item {
    flex: none;
    width: 45% !important;
    padding: 0;
    background: #fff0;
    box-shadow: none;
    border: none;
}
.cta-benefit-icon {
    width: 2rem;
    height: 2rem;
    background: #fff0;
    box-shadow: none;
    border: none;
    font-size: 14px;
}
.cta-benefit-text {
    font-size: 14px;
    text-align: left;
}
.btn-primary,
.btn-secondary {
    width: 100%;
    max-width: 350px;
}
.shape-inner {
    position: relative;
    overflow: hidden;
}
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.shape-inner img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.shape-inner img.loaded {
    opacity: 1;
}
.shape-inner img.loaded + .image-placeholder {
    opacity: 0;
    pointer-events: none;
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
.shape-inner img[fetchpriority="high"] {
    z-index: 3;
}
.shape-inner img {
    filter: blur(10px);
    transform: scale(1.1);
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.shape-inner img.loaded {
    filter: blur(0);
    transform: scale(1);
}
@keyframes imageLoad {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.shape-inner img.loaded {
    animation: imageLoad 0.3s ease forwards;
}
.geometric-shapes-container {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.geometric-shape {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.geometric-shape.loaded {
    opacity: 1;
    transform: translateY(0);
}
.geometric-shape:nth-child(1) {
    transition-delay: 0.1s;
}
.geometric-shape:nth-child(2) {
    transition-delay: 0.2s;
}
.geometric-shape:nth-child(3) {
    transition-delay: 0.3s;
}
.geometric-shape:nth-child(4) {
    transition-delay: 0.4s;
}
.geometric-shape:nth-child(5) {
    transition-delay: 0.5s;
}
.geometric-shape:nth-child(6) {
    transition-delay: 0.6s;
}
.tutors-by-subject-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.tutors-by-subject-section .tutor-container {
    position: relative;
    z-index: 2;
}
.tutors-by-subject-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}
.tutors-by-subject-section .section-title {
    font-size: 35px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
}
.tutors-by-subject-section .section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.subjects-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.subjects-column {
    background: #fff;
    border-radius: 16px;
    padding: 25px 15px;
    position: relative;
    overflow: hidden;
}
.subjects-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.subjects-column li {
    margin-bottom: 16px;
    transition: all 0.2s ease;
}
.subjects-column li:last-child {
    margin-bottom: 0;
}
.subjects-column li:hover {
    transform: translateX(8px);
}
.subjects-column a,
.subjects-column span {
    display: inline-flex;
    align-items: center;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
.subjects-column a::before,
.subjects-column span::before {
    content: "→";
    margin-right: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
    color: #3b82f6;
    font-weight: 700;
}
.subjects-column a:hover::before,
.subjects-column span:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.subjects-column a:hover,
.subjects-column span:hover {
    color: #3b82f6;
    background: rgb(59 130 246 / 0.05);
    padding-left: 16px;
}
.subjects-column a.disabled-link,
.subjects-column span.disabled-link {
    color: #000;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 1;
}
.subjects-column a.disabled-link::before,
.subjects-column span.disabled-link::before {
    content: "×";
    color: #94a3b8;
}
.subjects-column a.disabled-link:hover,
.subjects-column span.disabled-link:hover {
    background: none;
    padding-left: 12px;
    transform: none;
}
@media (max-width: 1200px) {
    .subjects-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .subjects-column:nth-child(4) {
        grid-column: 2;
    }
}
@media (max-width: 768px) {
    .tutors-by-subject-section {
        padding: 60px 0;
    }
    .tutors-by-subject-section .section-title {
        font-size: 2rem;
    }
    .tutors-by-subject-section .section-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    .subjects-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .subjects-column {
        padding: 24px 20px;
    }
    .subjects-column:nth-child(4) {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    .tutors-by-subject-section {
        padding: 40px 0;
    }
    .tutors-by-subject-section .section-header {
        margin-bottom: 20px;
    }
    .tutors-by-subject-section .section-title {
        font-size: 25px;
        margin-bottom: 12px;
    }
    .tutors-by-subject-section .section-subtitle {
        font-size: 14px;
    }
    .subjects-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .subjects-column {
        padding: 20px 16px;
    }
    .subjects-column:nth-child(4) {
        grid-column: span 1;
    }
    .subjects-column a {
        font-size: 16px;
        padding: 6px 10px;
    }
    .subjects-column li {
        margin-bottom: 12px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.tutors-by-subject-section {
    animation: fadeInUp 0.8s ease-out;
}
.subjects-column {
    animation: fadeInUp 0.6s ease-out;
}
.subjects-column:nth-child(1) {
    animation-delay: 0.1s;
}
.subjects-column:nth-child(2) {
    animation-delay: 0.2s;
}
.subjects-column:nth-child(3) {
    animation-delay: 0.3s;
}
.subjects-column:nth-child(4) {
    animation-delay: 0.4s;
}
.subjects-column a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 8px;
}
.subjects-column a:focus-visible {
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.2);
}
@media (prefers-contrast: high) {
    .subjects-column {
        border: 2px solid #000;
    }
    .subjects-column a {
        color: #000;
    }
    .subjects-column a:hover {
        background: #000;
        color: #fff;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tutors-by-subject-section,
    .subjects-column,
    .subjects-column a,
    .subjects-column li {
        animation: none;
        transition: none;
    }
    .subjects-column:hover {
        transform: none;
    }
    .subjects-column li:hover {
        transform: none;
    }
}

/* Category Autocomplete Styles */
.cf {
    position: relative;
    width: 100%;
}

.input-for-subject {
    position: relative;
    width: 100%;
    border: none;
    height: auto;
    padding: 0;
}

.typing-list-form {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    outline: none;
}

.typing-list-form:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgb(99 102 241 / 0.1);
}

.typing-list-form.selected {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #6366f1;
    color: #000;
    font-weight: 500;
}

.typing-list-form {
    color: #000;
}

.typing-list-form::placeholder{
    color: #000;
}

.typing-list-form.hidden {
    display: none;
}

.typed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.typed-list li {
    width: 100%;
}

.typed-list .tag {
    display: inline-flex;
    align-items: center;
    background: #e1e3e4;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
}

.typed-list .tag.hidden {
    display: none !important;
}

.typed-list .tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.choice__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background: rgb(255 255 255 / 47%);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
    border: none;
    color: #000;
}

.choice__remove:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.search-subject-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: -2px;
}

.search-subject-list.hidden {
    display: none;
}

.search-subject-list .list-group-item {
    padding: 12px 20px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    position: relative;
    overflow: hidden;
}

.search-subject-list .list-group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.search-subject-list .list-group-item:hover::before {
    transform: scaleY(1);
}

.search-subject-list .list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 18px 18px;
}

.search-subject-list .list-group-item:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: #6366f1;
    transform: translateX(4px);
}

.search-subject-list .list-group-item strong {
    color: #6366f1;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Loading state styles */
.search-subject-list .list-group-item .list-group-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-subject-list .list-group-item .list-group-link::before {
    content: '🔍';
    font-size: 12px;
    opacity: 0.7;
}

/* Error state styles */
.search-subject-list .list-group-item.error {
    color: #ef4444;
    background: #fef2f2;
}

.search-subject-list .list-group-item.error .list-group-link::before {
    content: '⚠️';
}

/* Scrollbar styling for dropdown */
.search-subject-list::-webkit-scrollbar {
    width: 6px;
}

.search-subject-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.search-subject-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.search-subject-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .typing-list-form {
        padding: 12px 16px;
        font-size: 16px;
    }

    .typed-list .tag {
        padding: 8px 14px;
        font-size: 13px;
    }

    .choice__remove {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .search-subject-list .list-group-item {
        padding: 14px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .typing-list-form {
        padding: 14px 18px;
        border-radius: 18px;
    }

    .search-subject-list {
        border-radius: 0 0 18px 18px;
    }

    .typed-list {
        gap: 6px;
    }

    .typed-list .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
}
