/* Instructors Page Styles */

:root {
    --primary: #4361ee;
    --secondary: #f8961e;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset body padding for fixed header */
body {
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Hero Section */
.instructors-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.7), rgba(248, 150, 30, 0.7));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 60px 20px;
    margin: 0 auto;
}

.instructors-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.instructors-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* Intro & Assurance Section */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.intro-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.assurance-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.assurance-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(248, 150, 30, 0.05));
    border-radius: 12px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.assurance-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.1);
    border-left-color: var(--secondary);
}

.assurance-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.assurance-text h4 {
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.assurance-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), #3a56d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
    overflow: hidden;
    padding: 20px;
}

.intro-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Instructors Section */
.instructors-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Instructor Card */
.instructor-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
}

.instructor-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary), #3a56d4);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.1);
}

.instructor-info {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.instructor-title {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.instructor-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-group {
    padding: 16px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.04), rgba(248, 150, 30, 0.04));
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.detail-group h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-group h4 i {
    color: var(--secondary);
    font-size: 1rem;
}

.detail-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-group li {
    font-size: 0.85rem;
    color: #666;
    padding: 4px 0;
    line-height: 1.5;
}

.detail-group li::before {
    content: "▸ ";
    color: var(--secondary);
    margin-right: 6px;
    font-weight: 600;
}

.rating {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* CTA Section */
.cta-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 80px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.7), rgba(248, 150, 30, 0.7));
    z-index: -1;
}

.cta {
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    line-height: 1.6;
}

.btn-light {
    background: white !important;
    color: var(--primary) !important;
    padding: 15px 40px !important;
    font-weight: 700;
    border-radius: 8px !important;
    display: inline-block;
    transition: var(--transition);
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-light:hover {
    background: #f0f0f0 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image-placeholder {
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructors-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .instructors-hero {
        min-height: 40vh;
        padding: 40px 0;
    }
    
    .instructors-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .instructors-hero p {
        font-size: 1rem;
    }
    
    .intro-section {
        padding: 60px 0;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .assurance-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .intro-image-placeholder {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
    
    .instructors-section {
        padding: 60px 0;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .instructor-card {
        max-width: 100%;
    }
    
    .instructor-image {
        height: 200px;
    }
    
    .instructor-info {
        padding: 20px;
    }
    
    .instructor-name {
        font-size: 1.3rem;
    }
    
    .cta-container {
        margin: 60px 0;
        min-height: 350px;
    }
    
    .cta {
        padding: 40px 20px;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .instructors-hero h1 {
        font-size: 1.6rem;
    }
    
    .intro-content h2 {
        font-size: 1.5rem;
    }
    
    .assurance-list {
        gap: 15px;
    }
    
    .assurance-icon {
        font-size: 1.5rem;
    }
    
    .assurance-text h4 {
        font-size: 1rem;
    }
    
    .intro-image-placeholder {
        max-width: 250px;
        height: 250px;
    }
    
    .instructor-image {
        height: 180px;
    }
    
    .instructor-name {
        font-size: 1.2rem;
    }
    
    .instructor-title {
        font-size: 0.9rem;
    }
    
    .instructor-bio {
        font-size: 0.9rem;
    }
    
    .detail-group {
        padding: 12px;
    }
    
    .detail-group h4 {
        font-size: 0.85rem;
    }
    
    .detail-group li {
        font-size: 0.8rem;
    }
    
    .cta h2 {
        font-size: 1.6rem;
    }
    
    .btn-light {
        padding: 12px 30px !important;
        font-size: 1rem;
    }
}