* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.header-content .title {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.header-content .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;

    /* width: 90vw; */
    gap: 3rem;
    padding: 3rem 0;
    background: white;
}

.instructor-photo {
    text-align: center;
}

.photo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.instructor-photo img {
    width: 320px;
    height: 400px;
    object-fit: cover;

    /* box-shadow: 0 10px 30px rgba(0,0,0,0.2); */
    transition: transform 0.3s ease;
}

/* .instructor-photo img:hover {
    transform: scale(1.05);
} */
.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.contact-item strong {
    min-width: 100px;
    color: #555;
}

.social-links {
    margin-top: 1.5rem;
    text-align: center;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 15px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #34495e;
}

.instructor-details h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.3);
    padding-bottom: 0.5rem;
}

.bio-section {
    margin-bottom: 2.5rem;
}

.bio-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.bio-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.specializations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.specialization-card {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.specialization-card:hover {
    transform: translateY(-5px);
}

.specialization-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.books-section {
    background: #e8f4f8;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.books-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.book-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
}

.achievements {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.achievements h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255,255,255,.2);
    font-size: 1rem;
    position: relative;
    padding-left: 2rem;
}

.achievement-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.achievement-list li:last-child {
    border-bottom: none;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;

    /* margin-bottom: 0.5rem */
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #2c3e50;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

    .instructor-photo img {
        width: 280px;
        height: 350px;
    }

    .specializations {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.8rem;
    }

    .instructor-photo img {
        width: 240px;
        height: 300px;
    }

    .instructor-details h2 {
        font-size: 1.6rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }
}