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

:root {
    --primary-color: #7c3aed;
    --secondary-color: #14b8a6;
    --gradient: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Language Toggle Button */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.language-toggle .flag {
    font-size: 1.2rem;
}

.language-toggle .lang-text {
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s;
    animation-fill-mode: backwards;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease 0.8s;
    animation-fill-mode: backwards;
}

.stat h3 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-lg);
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.about-languages h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.language-bar {
    margin-bottom: 1.5rem;
}

.language-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Experience Section */
.experience {
    background: var(--light-bg);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 1.8;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

.info-btn {
    margin-top: 1rem;
    padding: 8px 20px;
    background: var(--light-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Teaching in Action Section */
.teaching-action {
    background: var(--white);
}

.teaching-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-image {
    margin-bottom: 3rem;
    text-align: center;
}

.showcase-img {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.image-caption {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-container {
    text-align: center;
}

.video-container h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.video-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.instagram-embed {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teaching-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Education Section */
.education {
    background: var(--white);
}

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

.education-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.education-card.clickable {
    cursor: pointer;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Educational Background Section */
.educational-background {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-bg);
}

.background-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.background-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.background-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
    transition: all 0.4s ease;
}

.background-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
}

.background-card:hover::before {
    opacity: 0.1;
}

.background-card.clickable {
    cursor: pointer;
}

.background-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.3));
}

.background-content h4 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.background-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.background-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.background-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-tag {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.background-card .learn-more {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Why Hire Me Section */
.why-hire-me {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.why-hire-me::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(100px);
}

.why-hire-content {
    position: relative;
    z-index: 1;
}

.value-proposition {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.value-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.value-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.why-hire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.2));
}

.why-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
}

.hire-me-cta {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.hire-me-cta h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.hire-me-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-highlight {
    font-size: 1.5rem !important;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2rem 0 !important;
}

.cta-highlight strong {
    font-weight: 800;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Skills Section */
.skills {
    background: var(--light-bg);
}

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

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient);
    color: var(--white);
}

.skill-card.clickable {
    border: 2px solid var(--primary-color);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-subtitle {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--text-light);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    background: var(--gradient);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    color: var(--text-dark);
}

.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-body h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.modal-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-highlight {
    background: var(--light-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-top: 2rem;
}

.modal-highlight p {
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
}

.close {
    color: var(--white);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    transform: scale(1.2);
}

.school-info {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-bg);
}

.school-info:last-child {
    border-bottom: none;
}

.school-role {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .image-container {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .teaching-highlights {
        grid-template-columns: 1fr;
    }

    .why-hire-grid {
        grid-template-columns: 1fr;
    }

    .value-title {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .language-toggle {
        position: absolute;
        right: 60px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .language-toggle .flag {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 1px;
    }

    .showcase-img {
        border-radius: 8px;
    }

    .modal-content {
        margin: 5% auto;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}
