/* Base Styles & Variables */
:root {
    /* Colors */
    --teal: #009688;
    --orange: #ff7043;
    --light-bg: #f8f9fa;
    --dark-bg: #1e1e1e;
    --text-dark: #2b2b2b;
    --text-light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --container-width: 1200px;
}

/* Dark Theme */
[data-theme="dark"] {
    --light-bg: #1e1e1e;
    --dark-bg: #f8f9fa;
    --text-dark: #f8f9fa;
    --text-light: #2b2b2b;
    --gray: #adb5bd;
    --light-gray: #343a40;
    --white: #2b2b2b;
    --black: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: var(--transition);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--teal);
    transition: var(--transition);
}

a:hover {
    /* color: var(--orange); */
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--teal);
    color: white;
}

.btn-primary:hover {
    background-color: #00796b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 5rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: var(--container-width);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .navbar {
    background: rgba(30, 30, 30, 0.9);
}

.navbar.scrolled {
    top: 0.5rem;
    padding: 0.5rem 2rem;
    width: calc(100% - 1rem);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

/* Desktop navigation - show nav links and hide hamburger */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

.nav-links a {
    margin-left: 2rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--teal);
    transition: var(--transition);
}

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

.theme-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: var(--light-gray);
    border-radius: 50px;
    margin-left: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-toggle i {
    font-size: 14px;
    color: var(--text-dark);
}

/* Hamburger Menu - Fresh Implementation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

/* Hamburger hover effect */
.hamburger:hover span {
    background-color: var(--teal);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span {
    background-color: var(--teal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    text-align: center;
}

.hero-image{
    max-height: 250px;
    border-radius: 2em;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 80vh;
    padding-top: 4rem;
}


.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.hero-img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
    animation: fadeInDown 1s ease;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* About Section */
.about {
    background-color: var(--light-bg);
    padding: 6rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.about-video {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--border-radius);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.about-text {
    flex: 1;
}

.location-info {
    margin-bottom: 1.5rem;
}

.location-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.location-info i {
    margin-right: 0.5rem;
    color: var(--teal);
}

.languages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.language-card {
    background-color: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.language-card p {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 600;
    margin: 0;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--white);
    padding: 6rem 0;
}

.philosophy-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.philosophy-text {
    flex: 1;
}

.quote {
    background-color: var(--light-bg);
    border-left: 4px solid var(--teal);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}

.quote i {
    font-size: 2rem;
    color: var(--teal);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
}

.quote p {
    font-style: italic;
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    flex: 1;
}

.stat-item {
    background-color: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

/* Skills Section */
.skills {
    background-color: var(--light-bg);
    padding: 6rem 0;
}

.skills-container {
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.skill-info span:last-child {
    color: var(--teal);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

/* Experience Section */
.experience {
    background-color: var(--white);
    padding: 6rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--light-bg);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--light-bg);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--teal);
    font-size: 1.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--teal);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
    background-color: var(--light-bg);
    padding: 6rem 0;
}

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

.review-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.stars {
    color: #ffc107;
    margin: 0.5rem 0;
}

.review-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.6;
}

.rating-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.overall-rating {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--light-gray);
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-details {
    flex: 2;
    min-width: 300px;
    padding: 1.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.rating-bar span:first-child {
    width: 80px;
    text-align: right;
    margin-right: 1rem;
    color: var(--gray);
}

.rating-bar .bar {
    flex: 1;
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin: 0 1rem;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    border-radius: 4px;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: left;
    color: var(--gray);
}

/* Contact Section */
.contact {
    background-color: var(--white);
    padding: 6rem 0;
}

.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--teal);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray);
}

.contact-info i {
    /* color: var(--teal); */
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--teal);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--teal);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    color: var(--teal);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.footer-logo p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--orange));
}

.footer-links a {
    display: block;
    color: var(--gray);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray);
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--teal);
    color: white;
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Tablet and Mobile Navigation */
@media (max-width: 1024px) {
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Mobile Navigation - Fresh Implementation */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    [data-theme="dark"] .nav-links {
        background: rgba(30, 30, 30, 0.95);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links a {
        margin: 1rem 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-dark);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(6) { transition-delay: 0.35s; }
    
    .nav-links .theme-toggle {
        margin-top: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active .theme-toggle {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.4s;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 6rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-img {
        max-height: 400px;
    }
    
    .about-content,
    .philosophy-content,
    .contact-container {
        flex-direction: column;
    }
    
    .about-video,
    .about-text,
    .philosophy-text,
    .stats,
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
        border-right: 10px solid var(--light-bg);
        border-left: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        min-height: 70vh;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-img {
        max-height: 300px;
        border-radius: 15px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .video-container {
        padding-bottom: 60%; /* Slightly taller on mobile for better viewing */
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .rating-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .overall-rating {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        gap: 1rem;
        min-height: 60vh;
    }
    
    .hero-img {
        max-height: 250px;
        border-radius: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .video-container {
        padding-bottom: 65%; /* Even taller on small mobile for better viewing */
    }
    
    .languages {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
