/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Header */
.header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

.language-switcher {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #3498db;
    color: white;
}

.lang-btn.active {
    background-color: #3498db;
    color: white;
}

/* Main Content */
.main {
    padding: 40px 0 60px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}


.profile-slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: opacity 0.4s;
}

.slideshow-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.slideshow-controls button {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.slideshow-controls button:hover {
    background: #217dbb;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    font-weight: 400;
}

/* Sections */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card p {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1rem;
}

.subject-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.subject-list li {
    background-color: #e8f4fd;
    color: #2980b9;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border-left: 4px solid #3498db;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 40px 0;
    margin-top: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    text-align: center;
}

.contact-info {
    margin: 20px 0;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.doc-link {
    display: inline-block;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.doc-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .subject-list {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .doc-link {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 20px 0 40px;
    }
    
    .hero {
        padding: 30px 0 40px;
        margin-bottom: 30px;
    }
    
    .section {
        margin-bottom: 35px;
    }
    
    .lang-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Print Styles */
@media print {
    .header,
    .language-switcher {
        display: none;
    }
    
    .hero {
        background: white;
        box-shadow: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}