/* Hero Section */
.tutors-hero {
    background: linear-gradient(135deg, #0b1120 0%, #19223f 50%, #2d1b4b 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.tutors-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.tutors-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.hero-badge i {
    color: #ffd700;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #ffd700, #ff8a5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #e9edf3;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #da0b4e;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* About Section */
.about-section {
    background: white;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #e9edf3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0b1120;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-section h2 i {
    color: #da0b4e;
}

.about-section p {
    color: #334155;
    line-height: 1.7;
    font-size: 1rem;
}

/* Tutors Grid */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Tutor Card */
.tutor-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e9edf3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    border-color: #da0b4e;
}

/* Tutor Profile Image */
.tutor-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tutor-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.tutor-image-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.tutor-image-placeholder .overlay-text {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Actual Image Styling */
.tutor-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-header {
    padding: 20px 24px 12px;
    border-bottom: 1px solid #eef2f8;
}

.tutor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b1120;
    margin-bottom: 8px;
}

.tutor-badge {
    display: inline-block;
    background: #e8f4fd;
    color: #0c5460;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.tutor-badge i {
    margin-right: 5px;
}

.tutor-bio {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.read-more {
    color: #da0b4e;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pricing Section */
.pricing-section {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f8;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.price-label {
    font-size: 0.8rem;
    color: #64748b;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1120;
}

.price-value.online {
    color: #10b981;
}

.price-value.inperson {
    color: #da0b4e;
}

/* Details Section */
.details-section {
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid #eef2f8;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #64748b;
}

.detail-item i {
    color: #da0b4e;
    width: 18px;
    font-size: 0.8rem;
}

/* Card Footer */
.card-footer {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
}

.btn-book {
    flex: 1;
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218,11,78,0.3);
}

.btn-profile {
    flex: 1;
    background: white;
    border: 2px solid #e9edf3;
    color: #0b1120;
    padding: 10px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-profile:hover {
    border-color: #da0b4e;
    color: #da0b4e;
}

/* Marketplace Info */
.marketplace-info {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 28px;
    padding: 32px;
    margin-top: 40px;
    border: 1px solid #e9edf3;
}

.marketplace-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0b1120;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marketplace-info h3 i {
    color: #da0b4e;
}

.marketplace-info p {
    color: #334155;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tutors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 24px;
    }
    
    .about-section h2 {
        font-size: 1.4rem;
    }
    
    .tutor-image, .tutor-image-placeholder {
        height: 180px;
    }
}